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

Disassembly:
sub esp, 0x80
push esi
mov esi, eax
cmp dword [0x7c0d2c], 0xffff0101
jb 0x526864
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 3
push 1
push 0
push eax
call dword [ecx + 0x114]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 3
push 2
push 0
push eax
call dword [edx + 0x114]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 2
push 5
push 0
push eax
call dword [ecx + 0x114]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 2
push 6
push 0
push eax
call dword [edx + 0x114]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 2
push 7
push 0
push eax
call dword [ecx + 0x114]
fld dword [esi + 4]
fsub dword [0x7c0dc8]
lea ecx, [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esi + 8]
fsub dword [0x7c0dcc]
fstp dword [esp + 0x1c]
fld dword [esi + 0xc]
fsub dword [0x7c0dd0]
fstp dword [esp + 0x20]
call fcn.00401990
fstp st(0)
fld dword [esp + 0x20]
fmul dword [0x7c0ddc]
fld dword [esp + 0x1c]
fmul dword [0x7c0dd8]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [0x7c0dd4]
faddp st(1)
fld qword [0x672ff0]
fcos
fxch st(1)
fsub st(1)
fld dword [0x672afc]
fsub st(2)
fdivp st(1)
fstp st(1)
fcom dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x525d22
fstp st(0)
mov dword [esp + 8], 0
jmp 0x525d3f
fcom dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x525d3b
fstp st(0)
mov dword [esp + 8], 0x3f800000
jmp 0x525d3f
fstp dword [esp + 8]
mov ax, word [0x7c0dfa]
sub ax, word [0x7c0df6]
mov edx, dword [0x7c0df4]
mov ecx, dword [0x7c0df8]
sub ecx, edx
movsx edx, ax
mov dword [esp + 0xc], edx
movsx eax, cx
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
fdivr dword [0x672afc]
mov eax, dword [0x71d09c]
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 [0x672be0]
fsub st(1)
fstp dword [esp + 0x50]
fstp st(0)
fild dword [esp + 0x1c]
fdivr dword [0x672afc]
fld dword [0x672be8]
fmul st(1)
fstp dword [esp + 0x58]
fadd dword [0x672afc]
fstp dword [esp + 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x178]
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x24]
call fcn.005135a0
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]
push ecx
fmul st(1)
fadd dword [esi + 8]
fstp dword [esp + 0x38]
fld dword [esp + 0x30]
fmul st(1)
fadd dword [esi + 0xc]
fstp dword [esp + 0x3c]
fstp st(0)
call fcn.005252a0
add esp, 0x10
test al, al
je 0x52684e
fld dword [esp + 0x18]
push ebx
fadd dword [0x672af4]
sub esp, 8
fstp qword [esp]
call fcn.00624090
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [0x672af4]
fstp qword [esp]
call fcn.00624090
fld dword [esp + 0x24]
mov eax, dword [0x71d09c]
fsub dword [0x673208]
mov edx, dword [eax]
add esp, 8
push 3
fstp dword [esp + 0x2c]
push 1
fld dword [0x673208]
push 1
fsubr st(1)
push eax
fstp dword [esp + 0x40]
fld dword [esp + 0x2c]
fadd dword [0x673208]
fstp dword [esp + 0x3c]
fadd dword [0x673208]
fstp dword [esp + 0x44]
call dword [edx + 0x114]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 3
push 2
push 1
push eax
call dword [ecx + 0x114]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 2
push 5
push 1
push eax
call dword [edx + 0x114]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 2
push 6
push 1
push eax
call dword [ecx + 0x114]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 2
push 7
push 1
push eax
call dword [edx + 0x114]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 3
push 1
push 2
push eax
call dword [ecx + 0x114]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 3
push 2
push 2
push eax
call dword [edx + 0x114]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 2
push 5
push 2
push eax
call dword [ecx + 0x114]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 2
push 6
push 2
push eax
call dword [edx + 0x114]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 2
push 7
push 2
push eax
call dword [ecx + 0x114]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 3
push 1
push 3
push eax
call dword [edx + 0x114]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 3
push 2
push 3
push eax
call dword [ecx + 0x114]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 2
push 5
push 3
push eax
call dword [edx + 0x114]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 2
push 6
push 3
push eax
call dword [ecx + 0x114]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 2
push 7
push 3
push eax
call dword [edx + 0x114]
mov edx, dword [0x6e1a00]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x15c]
mov dl, byte [0x69c690]
mov ebx, dword [0x6e1a08]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
neg dl
sbb edx, edx
and edx, 0x10
or edx, ebx
and edx, 0x10
push edx
push eax
call dword [ecx + 0x134]
mov edx, dword [0x69e420]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x170]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x1ac]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 3
push 0x16
push eax
call dword [edx + 0xe4]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 8
push 0xa8
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 0
push 0x1b
push eax
call dword [edx + 0xe4]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 0
push 0xf
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 0
push 7
push eax
call dword [edx + 0xe4]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 0
push 0x1c
push eax
call dword [ecx + 0xe4]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0x6e1648], edx
mov edx, eax
mov dword [0x6e164c], eax
mov eax, ecx
mov dword [0x6e1660], ecx
mov ecx, dword [esp + 0x34]
mov dword [0x6e1678], eax
mov eax, ecx
mov dword [0x6e1664], edx
mov edx, dword [esp + 0x28]
push 0
mov dword [0x6e1694], eax
mov eax, dword [0x71d09c]
push 0x3c
mov dword [0x6e167c], ecx
mov dword [0x6e1690], edx
mov dword [0x6e1698], 0
mov dword [0x6e1680], 0
mov dword [0x6e1668], 0
mov dword [0x6e1650], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 1
push 1
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 2
push 4
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 3
push 5
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 1
push 1
push 1
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 1
push 4
push 1
push eax
call dword [edx + 0x10c]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 0x18
push 0x6e1648
push 2
push 6
push eax
call dword [ecx + 0x14c]
mov edx, dword [0x71d08c]
mov eax, dword [edx + 0x6c]
push 0
push 0
call fcn.00518920
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
add esp, 8
push 3
push 0x16
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 8
push 0xa8
push eax
call dword [edx + 0xe4]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 0
push 0x1b
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 0
push 0xf
push eax
call dword [edx + 0xe4]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 1
push 7
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 4
push 0x17
push eax
call dword [edx + 0xe4]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 0
push 0xe
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 0
push 0x1c
push eax
call dword [edx + 0xe4]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov dword [0x6e1654], ecx
mov dword [0x6e1658], 0
mov dword [0x6e165c], 0
mov dword [0x6e1648], eax
mov dword [0x6e164c], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [0x6e1650], eax
mov eax, dword [esp + 0x30]
mov dword [0x6e1660], edx
mov edx, dword [esp + 0x24]
mov dword [0x6e1664], eax
mov eax, dword [esp + 0x2c]
mov dword [0x6e1668], edx
mov edx, dword [esp + 0x34]
mov dword [0x6e1678], eax
mov eax, dword [esp + 0x24]
mov dword [0x6e167c], edx
mov edx, dword [esp + 0x28]
mov dword [0x6e1680], eax
mov eax, dword [esp + 0x34]
mov dword [0x6e1690], edx
mov edx, dword [esp + 0x24]
push ecx
mov dword [0x6e1694], eax
mov eax, dword [0x71d09c]
push 0x3c
mov dword [0x6e166c], ecx
mov dword [0x6e1670], 0x3f800000
mov dword [0x6e1674], 0
mov dword [0x6e1684], ecx
mov dword [0x6e1688], 0x3f800000
mov dword [0x6e168c], 0x3f800000
mov dword [0x6e169c], ecx
mov dword [0x6e16a0], 0
mov dword [0x6e16a4], 0x3f800000
mov dword [0x6e1698], edx
mov edx, dword [eax]
push eax
call dword [edx + 0xe4]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 2
push 1
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 0x22
push 2
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 6
push 4
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 2
push 5
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 3
push 6
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 1
push 1
push 1
push eax
call dword [edx + 0x10c]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 1
push 4
push 1
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 0x18
push 0x6e1648
push 2
push 6
push eax
call dword [edx + 0x14c]
xor eax, eax
cmp eax, 0x69ddc0
je 0x52684d
mov eax, dword [0x69ddc0]
test eax, eax
je 0x52684d
push edi
push 6
lea esi, [esp + 0x30]
call fcn.00525490
push 7
call fcn.00525490
push 4
push 7
push 6
call fcn.00525890
mov edx, dword [0x7c0df4]
mov ecx, dword [0x7c0df8]
sub ecx, edx
add esp, 0x14
push 5
mov esi, eax
mov ax, word [0x7c0dfa]
sub ax, word [0x7c0df6]
mov dword [esp + 0x44], 0
movsx edx, ax
mov dword [esp + 0x10], edx
movsx eax, cx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [0x71d09c]
fdivr dword [0x672afc]
lea edx, [esp + 0x40]
push edx
push 0xd
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x3f000000
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0x88], 0x3f800000
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x3f800000
push eax
fld st(0)
fadd st(1)
fstp dword [esp + 0x4c]
fld dword [0x672be0]
fsub st(1)
fstp dword [esp + 0x58]
fstp st(0)
fild dword [esp + 0x1c]
fdivr dword [0x672afc]
fld dword [0x672be8]
fmul st(1)
fstp dword [esp + 0x60]
fadd dword [0x672afc]
fstp dword [esp + 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x178]
mov edx, dword [0x6e1a00]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x15c]
mov dl, byte [0x69c690]
mov edi, dword [0x6e1a08]
mov eax, dword [0x71d09c]
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 [0x71d09c]
mov ecx, dword [eax]
mov edx, dword [0x69e420]
push edx
push eax
call dword [ecx + 0x170]
mov eax, esi
xor edx, edx
call fcn.0052cf40
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 2
push 7
push 0
push eax
call dword [ecx + 0x114]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 3
push 0x16
push eax
call dword [edx + 0xe4]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 7
push 0xa8
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 1
push 0x1b
push eax
call dword [edx + 0xe4]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 5
push 0x13
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 2
push 0x14
push eax
call dword [edx + 0xe4]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 1
push 0xab
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 0
push 0xf
push eax
call dword [edx + 0xe4]
mov eax, dword [0x71d09c]
mov ecx, dword [eax]
push 0
push 7
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 0
push 0x1c
push eax
call dword [edx + 0xe4]
xor eax, eax
mov dword [esp + 0xc], eax
mov edi, 0x10
fild dword [esp + 0xc]
lea ebx, [eax + 1]
mov dword [esp + 0x18], ebx
fmul dword [0x672bdc]
fmul dword [0x6731c0]
fsub dword [0x672c60]
fstp dword [esp + 0xc]
fild dword [esp + 0x18]
fdivr dword [esp + 0x10]
fmul dword [0x672b98]
call fcn.006392c4
fld dword [esp + 0x2c]
fsub dword [esp + 0xc]
shl eax, 0x18
or eax, 0xffffff
push 3
fst dword [0x6e1648]
mov dword [0x6e1654], eax
fld dword [esp + 0x38]
mov dword [0x6e166c], eax
fsub dword [esp + 0x10]
mov dword [0x6e1684], eax
mov dword [0x6e169c], eax
mov eax, dword [0x69ddc0]
fst dword [0x6e164c]
lea edx, [esp + 0x18]
fld dword [esp + 0x10]
push edx
fadd dword [esp + 0x38]
mov dword [0x6e1658], 0
mov dword [0x6e165c], 0
mov dword [0x6e1670], 0x3f800000
fst dword [0x6e1660]
mov dword [0x6e1674], 0
fxch st(1)
mov dword [0x6e1688], 0x3f800000
fstp dword [0x6e1664]
mov dword [0x6e168c], 0x3f800000
mov dword [0x6e16a0], 0
fstp dword [0x6e1678]
mov dword [0x6e16a4], 0x3f800000
fld dword [esp + 0x14]
mov dword [0x6e1698], 0
fadd dword [esp + 0x40]
mov dword [0x6e1680], 0
mov dword [0x6e1668], 0
mov dword [0x6e1650], 0
fst dword [0x6e167c]
push eax
fxch st(1)
fstp dword [0x6e1690]
fstp dword [0x6e1694]
mov ecx, dword [eax]
call dword [ecx + 0x100]
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jbe 0x526831
lea ecx, [ecx]
mov eax, dword [0x69ddc0]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x104]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push 0x18
push 0x6e1648
push 2
push 6
push eax
call dword [edx + 0x14c]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jb 0x526800
mov eax, dword [0x69ddc0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x108]
dec edi
mov eax, ebx
mov dword [esp + 0xc], eax
jne 0x5266c2
pop edi
pop ebx
movzx ecx, byte [0x69c690]
mov eax, dword [0x71d09c]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x134]
pop esi
add esp, 0x80
ret