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

Disassembly:
sub esp, 0xb4
push esi
push edi
mov edi, dword [0x6e21a0]
mov edx, dword [edi + 0x140]
test edx, edx
je 0x52ee90
mov eax, dword [edi + 0x144]
jmp 0x52ee92
xor eax, eax
mov eax, dword [eax + 0x7c]
mov ecx, dword [0x816d04]
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + ecx + 0x14]
xor esi, esi
test eax, eax
je 0x52eeb9
push ebp
mov ebp, dword [eax + 0x60]
test ebp, ebp
pop ebp
jle 0x52eeb9
mov esi, dword [eax + 0x64]
test edx, edx
je 0x52eec5
mov eax, dword [edi + 0x144]
jmp 0x52eec7
xor eax, eax
mov edx, dword [eax + 0x8c]
and edx, 0xffff
shl edx, 5
mov eax, dword [edx + ecx + 0x14]
xor edi, edi
test eax, eax
je 0x52eeea
mov ecx, dword [eax + 0x60]
test ecx, ecx
jle 0x52eeea
mov edi, dword [eax + 0x64]
mov al, byte [0x6249e3]
test al, al
je 0x52f6c4
mov al, byte [0x6b83d5]
test al, al
je 0x52f6a1
push 1
push 0
mov eax, esi
call fcn.00445080
add esp, 8
test eax, eax
je 0x52f6a1
push 1
push 0
mov eax, edi
call fcn.00445080
add esp, 8
test eax, eax
je 0x52f6a1
push 0
call fcn.0051c0e0
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
add esp, 4
push 3
push 1
push 0
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 3
push 2
push 0
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 5
push 0
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 6
push 0
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 0
push 7
push 0
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 3
push 0x16
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 7
push 0xa8
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 1
push 0x1b
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 0x13
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 5
push 0x14
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 1
push 0xab
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 0
push 0xf
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 0
push 7
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 0
push 0x1c
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 5
push 0x5fc740
push 0xd
push eax
call dword [ecx + 0x178]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 4
push 1
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 2
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 0
push 3
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 4
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 0
push 5
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 1
push 1
push 1
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 1
push 4
push 1
push eax
call dword [edx + 0x10c]
fld dword [esp + 0xc0]
fcomp dword [0x612934]
fnstsw ax
test ah, 0x41
jp 0x52f1d0
fld dword [esp + 0xc0]
push 0x18
fmul dword [0x61221c]
mov eax, 0xff74b9ff
lea edx, [esp + 0x10]
push edx
fst dword [esp + 0x10]
push 2
fadd dword [0x61221c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
fst dword [esp + 0x28]
mov dword [esp + 0x6c], eax
fld dword [0x61221c]
mov eax, dword [0x6b8344]
fsub dword [esp + 0x14]
push 6
mov dword [esp + 0x1c], 0xbf820000
mov dword [esp + 0x20], 0x3f860000
fst dword [esp + 0x30]
mov dword [esp + 0x34], 0x3f860000
fst dword [esp + 0x44]
mov dword [esp + 0x38], 0x3f860000
fst dword [esp + 0x48]
mov dword [esp + 0x4c], 0x3f860000
fstp dword [esp + 0x5c]
mov dword [esp + 0x50], 0xbf820000
mov dword [esp + 0x64], 0xbf820000
fst dword [esp + 0x60]
mov dword [esp + 0x68], 0xbf820000
fst dword [esp + 0x74]
mov dword [esp + 0x6c], 0
fstp dword [esp + 0x78]
mov dword [esp + 0x54], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 1
push 7
push 0
push eax
call dword [ecx + 0x114]
push 0
mov esi, edi
call fcn.0051c0e0
mov eax, dword [0x6b8344]
mov edx, dword [eax]
add esp, 4
push 1
push 0x1b
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 1
push 0x13
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 5
push 0x14
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 0
push 0x1c
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 1
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 2
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 4
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 5
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 1
push 1
push 1
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 1
push 4
push 1
push eax
call dword [ecx + 0x10c]
mov eax, 0xff66cc66
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x20], 0
push 0x18
lea ecx, [esp + 0x10]
push ecx
push 2
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], eax
mov eax, dword [0x6b8344]
push 6
mov dword [esp + 0x1c], 0xbf820000
mov dword [esp + 0x20], 0x3f860000
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x34], 0x3f860000
mov dword [esp + 0x38], 0x3f860000
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f860000
mov dword [esp + 0x50], 0xbf820000
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x64], 0xbf820000
mov dword [esp + 0x68], 0xbf820000
mov dword [esp + 0x6c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0
mov edx, dword [eax]
push eax
call dword [edx + 0x14c]
mov eax, dword [0x75c140]
push 0
push 0
call fcn.0052ff10
mov ecx, dword [0x638a94]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
add esp, 8
push ecx
push 0
push eax
call dword [edx + 0x104]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 3
push 1
push 0
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 3
push 2
push 0
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 5
push 0
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 6
push 0
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 1
push 7
push 0
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 3
push 0x16
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 7
push 0xa8
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 1
push 0x1b
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 0x13
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 0x14
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 1
push 0xab
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 0
push 0xf
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 0
push 7
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 0
push 0x1c
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
push 5
lea ecx, [esp + 0x70]
push ecx
push 0xd
mov dword [esp + 0x78], 0x3b4ccccd
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xbf803333
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0xbb888889
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x3f804444
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0x3f000000
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0x3f800000
mov dword [esp + 0xb8], 0x3f800000
mov dword [esp + 0xbc], 0x3f800000
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0x3f800000
mov edx, dword [eax]
push eax
call dword [edx + 0x178]
mov edx, dword [0x8154d8]
cmp word [edx + 0xc], 1
jle 0x52f5b4
fld dword [0x612930]
jmp 0x52f5ba
fld dword [0x61292c]
fld dword [ebx]
or eax, 0xffffffff
fsub st(1)
push 0x18
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
fst dword [esp + 0x10]
mov dword [esp + 0x4c], eax
fld dword [ebx + 4]
mov dword [esp + 0x64], eax
fsub st(2)
lea edx, [esp + 0x10]
push edx
push 2
fst dword [esp + 0x1c]
push 6
fld st(2)
mov dword [esp + 0x2c], 0
fadd dword [ebx]
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x48], 0
fst dword [esp + 0x34]
mov dword [esp + 0x5c], 0x3f800000
fxch st(1)
mov dword [esp + 0x60], 0x3f800000
fstp dword [esp + 0x38]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0x3f800000
fstp dword [esp + 0x4c]
mov dword [esp + 0x6c], 0
fxch st(1)
mov dword [esp + 0x54], 0
fadd dword [ebx + 4]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fstp dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [0x6b8344]
fstp dword [esp + 0x64]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14c]
movzx edx, byte [0x637d48]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x134]
pop edi
pop esi
add esp, 0xb4
ret
mov al, byte [0x6249e3]
test al, al
je 0x52f6c4
mov al, byte [0x6b83d5]
test al, al
je 0x52f6c4
mov eax, dword [0x75c140]
push 0
push 0
call fcn.0052ff10
add esp, 8
pop edi
pop esi
add esp, 0xb4
ret