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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00415540
mov eax, dword [esi + 0x14]
xor ebp, ebp
xor bl, bl
cmp eax, ebp
mov dword [esp + 0x58], 0
mov byte [esi + 0x2a], bl
je 0x52b75c
add eax, 0x30
jmp 0x52b75f
lea eax, [esi + 4]
mov edx, dword [eax]
lea ecx, [esi + 0x848]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
cmp byte [esi + 0x2b], 1
je 0x52b78a
cmp byte [esi + 0x34], 1
je 0x52b78a
cmp dword [esi + 0xb0], 2
jne 0x52b791
mov ecx, esi
call fcn.0050c360
mov eax, dword [esi + 0x958]
cmp eax, ebp
lea edi, [esi + 0x958]
jne 0x52b7b5
push 0xffffffffffffffff
call fcn.0056e210
add esp, 4
push edi
mov ecx, eax
mov dword [edi], eax
call fcn.00571b70
movzx ecx, byte [esi + 0x59]
imul ecx, ecx, 0x238
lea eax, [ecx + esi + 0x390]
cmp dword [eax], ebp
jne 0x52b7ec
mov edx, dword [edi]
mov dword [eax], edx
movzx eax, byte [esi + 0x59]
imul eax, eax, 0x238
mov ecx, dword [eax + esi + 0x390]
lea eax, [eax + esi + 0x390]
push eax
call fcn.00571b70
movzx ecx, byte [esi + 0x59]
inc ecx
and ecx, 0x80000001
jns 0x52b7fe
dec ecx
or ecx, 0xfffffffe
inc ecx
imul ecx, ecx, 0x238
lea eax, [ecx + esi + 0x390]
cmp dword [eax], ebp
jne 0x52b83e
mov edx, dword [edi]
mov dword [eax], edx
movzx eax, byte [esi + 0x59]
inc eax
and eax, 0x80000001
jns 0x52b824
dec eax
or eax, 0xfffffffe
inc eax
imul eax, eax, 0x238
mov ecx, dword [eax + esi + 0x390]
lea eax, [eax + esi + 0x390]
push eax
call fcn.00571b70
mov ecx, esi
call fcn.00527fa0
mov ecx, 0xb6f028
call fcn.005164a0
mov ecx, 0xb6f028
call fcn.00516440
mov ecx, 0xb6f028
call fcn.00516500
mov al, byte [esi + 0x51]
test al, al
je 0x52b871
mov ecx, esi
call fcn.0050b5d0
mov al, byte [esi + 0x52]
test al, al
je 0x52b87f
mov ecx, esi
call fcn.0050b6d0
mov al, byte [esi + 0x3d]
test al, al
je 0x52b88d
mov ecx, esi
call fcn.0050b890
mov ecx, dword [0xc1703c]
push 0x3e99999a
push ecx
call fcn.007ee1d0
movzx edx, byte [esi + 0x59]
imul edx, edx, 0x238
fld dword [edx + esi + 0x304]
fcomp dword [0x858b50]
fnstsw ax
lea ecx, [edx + esi]
add esp, 8
test ah, 0x44
jp 0x52b8df
fld dword [ecx + 0x308]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x44
jp 0x52b8df
mov dword [esp + 0x1c], 0
jmp 0x52b8f9
mov eax, dword [ecx + 0x308]
mov ecx, dword [ecx + 0x304]
push eax
push ecx
call fcn.0053cc70
fstp dword [esp + 0x24]
add esp, 8
movzx edx, byte [esi + 0x59]
imul edx, edx, 0x238
lea ecx, [edx + esi + 0x174]
call fcn.00526fc0
movzx eax, byte [esi + 0x59]
imul eax, eax, 0x238
fld dword [eax + esi + 0x304]
fcomp dword [0x858b50]
lea ecx, [eax + esi]
fnstsw ax
test ah, 0x44
jp 0x52b94d
fld dword [ecx + 0x308]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x44
jp 0x52b94d
mov dword [esp + 0x20], 0
jmp 0x52b967
mov edx, dword [ecx + 0x308]
mov eax, dword [ecx + 0x304]
push edx
push eax
call fcn.0053cc70
fstp dword [esp + 0x28]
add esp, 8
mov al, byte [esi + 0x58]
test al, al
je 0x52b98b
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
mov eax, dword [0xb7cb84]
add ecx, edx
cmp eax, ecx
jbe 0x52b98b
mov byte [esi + 0x58], 0
mov byte [esi + 0x4f], 0
mov byte [esi + 0x3a], 0
mov al, byte [esi + 0x31]
test al, al
je 0x52b9a7
mov edx, dword [esi + 0x138]
mov eax, dword [0xc1703c]
push edx
push eax
call fcn.007ee1d0
add esp, 8
fld dword [esp + 0x20]
fsub dword [esp + 0x1c]
fcom dword [0x858cb8]
fnstsw ax
test ah, 1
jne 0x52b9d3
lea esp, [esp]
fsub dword [0x858cbc]
fcom dword [0x858cb8]
fnstsw ax
test ah, 1
je 0x52b9c0
fcom dword [0x858cc0]
fnstsw ax
test ah, 5
jp 0x52b9f3
fadd dword [0x858cbc]
fcom dword [0x858cc0]
fnstsw ax
test ah, 5
jnp 0x52b9e0
fabs
fcomp dword [0x858c24]
fnstsw ax
test ah, 0x41
jne 0x52ba06
mov byte [esi + 0x2a], 1
movzx ecx, byte [esi + 0x59]
imul ecx, ecx, 0x238
cmp dword [ecx + esi + 0x19c], 3
je 0x52ba2b
mov edx, dword [esi + 0x958]
mov al, byte [edx + 0x36]
and al, 7
cmp al, 2
jne 0x52ba2b
mov bl, 1
mov ecx, dword [0xb7cb84]
fild dword [0xb7cb84]
test ecx, ecx
jge 0x52ba41
fadd dword [0x858c54]
fcom dword [esi + 0xc98]
fnstsw ax
test ah, 0x41
jp 0x52ba6f
fsub dword [esi + 0xc94]
push ecx
fld dword [esi + 0xc98]
mov ecx, esi
fsub dword [esi + 0xc94]
fdivp st(1)
fstp dword [esp]
call fcn.00516560
jmp 0x52ba71
fstp st(0)
mov al, byte [esi + 0x58]
test al, al
je 0x52c3d9
test bl, bl
jne 0x52c3d9
mov eax, dword [0xb7cb84]
mov edi, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
sub eax, edi
cmp eax, ecx
jb 0x52ba97
mov eax, ecx
test eax, eax
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
jge 0x52baa9
fadd dword [0x858c54]
test ecx, ecx
mov dword [esp + 0x48], ecx
fild dword [esp + 0x48]
jge 0x52babb
fadd dword [0x858c54]
fdivr st(1)
mov edx, dword [esi + 0x80]
test edx, edx
fstp dword [esp + 0x1c]
fild dword [esi + 0x80]
jge 0x52bad7
fadd dword [0x858c54]
fdivp st(1)
fcom dword [0x858b50]
fnstsw ax
test ah, 5
jp 0x52baf0
fstp st(0)
fld dword [0x858b50]
jmp 0x52bb05
fcom dword [0x858624]
fnstsw ax
test ah, 0x41
jne 0x52bb05
fstp st(0)
fld dword [0x858624]
fcom dword [esi + 0xc18]
fnstsw ax
test ah, 0x41
jp 0x52bbc6
fld dword [esi + 0xc18]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x44
jp 0x52bb33
fstp st(0)
fld dword [0x858b50]
jmp 0x52bb3f
fsubr dword [esi + 0xc18]
fdiv dword [esi + 0xc18]
fmul dword [0x858cb8]
lea eax, [esi + 0x8e4]
mov edi, eax
fcos
fmul dword [0x858b8c]
fsubr dword [0x858b8c]
fld st(0)
fmul dword [esi + 0x8c0]
fld st(1)
fmul dword [esi + 0x8c4]
fstp dword [esp + 0x50]
fxch st(1)
fmul dword [esi + 0x8c8]
fstp dword [esp + 0x54]
fadd dword [esi + 0x89c]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fld dword [esp + 0x50]
mov dword [esp + 0x4c], eax
fadd dword [esi + 0x8a0]
fstp dword [esp + 0x14]
fld dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
fadd dword [esi + 0x8a4]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [esp + 0x50], ecx
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov dword [edi + 8], edx
mov dword [esp + 0x54], edx
jmp 0x52bcd9
fcom dword [esi + 0xc18]
fnstsw ax
test ah, 0x41
jne 0x52bcd7
fld dword [esi + 0xc1c]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x44
jp 0x52bbf4
fstp st(0)
fld dword [0x858624]
jmp 0x52bc00
fsub dword [esi + 0xc18]
fdiv dword [esi + 0xc1c]
fmul dword [0x858cb8]
fcos
fmul dword [0x858b8c]
fsubr dword [0x858b8c]
fstp dword [esp + 0x20]
fld dword [esi + 0xc18]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x44
jp 0x52bc47
lea ecx, [esi + 0x89c]
mov eax, dword [ecx]
lea edx, [esi + 0x8e4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
movzx edx, byte [esi + 0x59]
imul edx, edx, 0x238
fld dword [edx + esi + 0x2bc]
fsub dword [esi + 0x8e4]
fld dword [edx + esi + 0x2c0]
fsub dword [esi + 0x8e8]
fld dword [edx + esi + 0x2c4]
fsub dword [esi + 0x8ec]
lea eax, [edx + esi + 0x2bc]
fstp dword [esp + 0x18]
fxch st(1)
fmul dword [esp + 0x20]
fstp dword [esp + 0x4c]
fmul dword [esp + 0x20]
fld dword [esp + 0x18]
fmul dword [esp + 0x20]
fld dword [esp + 0x4c]
fadd dword [esi + 0x8e4]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
fxch st(1)
mov dword [esp + 0x4c], eax
fadd dword [esi + 0x8e8]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
fadd dword [esi + 0x8ec]
mov dword [esp + 0x50], ecx
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], edx
jmp 0x52bcd9
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [esi + 0xc10]
fnstsw ax
test ah, 0x41
jp 0x52c016
fld dword [esi + 0xc10]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x44
jp 0x52bd09
fld dword [0x858b50]
jmp 0x52bd19
fld dword [esi + 0xc10]
fsub dword [esp + 0x1c]
fdiv dword [esi + 0xc10]
fmul dword [0x858cb8]
lea edi, [esi + 0x8d8]
mov eax, edi
fcos
fmul dword [0x858b8c]
fsubr dword [0x858b8c]
fst dword [esp + 0x1c]
fmul dword [esi + 0x8b4]
fld dword [esp + 0x1c]
fmul dword [esi + 0x8b8]
fld dword [esp + 0x1c]
fmul dword [esi + 0x8bc]
fstp dword [esp + 0x74]
fxch st(1)
fadd dword [esi + 0x890]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
fadd dword [esi + 0x894]
fstp dword [esp + 0x14]
fld dword [esp + 0x74]
mov edx, dword [esp + 0x14]
fadd dword [esi + 0x898]
mov dword [eax], ecx
mov dword [eax + 4], edx
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov al, byte [esi + 0x2b]
test al, al
je 0x52be00
fld dword [edi]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x10]
fld dword [edi + 4]
fsub dword [esp + 0x50]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fsqrt
fcomp dword [0x8ccf20]
fnstsw ax
test ah, 5
jp 0x52be00
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.0053cc70
fld st(0)
fcos
add esp, 8
fmul dword [0x8ccf20]
fadd dword [esp + 0x4c]
fstp dword [edi]
fsin
fmul dword [0x8ccf20]
fadd dword [esp + 0x50]
fstp dword [esi + 0x8dc]
fld dword [esp + 0x1c]
lea ebp, [esi + 0x8f0]
fmul dword [esi + 0x8cc]
mov ecx, ebp
fld dword [esp + 0x1c]
lea ebx, [esi + 0x110]
fmul dword [esi + 0x8d0]
push ebx
fld dword [esp + 0x20]
push ebp
fmul dword [esi + 0x8d4]
fstp dword [esp + 0x7c]
fxch st(1)
fadd dword [esi + 0x8a8]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fadd dword [esi + 0x8ac]
fstp dword [esp + 0x1c]
fld dword [esp + 0x7c]
mov eax, dword [esp + 0x1c]
fadd dword [esi + 0x8b0]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [edi]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
mov edx, dword [esp + 0x20]
fmul dword [esi + 0x114]
mov dword [esp + 0x38], eax
mov dword [ecx + 8], edx
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
fadd dword [esi + 0x170]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
fstp dword [ebx]
fld dword [esp + 0x54]
fsub dword [esp + 0x38]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld dword [esp + 0x58]
mov dword [esp + 0x44], eax
fsub dword [esp + 0x3c]
lea eax, [esi + 0x8e4]
push eax
fstp dword [esp + 0x20]
fld dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
fsub dword [esp + 0x44]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x3c]
push ecx
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov ecx, esi
mov dword [esp + 0x54], edx
call fcn.0050c290
lea ecx, [esp + 0x3c]
call fcn.0059c910
cmp byte [esi + 0x2b], 1
jne 0x52bf14
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 0x3f800000
mov ecx, dword [esp + 0x18]
jmp 0x52bf1d
mov edx, dword [ebp]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0059c910
movzx edx, byte [esi + 0x59]
imul edx, edx, 0x238
mov ax, word [edx + esi + 0x180]
cmp ax, 1
je 0x52bfa0
cmp ax, 0x25
je 0x52bfa0
lea ecx, [esp + 0x3c]
call fcn.0059c910
lea ecx, [esp + 0x24]
call fcn.0059c910
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.0059c730
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov eax, dword [eax + 8]
add esp, 0xc
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], eax
call fcn.0059c910
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x5c]
jmp 0x52bfe1
lea ecx, [esp + 0x3c]
call fcn.0059c910
mov dword [esp + 0x10], 0xbf800000
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
call fcn.0059c730
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x2c], eax
call fcn.0059c910
mov ecx, dword [ebx]
xor ebp, ebp
jmp 0x52c33c
fld dword [esp + 0x1c]
fcomp dword [esi + 0xc10]
fnstsw ax
test ah, 0x41
jne 0x52c340
fld dword [esp + 0x1c]
fcomp dword [0x858624]
fnstsw ax
test ah, 0x41
jp 0x52c340
fld dword [esi + 0xc14]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x44
jp 0x52c05b
fld dword [0x858624]
jmp 0x52c06b
fld dword [esp + 0x1c]
fsub dword [esi + 0xc10]
fdiv dword [esi + 0xc14]
fmul dword [0x858cb8]
movzx edx, byte [esi + 0x59]
imul edx, edx, 0x238
fcos
lea edi, [esi + 0x8d8]
lea eax, [edx + esi + 0x310]
lea ecx, [esp + 0x6c]
fmul dword [0x858b8c]
fsubr dword [0x858b8c]
fstp dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
push ebx
push edi
push eax
push ecx
call fcn.0040fe60
add esp, 0xc
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0040fec0
push eax
lea eax, [esp + 0x88]
push edi
push eax
call fcn.0040fe30
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x50], eax
mov al, byte [esi + 0x2b]
add esp, 0x18
test al, al
je 0x52c14f
fld dword [esp + 0x30]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x10]
fld dword [esp + 0x34]
fsub dword [esp + 0x50]
fst dword [esp + 0x14]
fmul dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fsqrt
fcomp dword [0x8ccf20]
fnstsw ax
test ah, 5
jp 0x52c14f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.0053cc70
fld st(0)
fcos
add esp, 8
fmul dword [0x8ccf20]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x30]
fsin
fmul dword [0x8ccf20]
fadd dword [esp + 0x50]
fstp dword [esp + 0x34]
movzx eax, byte [esi + 0x59]
imul eax, eax, 0x238
fld dword [eax + esi + 0x228]
fsub dword [esi + 0x110]
add eax, esi
push ebx
fmul dword [esp + 0x20]
lea edi, [esi + 0x8f0]
push edi
add eax, 0x328
fadd dword [esi + 0x110]
push eax
lea ecx, [esp + 0x84]
push ecx
fstp dword [esp + 0x68]
call fcn.0040fe60
add esp, 0xc
push eax
lea edx, [esp + 0x74]
push edx
call fcn.0040fec0
push eax
lea eax, [esp + 0x20]
push edi
push eax
call fcn.0040fe30
fld dword [esp + 0x64]
mov ecx, dword [eax]
fsub dword [esp + 0x48]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
fstp dword [esp + 0x28]
fld dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
fsub dword [esp + 0x4c]
add esp, 0x18
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x14]
fld dword [esp + 0x54]
mov edx, dword [esp + 0x14]
fsub dword [esp + 0x38]
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x44], edx
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
mov dword [esp + 0x48], eax
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.0050c290
lea ecx, [esp + 0x3c]
call fcn.0059c910
cmp byte [esi + 0x2b], 1
jne 0x52c258
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 0x3f800000
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
movzx edx, byte [esi + 0x59]
imul edx, edx, 0x238
mov ax, word [edx + esi + 0x180]
cmp ax, 1
je 0x52c2c9
cmp ax, 0x25
je 0x52c2c9
lea ecx, [esp + 0x3c]
call fcn.0059c910
lea ecx, [esp + 0x24]
call fcn.0059c910
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.0059c730
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov eax, dword [eax + 8]
add esp, 0xc
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], eax
call fcn.0059c910
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x5c]
jmp 0x52c30a
lea ecx, [esp + 0x3c]
call fcn.0059c910
mov dword [esp + 0x10], 0xbf800000
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x7c]
push edx
push eax
call fcn.0059c730
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x2c], eax
call fcn.0059c910
mov ecx, dword [esi + 0x110]
mov dword [esp + 0x58], ecx
fld dword [esp + 0x30]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x10]
fld dword [esp + 0x34]
fsub dword [esp + 0x50]
fstp dword [esp + 0x14]
fld dword [esp + 0x38]
fsub dword [esp + 0x54]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
mov edx, dword [esp + 0x18]
fmul dword [esp + 0x14]
push edx
fld dword [esp + 0x14]
push ecx
fmul dword [esp + 0x18]
faddp st(1)
fsqrt
fstp dword [esp]
call fcn.0053cc70
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.0053cc70
fstp dword [esp + 0x30]
add esp, 0x10
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
movzx edx, byte [esi + 0x59]
imul edx, edx, 0x238
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [edx + esi + 0x174]
call fcn.00509df0
jmp 0x52c53d
movzx eax, byte [esi + 0x59]
imul eax, eax, 0x238
add eax, esi
lea ecx, [eax + 0x310]
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x34], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x38], ecx
lea ecx, [eax + 0x328]
mov edx, ecx
mov edi, dword [edx]
mov dword [esp + 0x24], edi
mov edi, dword [edx + 4]
mov dword [esp + 0x28], edi
mov edx, dword [edx + 8]
mov dword [esp + 0x2c], edx
mov dl, byte [esi + 0x2d]
test dl, dl
je 0x52c4f4
fld dword [esp + 0x30]
fadd dword [esi + 0x8fc]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fadd dword [esi + 0x900]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fadd dword [esi + 0x904]
fstp dword [esp + 0x38]
fld dword [eax + 0x2bc]
fsub dword [esp + 0x30]
fstp dword [esp + 0x10]
fld dword [eax + 0x2c0]
fsub dword [esp + 0x34]
fstp dword [esp + 0x14]
fld dword [eax + 0x2c4]
mov ecx, dword [esp + 0x14]
fsub dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x3c]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
call fcn.0059c910
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0059c730
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.0059c910
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.0059c730
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 8]
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], eax
call fcn.0059c910
jmp 0x52c521
add eax, 0x304
mov edx, dword [eax]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x2c], ecx
movzx edx, byte [esi + 0x59]
imul edx, edx, 0x238
mov byte [0xb70143], 0
fld dword [edx + esi + 0x228]
fstp dword [esp + 0x58]
mov al, byte [esi + 0x58]
test al, al
je 0x52c5ea
mov al, byte [esi + 0x2c]
test al, al
jne 0x52c5ea
cmp byte [esi + 0x2b], 1
jne 0x52c5ea
call fcn.0072dd30
test al, al
jne 0x52c5ea
mov al, byte [esi + 0x26]
test al, al
jne 0x52c5ea
mov eax, dword [esi + 0x958]
mov dword [esp + 0x20], ebp
mov ecx, dword [eax + 0x14]
cmp ecx, ebp
je 0x52c587
lea eax, [ecx + 0x30]
jmp 0x52c58a
add eax, 4
push ebp
push 1
push 1
push ebp
push 1
push ebp
push ebp
push 1
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0x58]
push ecx
push eax
call fcn.0056ba00
add esp, 0x30
test al, al
je 0x52c5ea
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x30], edx
mov edx, dword [0xc1703c]
push 0x3d4ccccd
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
call fcn.007ee1d0
add esp, 8
fld dword [0xc73c58]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
jne 0x52c735
fld dword [0xc73c58]
lea ecx, [esp + 0x24]
fmul dword [0x85904c]
fld dword [0xb6ec30]
fmul dword [0x8595ec]
fld st(0)
fcos
fst dword [esp + 0x20]
fmul st(2)
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fsin
fst dword [esp + 0x1c]
fmul st(1)
fadd dword [esp + 0x38]
fstp dword [esp + 0x38]
fstp st(0)
call fcn.0059c910
fld dword [0xc73c58]
lea ecx, [esp + 0x24]
fmul dword [0x858c28]
fld dword [esp + 0x20]
fmul st(1)
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fmul st(1)
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
fstp st(0)
call fcn.0059c910
lea ecx, [esp + 0x3c]
call fcn.0059c910
fld dword [0xc73c58]
fmul dword [0x858ef4]
lea ecx, [esp + 0x3c]
fld dword [esp + 0x20]
fmul st(1)
fadd dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x1c]
fmul st(1)
fadd dword [esp + 0x40]
fstp dword [esp + 0x40]
fstp st(0)
call fcn.0059c910
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.0059c730
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov eax, dword [eax + 8]
add esp, 0xc
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], eax
call fcn.0059c910
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.0059c730
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 8]
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], eax
call fcn.0059c910
fld dword [0xb6ec30]
fadd dword [0x858c80]
fstp dword [0xb6ec30]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.0059c730
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
mov dword [esi + 0x974], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x994], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x984], edx
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x978], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x998], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x988], edx
mov edx, dword [esp + 0x50]
mov dword [esi + 0x97c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x99c], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x98c], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x9a4], ecx
mov dword [esi + 0x9ac], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x9a8], edx
mov ecx, dword [0xb7cb84]
sub ecx, eax
add esp, 0xc
test ecx, ecx
mov dword [esp + 0x48], ecx
fild dword [esp + 0x48]
jge 0x52c7f4
fadd dword [0x858c54]
fmul dword [0x863280]
fsubr dword [esi + 0x12c]
fst dword [esp + 0x1c]
fcomp dword [0x858ca0]
fnstsw ax
test ah, 5
jnp 0x52c81b
mov dword [esp + 0x1c], 0x40000000
jmp 0x52c834
fld dword [esp + 0x1c]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
je 0x52c834
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x48], edx
call fcn.00821b1e
fld dword [esp + 0x1c]
fmul dword [0x858b1c]
movzx eax, ax
mov ecx, eax
and ecx, 0xf
sub ecx, 7
mov dword [esp + 0x20], ecx
mov edx, eax
fild dword [esp + 0x20]
shr edx, 4
and edx, 0xf
sub edx, 7
fmul st(1)
mov dword [esp + 0x20], edx
shr eax, 8
and eax, 0xf
fadd dword [esi + 0x9a4]
sub eax, 7
fstp dword [esi + 0x9a4]
fild dword [esp + 0x20]
mov dword [esp + 0x20], eax
fmul st(1)
fadd dword [esi + 0x9a8]
fstp dword [esi + 0x9a8]
fild dword [esp + 0x20]
fmul st(1)
fadd dword [esi + 0x9ac]
fstp dword [esi + 0x9ac]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
jne 0x52c8eb
cmp dword [esi + 0x90], 1
je 0x52c8eb
fld dword [esp + 0x48]
fmul dword [0x86327c]
call fcn.00821b40
mov ecx, 0x19
sub ecx, eax
cmp ecx, 0x96
jle 0x52c8e5
mov ecx, 0x96
mov dword [esi + 0xa4], ecx
movzx eax, byte [esi + 0x59]
imul eax, eax, 0x238
cmp word [eax + esi + 0x180], 0x10
jne 0x52c961
push ebp
push 0xffffffffffffffff
call fcn.0056e0d0
add esp, 8
test eax, eax
je 0x52c961
push ebp
push 0xffffffffffffffff
call fcn.0056e0d0
mov ecx, dword [eax + 0x14]
fld dword [ecx + 0x28]
add esp, 8
fcomp dword [0x858cc4]
fnstsw ax
test ah, 5
jp 0x52c961
mov eax, 0xff
mov dword [esi + 0x8c], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x90], 1
mov dword [esi + 0xa0], 0xf0
mov byte [0xb70142], 1
jmp 0x52c971
mov al, byte [0xb70142]
test al, al
je 0x52c971
mov byte [0xb70142], 0
mov edx, dword [esp + 0x58]
push edx
call fcn.006ff410
add esp, 4
push 1
push ebp
mov ecx, esi
call fcn.005150e0
push ebp
mov ecx, esi
call fcn.0050afa0
mov ecx, dword [esi + 0x9a8]
mov eax, dword [esi + 0x9a4]
mov edx, dword [esi + 0x9ac]
mov dword [esi + 0x90c], ecx
mov ecx, esi
mov dword [esi + 0x908], eax
mov dword [esi + 0x910], edx
call fcn.00515bd0
mov al, byte [0xb5f851]
test al, al
je 0x52c9d9
mov al, byte [0xb5f853]
test al, al
jne 0x52c9d9
mov dword [esi + 0xf0], 0x3f800000
jmp 0x52c9eb
fld dword [0x858ce0]
fdiv dword [0x8d5038]
fstp dword [esi + 0xf0]
mov eax, dword [esi + 0xf0]
mov dword [esi + 0xf4], eax
fld dword [0x8cd800]
fmul dword [esi + 0xf0]
fstp dword [esi + 0xf0]
mov edi, dword [0xc1703c]
fld dword [edi + 0x84]
fmul dword [0x858628]
call fcn.00821b40
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
push ecx
fmul dword [0x858c58]
fstp dword [esp]
push edi
call fcn.007ee2a0
mov ecx, dword [esi + 0x954]
fld dword [ecx + 0x80]
add esp, 8
fstp dword [0xc3efa0]
mov edx, dword [esi + 0x954]
fld dword [edx + 0x84]
fstp dword [0xc3ef9c]
cmp byte [esi + 0x29], 1
je 0x52ca6b
cmp byte [esi + 0x2a], 1
jne 0x52ca93
mov eax, dword [esi + 0x9a4]
mov ecx, dword [esi + 0x9a8]
mov edx, dword [esi + 0x9ac]
mov dword [esi + 0x83c], eax
mov dword [esi + 0x840], ecx
mov dword [esi + 0x844], edx
mov byte [esi + 0x29], 0
fld dword [esi + 0x9a4]
mov edi, dword [esi + 0x98]
fsub dword [esi + 0x83c]
mov ecx, dword [esi + 0x94]
fld dword [esi + 0x9a8]
inc edi
fsub dword [esi + 0x840]
mov eax, edi
cmp eax, ecx
fld dword [esi + 0x9ac]
fsub dword [esi + 0x844]
mov dword [esi + 0x98], edi
fld st(0)
fmul st(1)
mov dword [esp + 0x48], ecx
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fadd dword [esi + 0x128]
fst dword [esi + 0x128]
jne 0x52cb10
fild dword [esp + 0x48]
mov dword [esi + 0x128], ebp
mov dword [esi + 0x98], ebp
fdivr st(1)
fstp dword [esi + 0x124]
mov eax, dword [esi + 0x9a4]
fstp st(0)
mov ecx, dword [esi + 0x9a8]
fld dword [esi + 0x150]
mov edx, dword [esi + 0x9ac]
fadd dword [0x858cb8]
mov dword [esi + 0x83c], eax
movzx eax, byte [esi + 0x59]
imul eax, eax, 0x238
fstp dword [esp + 0x20]
add eax, esi
mov dword [esi + 0x840], ecx
mov dword [esi + 0x844], edx
cmp dword [eax + 0x19c], 3
je 0x52cb8a
cmp word [eax + 0x180], 0x25
je 0x52cb8a
lea ecx, [eax + 0x31c]
mov edx, dword [ecx]
add eax, 0x310
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov dword [esi + 0x150], edx
mov al, byte [esi + 0x58]
test al, al
je 0x52cc32
movzx eax, byte [esi + 0x59]
lea ecx, [eax + 1]
and ecx, 0x80000001
jns 0x52cba9
dec ecx
or ecx, 0xfffffffe
inc ecx
imul ecx, ecx, 0x238
lea ebp, [ecx + esi]
mov ecx, dword [ebp + 0x390]
test ecx, ecx
je 0x52cc32
mov edi, dword [esi + 0x958]
test edi, edi
je 0x52cc32
mov dl, byte [edi + 0x36]
and dl, 7
cmp dl, 3
jne 0x52cc32
mov cl, byte [ecx + 0x36]
and cl, 7
cmp cl, 2
je 0x52cc32
mov edx, eax
imul edx, edx, 0x238
cmp word [edx + esi + 0x180], 0x25
je 0x52cc32
cmp dword [ebp + 0x19c], 3
je 0x52cc32
and eax, 0x80000001
jns 0x52cc04
dec eax
or eax, 0xfffffffe
inc eax
imul eax, eax, 0x238
lea eax, [eax + esi + 0x31c]
mov ecx, dword [eax]
add ebp, 0x310
mov dword [ebp], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov dword [ebp + 4], edx
mov eax, dword [eax + 8]
mov dword [ebp + 8], eax
mov dword [esi + 0x150], ecx
mov eax, dword [esi + 0x14]
test eax, eax
mov byte [esi + 0x1c], 0
mov byte [esi + 0x2d], 0
je 0x52cc5e
lea edx, [eax + 0x10]
mov ecx, dword [edx]
mov dword [esp + 0x10], ecx
fld dword [esp + 0x10]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
jmp 0x52cc76
fld dword [esi + 0x10]
mov dword [esp + 0x18], 0
fsin
fchs
fld dword [esi + 0x10]
fcos
fstp dword [esp + 0x14]
test eax, eax
fmul dword [0x858ee8]
fld dword [esp + 0x14]
fmul dword [0x858ee8]
fld dword [esp + 0x18]
fmul dword [0x858ee8]
fstp dword [esp + 0x74]
je 0x52cc9d
add eax, 0x30
jmp 0x52cca0
lea eax, [esi + 4]
fxch st(1)
push 0
fadd dword [eax]
push 1
fstp dword [esp + 0x18]
fadd dword [eax + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
fadd dword [eax + 8]
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x1c]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
push ecx
push edx
push eax
call fcn.006eb690
add esp, 0x18
test al, al
pop edi
pop esi
pop ebp
pop ebx
je 0x52cd73
fld dword [esp + 8]
fsub dword [0x858cc8]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x41
je 0x52cd73
fld dword [esp + 0x58]
fsub dword [esp + 8]
fld dword [0x858b50]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x52cd20
fstp st(0)
mov dword [0xc81330], 0
jmp 0x52cd26
fstp dword [0xc81330]
fld dword [esp + 8]
fadd dword [0x858cc8]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 5
jp 0x52cd4c
mov dword [0xc8132c], 0x3f800000
add esp, 0xa0
ret
fld dword [esp + 0x58]
fsub dword [0x858cc8]
fsubr dword [esp + 8]
fmul dword [str.UUU_]
fsubr dword [0x858624]
fstp dword [0xc8132c]
add esp, 0xa0
ret
mov dword [0xc8132c], 0
add esp, 0xa0
ret