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

Disassembly:
sub esp, 0x7c
push esi
mov esi, eax
cmp dword [0x75c0ac], 0xffff0101
jb 0x529b69
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
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 2
push 7
push 0
push eax
call dword [ecx + 0x114]
fld dword [esi + 4]
fsub dword [0x75c148]
lea ecx, [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esi + 8]
fsub dword [0x75c14c]
fstp dword [esp + 0x18]
fld dword [esi + 0xc]
fsub dword [0x75c150]
fstp dword [esp + 0x1c]
call fcn.00401990
fstp st(0)
fld dword [esp + 0x1c]
fmul dword [0x75c15c]
fld dword [esp + 0x18]
fmul dword [0x75c158]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [0x75c154]
faddp st(1)
fld qword [0x612718]
fcos
fxch st(1)
fsub st(1)
fld dword [0x612224]
fsub st(2)
fdivp st(1)
fstp st(1)
fcom dword [0x612220]
fnstsw ax
test ah, 5
jp 0x52904f
fstp st(0)
mov dword [esp + 8], 0
jmp 0x52906c
fcom dword [0x612224]
fnstsw ax
test ah, 0x41
jne 0x529068
fstp st(0)
mov dword [esp + 8], 0x3f800000
jmp 0x52906c
fstp dword [esp + 8]
mov ax, word [0x75c17a]
sub ax, word [0x75c176]
mov ecx, dword [0x75c178]
movsx edx, ax
mov dword [esp + 4], edx
push edi
mov edi, dword [0x75c174]
fild dword [esp + 8]
sub ecx, edi
movsx eax, cx
fdivr dword [0x612224]
mov dword [esp + 8], eax
mov eax, dword [0x6b8344]
push 5
lea edx, [esp + 0x38]
push edx
push 0xd
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x3f800000
push eax
fld st(0)
fadd st(1)
fstp dword [esp + 0x44]
fld dword [0x612308]
fsub st(1)
fstp dword [esp + 0x50]
fstp st(0)
fild dword [esp + 0x18]
fdivr dword [0x612224]
fld dword [0x612310]
fmul st(1)
fstp dword [esp + 0x58]
fadd dword [0x612224]
fstp dword [esp + 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x178]
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x24]
call fcn.00516e30
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
fld dword [eax + 0x10]
mov dword [esp + 0x18], ecx
fld dword [esp + 0x18]
mov eax, dword [eax + 0x10]
fmul st(1)
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x10]
push ecx
fadd dword [esi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
fstp dword [esp + 0x30]
lea ecx, [esp + 0x30]
fld dword [esp + 0x28]
fmul st(1)
fadd dword [esi + 8]
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
fmul st(1)
fadd dword [esi + 0xc]
fstp dword [esp + 0x38]
fstp st(0)
push ecx
call fcn.005285c0
add esp, 0x10
test al, al
je 0x529b52
fld dword [esp + 0x18]
sub esp, 8
fadd dword [0x61221c]
fstp qword [esp]
call fcn.005c8f50
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fadd dword [0x61221c]
fstp qword [esp]
call fcn.005c8f50
fld dword [esp + 0x20]
mov eax, dword [0x6b8344]
fsub dword [0x612930]
mov edx, dword [eax]
add esp, 8
push 3
fstp dword [esp + 0x28]
push 1
fld dword [0x612930]
push 1
fsubr st(1)
push eax
fstp dword [esp + 0x3c]
fld dword [esp + 0x28]
fadd dword [0x612930]
fstp dword [esp + 0x38]
fadd dword [0x612930]
fstp dword [esp + 0x40]
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 3
push 2
push 1
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 5
push 1
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 6
push 1
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 7
push 1
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 3
push 1
push 2
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 3
push 2
push 2
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 5
push 2
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 6
push 2
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 7
push 2
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 3
push 1
push 3
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 3
push 2
push 3
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 5
push 3
push eax
call dword [edx + 0x114]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 6
push 3
push eax
call dword [ecx + 0x114]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 7
push 3
push eax
call dword [edx + 0x114]
mov edx, dword [0x67c9d0]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x15c]
mov dl, byte [0x637d48]
mov esi, dword [0x67c9d8]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
neg dl
sbb edx, edx
and edx, 0x10
or edx, esi
and edx, 0x10
push edx
push eax
call dword [ecx + 0x134]
mov edx, dword [0x639318]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x170]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x1ac]
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 8
push 0xa8
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 0
push 0x1b
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 edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [0x67c588], edx
mov edx, eax
mov dword [0x67c58c], eax
mov eax, ecx
mov dword [0x67c5a0], ecx
mov ecx, dword [esp + 0x30]
mov dword [0x67c5b8], eax
mov eax, ecx
mov dword [0x67c5a4], edx
mov edx, dword [esp + 0x24]
push 0
mov dword [0x67c5d4], eax
mov eax, dword [0x6b8344]
push 0x3c
mov dword [0x67c5bc], ecx
mov dword [0x67c5d0], edx
mov dword [0x67c5d8], 0
mov dword [0x67c5c0], 0
mov dword [0x67c5a8], 0
mov dword [0x67c590], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 1
push 1
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 3
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]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 0x18
push 0x67c588
push 2
push 6
push eax
call dword [ecx + 0x14c]
mov edx, dword [0x6b8334]
mov eax, dword [edx + 0x6c]
push 0
push 0
call fcn.0051c120
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
add esp, 8
push 3
push 0x16
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 8
push 0xa8
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 0
push 0x1b
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 1
push 7
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 4
push 0x17
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 0
push 0xe
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 [esp + 0x24]
mov edx, dword [esp + 0x2c]
or ecx, 0xffffffff
mov dword [0x67c588], eax
mov eax, dword [esp + 0x20]
mov dword [0x67c594], ecx
mov dword [0x67c598], 0
mov dword [0x67c59c], 0
mov dword [0x67c58c], edx
mov edx, dword [esp + 0x28]
mov dword [0x67c590], eax
mov eax, dword [esp + 0x2c]
mov dword [0x67c5a0], edx
mov edx, dword [esp + 0x20]
mov dword [0x67c5a4], eax
mov eax, dword [esp + 0x28]
mov dword [0x67c5a8], edx
mov edx, dword [esp + 0x30]
mov dword [0x67c5b8], eax
mov eax, dword [esp + 0x20]
mov dword [0x67c5bc], edx
mov edx, dword [esp + 0x24]
mov dword [0x67c5c0], eax
mov eax, dword [esp + 0x30]
mov dword [0x67c5d0], edx
mov edx, dword [esp + 0x20]
push ecx
mov dword [0x67c5d4], eax
mov eax, dword [0x6b8344]
push 0x3c
mov dword [0x67c5ac], ecx
mov dword [0x67c5b0], 0x3f800000
mov dword [0x67c5b4], 0
mov dword [0x67c5c4], ecx
mov dword [0x67c5c8], 0x3f800000
mov dword [0x67c5cc], 0x3f800000
mov dword [0x67c5dc], ecx
mov dword [0x67c5e0], 0
mov dword [0x67c5e4], 0x3f800000
mov dword [0x67c5d8], edx
mov edx, dword [eax]
push eax
call dword [edx + 0xe4]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
push 1
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 0x22
push 2
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 6
push 4
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
push 5
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 3
push 6
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, dword [0x6b8344]
mov edx, dword [eax]
push 0x18
push 0x67c588
push 2
push 6
push eax
call dword [edx + 0x14c]
xor eax, eax
cmp eax, 0x638f98
je 0x529b52
mov eax, dword [0x638f98]
test eax, eax
je 0x529b52
push 6
lea esi, [esp + 0x28]
call fcn.005287b0
push 7
call fcn.005287b0
push 4
push 7
push 6
call fcn.00528bc0
mov ecx, dword [0x75c178]
sub ecx, dword [0x75c174]
add esp, 0x14
push 5
mov esi, eax
mov ax, word [0x75c17a]
sub ax, word [0x75c176]
mov dword [esp + 0x3c], 0
movsx edx, ax
mov dword [esp + 0xc], edx
movsx eax, cx
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [0x6b8344]
fdivr dword [0x612224]
lea edx, [esp + 0x38]
push edx
push 0xd
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0x3f000000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x80], 0x3f800000
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x3f800000
push eax
fld st(0)
fadd st(1)
fstp dword [esp + 0x44]
fld dword [0x612308]
fsub st(1)
fstp dword [esp + 0x50]
fstp st(0)
fild dword [esp + 0x18]
fdivr dword [0x612224]
fld dword [0x612310]
fmul st(1)
fstp dword [esp + 0x58]
fadd dword [0x612224]
fstp dword [esp + 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x178]
mov edx, dword [0x67c9d0]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x15c]
mov dl, byte [0x637d48]
mov edi, dword [0x67c9d8]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
neg dl
sbb edx, edx
and edx, 0x10
or edx, edi
and edx, 0x10
push edx
push eax
call dword [ecx + 0x134]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
mov edx, dword [0x639318]
push edx
push eax
call dword [ecx + 0x170]
mov edx, dword [0x638f98]
mov edx, dword [edx + 0x84]
mov edx, dword [edx + 0x80]
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1ac]
mov eax, esi
xor edx, edx
call fcn.00530020
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
push 2
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 5
push 0x13
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push 2
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]
xor eax, eax
mov dword [esp + 8], eax
mov esi, 0x10
jmp 0x529a10
fild dword [esp + 8]
lea edi, [eax + 1]
mov dword [esp + 0x10], edi
fmul dword [0x612304]
fmul dword [0x6128e8]
fsub dword [0x612388]
fstp dword [esp + 8]
fild dword [esp + 0x10]
fdivr dword [esp + 0xc]
fmul dword [0x6122c0]
call fcn.005de054
fld dword [esp + 0x24]
fsub dword [esp + 8]
push 0x18
shl eax, 0x18
or eax, 0xffffff
fst dword [0x67c588]
push 0x67c588
fld dword [esp + 0x34]
push 2
fsub dword [esp + 0x14]
mov dword [0x67c594], eax
mov dword [0x67c5ac], eax
mov dword [0x67c5c4], eax
fst dword [0x67c58c]
mov dword [0x67c5dc], eax
fld dword [esp + 0x14]
mov eax, dword [0x6b8344]
fadd dword [esp + 0x34]
push 6
mov dword [0x67c598], 0
mov dword [0x67c59c], 0
fst dword [0x67c5a0]
mov dword [0x67c5b0], 0x3f800000
fxch st(1)
mov dword [0x67c5b4], 0
fstp dword [0x67c5a4]
mov dword [0x67c5c8], 0x3f800000
mov dword [0x67c5cc], 0x3f800000
fstp dword [0x67c5b8]
mov dword [0x67c5e0], 0
fld dword [esp + 0x18]
mov dword [0x67c5e4], 0x3f800000
fadd dword [esp + 0x40]
mov dword [0x67c5d8], 0
mov dword [0x67c5c0], 0
mov dword [0x67c5a8], 0
fst dword [0x67c5bc]
mov dword [0x67c590], 0
fxch st(1)
push eax
fstp dword [0x67c5d0]
fstp dword [0x67c5d4]
mov ecx, dword [eax]
call dword [ecx + 0x14c]
dec esi
mov eax, edi
mov dword [esp + 8], eax
jne 0x529a10
movzx ecx, byte [0x637d48]
mov eax, dword [0x6b8344]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x134]
pop edi
pop esi
add esp, 0x7c
ret