Function at 0x529e70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
push edi
mov dword [esp + 0x10], esi
je 0x52a1e4
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + eax*4]
mov edi, dword [esp + 0x54]
cmp dword [edx + 0x1288], edi
je 0x52a1e4
push edi
mov ecx, esi
call fcn.00528740
mov ebx, eax
test ebx, ebx
je 0x52a1e4
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x529f22
push edi
call dword [0x8bd314]
add esp, 4
sub eax, 0
je 0x529f05
dec eax
je 0x529efd
dec eax
jne 0x529f22
movzx eax, byte [ebx + 0x13f0]
mov ecx, dword [ebx + 0xc]
push eax
push ecx
call fcn.00578fb0
mov eax, dword [ebx + 0x13c4]
add esp, 8
test eax, 0x2000000
je 0x529f22
mov eax, 0x36
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
jmp 0x529f22
mov edx, dword [ebx + 0xc]
push 3
push edx
jmp 0x529f1a
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x529f14
mov eax, dword [ebx + 0xc]
push 1
push eax
jmp 0x529f1a
mov ecx, dword [ebx + 0xc]
push 0
push ecx
call fcn.00578fb0
add esp, 8
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
mov ebp, dword [ecx]
mov eax, dword [esp + 0x5c]
mov si, word [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x70]
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], ecx
mov word [esp + 0x4e], si
mov word [esp + 0x4c], si
mov dword [esp + 0x50], edx
call dword [0x8bd314]
add esp, 4
cmp eax, 2
jne 0x52a17a
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x52a035
lea edx, [ecx + 0x1c]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x20], edx
call fcn.00404b50
movzx ecx, byte [ebx + 0x13f0]
mov edx, dword [ebx + 0xc]
push ecx
push edx
call fcn.00578fb0
add esp, 8
sub esp, 0x24
mov edi, esp
mov ecx, 9
lea esi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x1438]
call fcn.00529a00
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x18]
mov ebx, 1
cmp eax, ebx
jle 0x52a1e4
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + ebx*4]
lea eax, [edx + ebx*4]
mov edx, dword [ecx + 0x143c]
xor esi, esi
test edx, edx
jle 0x52a1d8
xor edi, edi
mov eax, dword [eax]
mov edx, dword [eax + 0x1438]
lea ecx, [eax + 0x1438]
cmp dword [edi + edx], 0x64
jbe 0x52a1bf
push esi
call fcn.00527960
jmp 0x52a1c3
fld dword [esp + 0x60]
fchs
fsub dword [0x64ff20]
fstp dword [esp + 0x6c]
mov ebp, dword [esp + 0x6c]
push ebp
call fcn.00418130
fstp dword [esp + 0x18]
push ebp
call fcn.00418150
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
test eax, eax
fmul dword [esp + 0x70]
fstp dword [esp + 0x1c]
fld dword [esp + 0x70]
fmul dword [0x64fe74]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x70]
fstp dword [esp + 0x24]
fild dword [esp + 0x78]
jge 0x52a095
fadd dword [0x64fe80]
fstp dword [esp + 0x74]
movzx ecx, si
fld dword [esp + 0x74]
lea edx, [esp + 0x1c]
fmul dword [esp + 0x1c]
push edx
lea eax, [esp + 0x44]
push eax
fstp dword [esp + 0x24]
fld dword [esp + 0x7c]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x7c]
mov dword [esp + 0x7c], ecx
fmul dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ecx
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fmul dword [0x64fc90]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul dword [0x64fc90]
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul dword [0x64fc90]
fstp dword [esp + 0x30]
fild dword [esp + 0x80]
fstp dword [esp + 0x80]
fld dword [esp + 0x80]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x80]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x80]
fmul dword [esp + 0x30]
fstp dword [esp + 0x30]
call fcn.0044cdb0
mov ecx, dword [eax]
lea edx, [ebx + 0x1278]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x6c]
mov dword [edx + 8], eax
mov edx, dword [esp + 0x70]
add esp, 0x14
mov dword [ebx + 0x1284], edi
mov dword [ebx + 0x156c], ecx
mov dword [ebx + 0x1568], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x20
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x529fc8
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea eax, [ebx + 0x1278]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x1284], edi
mov dword [ebx + 0x156c], eax
mov dword [ebx + 0x1568], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x20
inc esi
add edi, 0x24
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + ebx*4]
cmp esi, dword [ecx + 0x143c]
lea eax, [eax + ebx*4]
jl 0x52a012
mov eax, dword [ebp + 0x18]
inc ebx
cmp ebx, eax
jl 0x529ff7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x20