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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x51c62b
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
mov ebp, ecx
mov al, byte [ebp + 0xf04]
test al, al
push esi
push edi
je 0x43e6cb
lea eax, [ebp + 0xee4]
push eax
mov ecx, 0x678f50
call fcn.004ffa10
test eax, eax
je 0x43e6cb
lea ecx, [eax + 0x6254]
mov esi, dword [ecx]
lea edx, [ebp + 0xf08]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov byte [ebp + 0xf05], 1
mov cl, byte [eax + 0x623f]
test cl, cl
je 0x43e6cb
mov byte [ebp + 0xf04], 0
mov byte [ebp + 0xf05], 0
mov ecx, ebp
call fcn.0043c6b0
mov eax, dword [0x677df8]
fld dword [eax + 0x158]
mov ecx, 0x10
fld dword [eax + 0x168]
mov esi, 0x541610
fpatan
lea edi, [esp + 0xd8]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, 0x541610
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x541104]
mov esi, dword [esp + 0x248]
mov ebx, 0xb9
mov dword [esp + 0xc0], ebx
mov ebx, 2
mov dword [esp + 0xc4], ebx
mov ebx, 0x2b9
mov dword [esp + 0xc8], ebx
mov ebx, 0x202
mov dword [esp + 0xcc], ebx
push 0
lea ebx, [esp + 0xc4]
push ebx
add ecx, 0xffffff63
sub esp, 0x10
lea eax, [esi + 0xd]
mov ebx, esp
lea edx, [ecx + 0x90]
lea edi, [eax + 0x90]
mov dword [ebx], ecx
fst dword [esp + 0xc4]
fld st(0)
fchs
fst dword [esp + 0xd0]
fld st(0)
fcos
fxch st(1)
fsin
fld dword [esp + 0xf0]
fmul st(1)
fchs
fstp dword [esp + 0xf4]
fld dword [esp + 0xf0]
fmul st(2)
fstp dword [esp + 0xf0]
fld dword [esp + 0x104]
fmul st(1)
fstp dword [esp + 0x100]
fstp st(0)
fld dword [esp + 0x104]
fmul st(1)
fstp dword [esp + 0x104]
fstp st(0)
fld st(0)
fcos
fxch st(1)
fsin
fld dword [esp + 0x68]
fmul st(1)
fchs
fstp dword [esp + 0x6c]
fld dword [esp + 0x68]
fmul st(2)
fstp dword [esp + 0x68]
fld dword [esp + 0x7c]
fmul st(1)
fstp dword [esp + 0x78]
fstp st(0)
fld dword [esp + 0x7c]
fmul st(1)
fstp dword [esp + 0x7c]
fstp st(0)
mov ecx, dword [0x5b7470]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
call fcn.00494970
fld dword [esp + 0x70]
mov ecx, dword [eax]
fld dword [esp + 0x74]
fld dword [0x5213d0]
fsub dword [ecx + 0x10]
fadd dword [0x524f20]
fld dword [0x5213d0]
fsub dword [ecx + 0x14]
fsub dword [0x524f1c]
fld dword [esp + 0x60]
fmul st(1)
fld dword [esp + 0x50]
fmul st(3)
faddp st(1)
fadd st(4)
fstp dword [esp + 0x34]
fld dword [esp + 0x64]
fmul st(1)
fld dword [esp + 0x54]
fmul st(3)
faddp st(1)
fadd st(3)
fstp st(2)
fstp st(0)
fld dword [ebp + 0xed8]
fadd dword [0x523730]
fmul dword [0x524f18]
fild dword [ebp + 0xed0]
fmul dword [0x521afc]
faddp st(1)
fadd dword [esp + 0x34]
fstp dword [ecx + 0x18]
fld dword [ebp + 0xedc]
fadd dword [0x523730]
fmul dword [0x524f18]
fild dword [ebp + 0xed4]
fmul dword [0x521afc]
faddp st(1)
fadd st(1)
fstp dword [ecx + 0x1c]
fstp st(0)
fld dword [0x5213d0]
fsub dword [ecx + 0x30]
fadd dword [0x524f20]
fld dword [0x5213d0]
fsub dword [ecx + 0x34]
fsub dword [0x524f1c]
fld dword [esp + 0x60]
fmul st(1)
fld dword [esp + 0x50]
fmul st(3)
faddp st(1)
fadd st(4)
fstp dword [esp + 0x34]
fld dword [esp + 0x64]
fmul st(1)
fld dword [esp + 0x54]
fmul st(3)
faddp st(1)
fadd st(3)
fstp st(2)
fstp st(0)
fld dword [ebp + 0xed8]
fadd dword [0x523730]
fmul dword [0x524f18]
fild dword [ebp + 0xed0]
fmul dword [0x521afc]
faddp st(1)
fadd dword [esp + 0x34]
fstp dword [ecx + 0x38]
fld dword [ebp + 0xedc]
fadd dword [0x523730]
fmul dword [0x524f18]
fild dword [ebp + 0xed4]
fmul dword [0x521afc]
faddp st(1)
fadd st(1)
fstp dword [ecx + 0x3c]
fstp st(0)
fld dword [0x5213d0]
fsub dword [ecx + 0x50]
fadd dword [0x524f20]
fld dword [0x5213d0]
fsub dword [ecx + 0x54]
fsub dword [0x524f1c]
fld dword [esp + 0x60]
fmul st(1)
fld dword [esp + 0x50]
fmul st(3)
faddp st(1)
fadd st(4)
fstp dword [esp + 0x34]
fld dword [esp + 0x64]
fmul st(1)
fld dword [esp + 0x54]
fmul st(3)
faddp st(1)
fadd st(3)
fstp st(2)
fstp st(0)
fld dword [ebp + 0xed8]
fadd dword [0x523730]
fmul dword [0x524f18]
fild dword [ebp + 0xed0]
fmul dword [0x521afc]
faddp st(1)
fadd dword [esp + 0x34]
fstp dword [ecx + 0x58]
fld dword [ebp + 0xedc]
fadd dword [0x523730]
fmul dword [0x524f18]
fild dword [ebp + 0xed4]
fmul dword [0x521afc]
faddp st(1)
fadd st(1)
fstp dword [ecx + 0x5c]
fstp st(0)
fld dword [0x5213d0]
fsub dword [ecx + 0x74]
fsub dword [0x524f1c]
fstp dword [esp + 0x14]
fld dword [0x5213d0]
fsub dword [ecx + 0x70]
fadd dword [0x524f20]
fstp dword [esp + 0x34]
fld dword [esp + 0x54]
fmul dword [esp + 0x34]
fld dword [esp + 0x64]
fmul dword [esp + 0x14]
faddp st(1)
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x14]
fld dword [esp + 0x50]
fmul dword [esp + 0x34]
faddp st(1)
fadd st(2)
fld dword [ebp + 0xed8]
fadd dword [0x523730]
fmul dword [0x524f18]
fild dword [ebp + 0xed0]
fmul dword [0x521afc]
faddp st(1)
fadd st(1)
fstp dword [ecx + 0x78]
push eax
add esi, 0x54
fstp st(0)
mov dword [esp + 0xb8], esi
fld dword [ebp + 0xedc]
fadd dword [0x523730]
fmul dword [0x524f18]
fild dword [ebp + 0xed4]
fmul dword [0x521afc]
faddp st(1)
fadd st(1)
fstp dword [ecx + 0x7c]
mov ecx, dword [0x5b7470]
mov edi, dword [0x541104]
mov edx, dword [ecx + 0x26fc]
fstp st(0)
add edi, 0xffffffac
fstp st(0)
push edx
mov dword [esp + 0xb8], edi
call fcn.00495320
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x244]
push 0
push 0
push ecx
mov ecx, dword [0x5b746c]
push edx
push eax
push 0x30
call fcn.004a2570
mov ecx, dword [ebp + 0xf28]
push 0
push 0
push 0
add esi, 0xfffffff8
lea eax, [esi + 0x10]
push ecx
mov ecx, dword [0x5b7468]
add edi, 0xfffffff8
lea ebx, [edi + 0x10]
mov dword [esp + 0x5c], eax
call fcn.004a5990
mov ecx, dword [0x5b7470]
push eax
mov eax, dword [esp + 0x5c]
push 0
push 0
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov dword [edx + 4], esi
mov dword [edx + 8], ebx
mov dword [edx + 0xc], eax
call fcn.00494970
mov ecx, dword [0x5b7470]
mov edx, dword [ecx + 0x26fc]
push eax
push edx
call fcn.00495320
mov ecx, dword [0x5b746c]
push eax
push 6
call fcn.004a2570
fld dword [0x524e7c]
fmul dword [0x524f14]
lea eax, [esp + 0x168]
push eax
push 0xe
push ecx
mov ecx, dword [0x677df8]
fstp dword [esp]
add ecx, 0x190
push ecx
xor ebx, ebx
mov ecx, 0x685928
mov dword [esp + 0x240], ebx
call fcn.0050a5b0
xor ecx, ecx
cmp dword [esp + 0x230], ebx
mov edx, dword [0x677df8]
mov dword [esp + 0x14], ecx
jle 0x43f128
cmp ecx, ebx
jl 0x43f589
cmp ecx, 0x32
jge 0x43f589
mov ebx, dword [esp + ecx*4 + 0x168]
cmp ebx, edx
je 0x43f112
mov al, byte [ebx + 0x5f]
test al, al
je 0x43f112
fld dword [ebx + 0x198]
fsub dword [edx + 0x198]
fld dword [ebx + 0x194]
fsub dword [edx + 0x194]
fld dword [ebx + 0x190]
fsub dword [edx + 0x190]
fld dword [0x521590]
fdiv dword [0x524e7c]
fst dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x118]
fstp st(0)
fmul dword [esp + 0x10]
fld dword [esp + 0x10]
fmul st(2)
fld dword [esp + 0xfc]
fmul st(1)
fld dword [esp + 0xec]
fmul st(3)
faddp st(1)
fld dword [esp + 0xdc]
fmul dword [esp + 0x118]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0xf8]
fmul st(1)
fld dword [esp + 0xe8]
fmul st(3)
faddp st(1)
fld dword [esp + 0x118]
fmul dword [esp + 0xd8]
faddp st(1)
fstp dword [esp + 0x9c]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x10]
fmul dword [0x524f10]
fld dword [esp + 0x9c]
fmul dword [0x524f10]
fabs
fcomp qword [0x523580]
fnstsw ax
test ah, 5
jp 0x43f110
fabs
fcomp qword [0x523580]
fnstsw ax
test ah, 5
jp 0x43f112
mov eax, dword [0x5b7b38]
mov edx, dword [ebx + 0x10d4]
mov ecx, dword [eax + 0x44]
mov edx, dword [edx + 0x44]
cmp edx, dword [ecx + 0x64c8]
jne 0x43ecae
mov eax, 0xff00ff00
jmp 0x43ecf5
mov esi, dword [edx + 0x64bc]
xor ecx, ecx
test esi, esi
mov eax, 0xff808080
jle 0x43ecf5
lea edi, [edx + 0x628c]
xor edx, edx
test edx, edx
jl 0x43f563
cmp edx, 0x230
jge 0x43f563
cmp dword [edi + edx], 0
je 0x43eceb
inc ecx
add edx, 0x1c
cmp ecx, esi
jl 0x43ecc7
jmp 0x43ecf5
imul ecx, ecx, 0x1c
add ecx, edi
call fcn.0043c3d0
mov cl, byte [ebx + 0x6a]
test cl, cl
je 0x43ed08
mov cl, byte [ebx + 0x7b]
test cl, cl
jne 0x43ed08
mov eax, 0xffff0000
mov ecx, dword [0x5b746c]
push 3
push eax
call fcn.0049d0c0
mov edx, dword [esp + 0xb4]
add edx, 0xfffffffd
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fsub dword [esp + 0x10]
call fcn.00514cfc
mov ebx, eax
mov eax, dword [esp + 0xb0]
add eax, 0xfffffffd
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fsub dword [esp + 0x9c]
call fcn.00514cfc
lea ecx, [ebx + 9]
mov dword [esp + 0x164], ecx
mov ecx, 0x10
mov esi, 0x541610
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + ecx*4 + 0x168]
push 0
push 0
fld dword [ecx + 0x158]
sub esp, 0x10
fld dword [ecx + 0x168]
mov ecx, esp
fpatan
mov dword [ecx], eax
mov dword [ecx + 4], ebx
lea edx, [eax + 9]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x17c]
mov dword [ecx + 0xc], edx
mov ecx, dword [0x5b7470]
fsub dword [esp + 0xc4]
fld st(0)
fcos
fxch st(1)
fsin
fld dword [esp + 0x68]
fmul st(1)
fchs
fstp dword [esp + 0x6c]
fld dword [esp + 0x68]
fmul st(2)
fstp dword [esp + 0x68]
fld dword [esp + 0x7c]
fmul st(1)
fstp dword [esp + 0x78]
fstp st(0)
fld dword [esp + 0x7c]
fmul st(1)
fstp dword [esp + 0x7c]
fstp st(0)
call fcn.00494970
mov esi, eax
mov eax, dword [esi]
fld dword [eax + 0x68]
lea ecx, [eax + 0x60]
fadd dword [eax + 8]
fld dword [ecx + 4]
fadd dword [eax + 4]
fld dword [eax]
fadd dword [ecx]
fstp dword [esp + 0x40]
fxch st(1)
fmul dword [0x5213d0]
fstp dword [esp + 0x30]
fmul dword [0x5213d0]
fstp dword [esp + 0x10]
fld dword [esp + 0x40]
fmul dword [0x5213d0]
fstp dword [esp + 0x34]
fld dword [eax]
mov edx, eax
fsub dword [esp + 0x34]
fld dword [eax + 4]
fsub dword [esp + 0x10]
fld dword [eax + 8]
fsub dword [esp + 0x30]
fld st(2)
fmul dword [esp + 0x50]
fld dword [esp + 0x70]
fmul st(2)
faddp st(1)
fld st(2)
fmul dword [esp + 0x60]
faddp st(1)
fstp dword [esp + 0x90]
fld dword [esp + 0x74]
fmul st(1)
fld st(2)
fmul dword [esp + 0x64]
faddp st(1)
fld dword [esp + 0x54]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x94]
fld dword [esp + 0x78]
fmul st(1)
fld dword [esp + 0x68]
fmul st(3)
faddp st(1)
fld dword [esp + 0x58]
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [esp + 0x90]
fadd dword [esp + 0x34]
fstp dword [esp + 0x18]
mov edi, dword [esp + 0x18]
fld dword [esp + 0x94]
mov dword [edx], edi
fadd dword [esp + 0x10]
fstp dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
fadd dword [esp + 0x30]
mov dword [edx + 4], edi
fstp dword [esp + 0x20]
mov edi, dword [esp + 0x20]
mov dword [edx + 8], edi
fld dword [eax + 0x20]
fsub dword [esp + 0x34]
fld dword [eax + 0x24]
fsub dword [esp + 0x10]
fld dword [eax + 0x28]
fsub dword [esp + 0x30]
fld st(2)
fmul dword [esp + 0x50]
fld dword [esp + 0x70]
fmul st(2)
faddp st(1)
fld st(2)
fmul dword [esp + 0x60]
faddp st(1)
fstp dword [esp + 0x90]
fld dword [esp + 0x74]
fmul st(1)
fld st(2)
fmul dword [esp + 0x64]
faddp st(1)
fld dword [esp + 0x54]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x94]
fld dword [esp + 0x78]
add eax, 0x40
fmul st(1)
fld dword [esp + 0x68]
fmul st(3)
faddp st(1)
fld dword [esp + 0x58]
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [esp + 0x90]
fadd dword [esp + 0x34]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fld dword [esp + 0x94]
mov dword [eax - 0x20], edx
fadd dword [esp + 0x10]
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fadd dword [esp + 0x30]
mov dword [eax - 0x1c], edx
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [eax - 0x18], edx
fld dword [eax]
fsub dword [esp + 0x34]
fld dword [eax + 4]
fsub dword [esp + 0x10]
fld dword [eax + 8]
fsub dword [esp + 0x30]
fld st(2)
fmul dword [esp + 0x50]
fld dword [esp + 0x70]
fmul st(2)
faddp st(1)
fld st(2)
fmul dword [esp + 0x60]
faddp st(1)
fstp dword [esp + 0x90]
fld dword [esp + 0x74]
fmul st(1)
fld st(2)
fmul dword [esp + 0x64]
faddp st(1)
fld dword [esp + 0x54]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x94]
fld dword [esp + 0x78]
fmul st(1)
fld dword [esp + 0x68]
fmul st(3)
faddp st(1)
fld dword [esp + 0x58]
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [esp + 0x90]
fadd dword [esp + 0x34]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fld dword [esp + 0x94]
fadd dword [esp + 0x10]
fstp dword [esp + 0x1c]
fadd dword [esp + 0x30]
fstp dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], edx
fld dword [ecx + 8]
fsub dword [esp + 0x30]
push 0
fld dword [ecx + 4]
push 0
fsub dword [esp + 0x18]
push 0
fld dword [ecx]
fsub dword [esp + 0x40]
fld dword [esp + 0x64]
fmul st(1)
fld dword [esp + 0x74]
fmul st(3)
faddp st(1)
fld dword [esp + 0x84]
fmul st(4)
faddp st(1)
fstp dword [esp + 0xdc]
fld dword [esp + 0x80]
fmul st(3)
fld dword [esp + 0x70]
fmul st(3)
faddp st(1)
fld dword [esp + 0x60]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x30]
fmul dword [esp + 0x5c]
fld dword [esp + 0x7c]
fmul st(3)
faddp st(1)
fld dword [esp + 0x6c]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x9c]
fstp st(0)
fstp st(0)
fld dword [esp + 0xdc]
fadd dword [esp + 0x3c]
fld dword [esp + 0x30]
fadd dword [esp + 0x1c]
fld dword [esp + 0x9c]
fadd dword [esp + 0x40]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0xf28]
push ecx
mov ecx, dword [0x5b7468]
call fcn.004a5990
mov ecx, dword [0x5b7470]
mov edx, dword [ecx + 0x26fc]
push eax
push esi
push edx
call fcn.00495320
mov ecx, dword [0x5b746c]
push eax
push 0x29
call fcn.004a2570
mov edx, dword [0x677df8]
mov ecx, dword [esp + 0x14]
jmp 0x43f112
fstp st(0)
mov eax, dword [esp + 0x230]
inc ecx
xor ebx, ebx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x43eb84
fld dword [0x524e7c]
lea ecx, [esp + 0x168]
fmul dword [0x524f14]
push ecx
push 0x15
push ecx
add edx, 0x190
fstp dword [esp]
push edx
mov ecx, 0x685928
call fcn.0050a5b0
mov eax, dword [esp + 0x230]
xor edi, edi
cmp eax, ebx
jle 0x43f316
mov edx, dword [0x677df8]
lea ebx, [ebx]
cmp edi, ebx
jl 0x43f5af
cmp edi, 0x32
jge 0x43f5af
mov ecx, dword [esp + edi*4 + 0x168]
fld dword [ecx + 0x198]
fsub dword [edx + 0x198]
fld dword [ecx + 0x194]
fsub dword [edx + 0x194]
fld dword [ecx + 0x190]
fsub dword [edx + 0x190]
fld dword [0x521590]
fdiv dword [0x524e7c]
fst dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x9c]
fstp st(0)
fmul dword [esp + 0x10]
fld dword [esp + 0x10]
fmul st(2)
fld dword [esp + 0xfc]
fmul st(1)
fld dword [esp + 0xec]
fmul st(3)
faddp st(1)
fld dword [esp + 0xdc]
fmul dword [esp + 0x9c]
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x9c]
fmul dword [esp + 0xd8]
fld dword [esp + 0xf8]
fmul st(2)
faddp st(1)
fld dword [esp + 0xe8]
fmul st(3)
faddp st(1)
fstp dword [esp + 0x118]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x14]
fmul dword [0x524f10]
fld dword [esp + 0x118]
fmul dword [0x524f10]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fsqrt
fcomp dword [0x521590]
fnstsw ax
test ah, 5
jp 0x43f306
mov al, byte [ecx + 0x7b]
test al, al
jne 0x43f306
fld dword [0x524f0c]
fsub dword [esp + 0x14]
fiadd dword [esp + 0x248]
call fcn.00514cfc
mov edx, dword [0x541104]
add edx, 0xffffffab
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
mov esi, eax
fsub dword [esp + 0x118]
call fcn.00514cfc
push ebx
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], eax
lea ecx, [eax + 2]
mov dword [ebx + 4], esi
mov dword [ebx + 8], ecx
mov ecx, dword [0x5b7470]
lea edx, [esi + 2]
mov dword [ebx + 0xc], edx
call fcn.00494970
mov ecx, dword [0x5b7470]
push eax
mov eax, dword [ecx + 0x26fc]
push eax
call fcn.00495320
mov ecx, dword [0x5b746c]
push 3
push 0xff764bfc
mov esi, eax
call fcn.0049d0c0
mov ecx, dword [0x5b746c]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push esi
push 0x1d
call fcn.004a2570
mov edx, dword [0x677df8]
mov eax, dword [esp + 0x230]
inc edi
cmp edi, eax
jl 0x43f170
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x150], ebx
mov dword [esp + 0x14c], ebx
push 0x204
mov dword [esp + 0x240], ebx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], ebx
call fcn.0044fa70
mov dword [esp + 0x14c], eax
lea eax, [eax + eax*4]
shl eax, 3
push eax
call fcn.00514cc5
push 0x78
mov dword [esp + 0x134], eax
mov dword [esp + 0x14c], 0x3c
call fcn.00514cc5
mov dword [esp + 0x138], eax
mov al, byte [ebp + 0xf05]
add esp, 0xc
test al, al
mov dword [esp + 0x13c], 0x28
mov dword [esp + 0x144], 0x204
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
je 0x43fa5f
mov eax, dword [0x677df8]
fld dword [ebp + 0xf08]
fsub dword [eax + 0x190]
fld dword [ebp + 0xf0c]
fsub dword [eax + 0x194]
fld dword [0x521590]
fdiv dword [0x524e7c]
fld st(0)
fmul st(3)
fstp dword [esp + 0x9c]
fxch st(1)
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x9c]
fmul dword [esp + 0xd8]
fld dword [esp + 0xe8]
fmul st(2)
faddp st(1)
fld dword [esp + 0xf8]
fmul dword [0x521418]
faddp st(1)
fld dword [esp + 0xec]
fmul st(2)
fld dword [esp + 0xdc]
fmul dword [esp + 0x9c]
faddp st(1)
fld dword [esp + 0xfc]
fmul dword [0x521418]
faddp st(1)
fstp dword [esp + 0x44]
fmul dword [0x524f10]
fstp st(1)
fld dword [esp + 0x44]
fmul dword [0x524f10]
fld st(1)
fmul st(2)
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fcomp dword [0x524f08]
fnstsw ax
test ah, 5
jp 0x43f694
fmul dword [0x524f04]
mov esi, dword [0x541104]
lea edi, [esi - 0x9e]
lea ecx, [edi + 0x92]
fsubr dword [0x524f14]
mov dword [esp + 0x160], ecx
fiadd dword [esp + 0x248]
call fcn.00514cfc
add esi, 0xffffff9c
mov dword [esp + 0x24], esi
fild dword [esp + 0x24]
fxch st(1)
mov ebx, eax
fmul dword [0x524f04]
fsubp st(1)
call fcn.00514cfc
fld qword [0x5b7490]
fmul qword [0x524ed8]
mov esi, eax
lea eax, [esi + 0x20]
lea ecx, [ebx + 0x20]
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
call fcn.00514cfc
mov ecx, eax
and ecx, 0x8000000f
jns 0x43f509
dec ecx
or ecx, 0xfffffff0
inc ecx
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
shl eax, 5
and ecx, 0x80000003
jns 0x43f524
dec ecx
or ecx, 0xfffffffc
inc ecx
shl ecx, 5
cmp edi, esi
lea edx, [ecx + 0x80]
lea ebx, [eax + 0x80]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
jle 0x43f5d5
mov eax, dword [esp + 0x48]
sub ecx, esi
mov edx, edi
add ecx, edi
sub edx, esi
add eax, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
jmp 0x43f5dc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], 0x52145c
call dword [0x521298]
push 0x52fdac
lea ecx, [esp + 0x44]
push ecx
call fcn.00514dd6
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x44]
push eax
call fcn.00514dd6
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], 0x52145c
call dword [0x521298]
push 0x52fdac
lea edx, [esp + 0x44]
push edx
call fcn.00514dd6
mov edi, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
cmp eax, 0xc
jge 0x43f609
mov edx, dword [esp + 0x44]
mov ecx, 0xc
sub ecx, eax
add edx, ecx
mov dword [esp + 0x44], edx
mov edx, 0xc
sub edx, eax
add dword [esp + 0x4c], edx
mov eax, 0xc
mov ecx, dword [esp + 0x160]
mov edx, dword [esp + 0xa4]
cmp ecx, edx
jge 0x43f61d
mov edx, ecx
mov ecx, dword [esp + 0xa8]
cmp ecx, 0x9e
jle 0x43f631
mov ecx, 0x9e
push 0
lea esi, [esp + 0x44]
push esi
sub esp, 0x10
mov esi, esp
mov dword [esi], edi
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
mov ecx, dword [0x5b7470]
call fcn.00494970
mov ecx, dword [0x5b7470]
push eax
mov eax, dword [ecx + 0x26fc]
push eax
call fcn.00495320
mov ecx, dword [ebp + 0xf30]
push 0
push 0
push 0
push ecx
mov ecx, dword [0x5b7468]
mov esi, eax
call fcn.004a5990
mov ecx, dword [0x5b746c]
push eax
push esi
push 6
call fcn.004a2570
jmp 0x43fa5d
fld st(1)
fabs
fld st(1)
fabs
fstp dword [esp + 0x14]
fcom dword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x43f6b1
fstp st(0)
fld dword [esp + 0x14]
fdivr dword [0x521590]
fld st(0)
fmul st(3)
fstp dword [esp + 0x90]
fmul st(1)
fstp dword [esp + 0x94]
fstp st(0)
fstp st(0)
fild dword [esp + 0xb4]
fld dword [esp + 0x94]
fmul dword [0x524f00]
fsubp st(1)
call fcn.00514cfc
fild dword [esp + 0xb0]
fld dword [esp + 0x90]
mov esi, eax
fmul dword [0x524f00]
fsubp st(1)
fsub dword [0x5215f8]
call fcn.00514cfc
mov edi, 0x7e
mov dword [esp + 0xc4], edi
mov edi, 0x2a2
mov dword [esp + 0xc8], edi
push 0
lea edi, [esp + 0xc4]
push edi
sub esp, 0x10
mov edi, esp
mov dword [edi], eax
lea ecx, [eax + 0xc]
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov ecx, dword [0x5b7470]
lea edx, [esi + 0x10]
mov ebp, 0xa2
mov ebx, 0x27e
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xe4], ebx
mov dword [edi + 0xc], edx
call fcn.00494970
mov edx, dword [eax]
fld dword [edx + 0x20]
mov ecx, 0x10
fadd dword [edx]
mov esi, 0x541610
fld dword [edx + 0x24]
lea edi, [esp + 0x50]
fadd dword [edx + 4]
rep movsd dword es:[edi], dword [esi]
fld dword [edx + 0x28]
fadd dword [edx + 8]
fstp dword [esp + 0x48]
fxch st(1)
fmul dword [0x5213d0]
fstp dword [esp + 0x34]
fmul dword [0x5213d0]
fld dword [esp + 0x48]
fmul dword [0x5213d0]
fld dword [esp + 0x90]
fld dword [esp + 0x94]
fpatan
fld st(0)
fcos
fxch st(1)
fsin
fld dword [esp + 0x50]
fmul st(1)
fchs
fstp dword [esp + 0x54]
fld dword [esp + 0x50]
fmul st(2)
fstp dword [esp + 0x50]
fld dword [esp + 0x64]
fmul st(1)
fstp dword [esp + 0x60]
mov ecx, edx
fstp st(0)
fmul dword [esp + 0x64]
fld dword [edx]
fsub dword [esp + 0x34]
fld dword [edx + 4]
fsub st(4)
fld dword [edx + 8]
fsub st(4)
fld dword [esp + 0x70]
fmul st(1)
fld st(2)
fmul dword [esp + 0x60]
faddp st(1)
fld st(3)
fmul dword [esp + 0x50]
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x74]
fmul st(1)
fld st(2)
fmul st(5)
faddp st(1)
fld dword [esp + 0x54]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x78]
fmul st(1)
fld dword [esp + 0x68]
fmul st(3)
faddp st(1)
fld dword [esp + 0x58]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x20]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x18]
fadd dword [esp + 0x34]
fstp dword [esp + 0x24]
mov esi, dword [esp + 0x24]
fld dword [esp + 0x1c]
mov dword [ecx], esi
fadd st(3)
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
mov esi, dword [esp + 0x28]
fadd st(2)
mov dword [ecx + 4], esi
fstp dword [esp + 0x2c]
mov esi, dword [esp + 0x2c]
mov dword [ecx + 8], esi
fld dword [edx + 0x20]
fsub dword [esp + 0x34]
fld dword [edx + 0x24]
fsub st(4)
fld dword [edx + 0x28]
fsub st(4)
fld dword [esp + 0x70]
fmul st(1)
fld st(2)
fmul dword [esp + 0x60]
faddp st(1)
fld st(3)
fmul dword [esp + 0x50]
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x74]
fmul st(1)
fld st(2)
fmul st(5)
faddp st(1)
fld dword [esp + 0x54]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x78]
fmul st(1)
fld dword [esp + 0x68]
fmul st(3)
faddp st(1)
fld dword [esp + 0x58]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x20]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x18]
fadd dword [esp + 0x34]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fld dword [esp + 0x1c]
mov dword [edx + 0x20], ecx
fadd st(3)
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
fadd st(2)
mov dword [edx + 0x24], ecx
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0x28], ecx
fld dword [edx + 0x40]
fsub dword [esp + 0x34]
fld dword [edx + 0x44]
fsub st(4)
fld dword [edx + 0x48]
fsub st(4)
fld dword [esp + 0x70]
fmul st(1)
fld st(2)
fmul dword [esp + 0x60]
faddp st(1)
fld st(3)
fmul dword [esp + 0x50]
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x74]
fmul st(1)
fld st(2)
fmul st(5)
faddp st(1)
fld dword [esp + 0x54]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x78]
fmul st(1)
fld dword [esp + 0x68]
fmul st(3)
faddp st(1)
fld dword [esp + 0x58]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x20]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x18]
fadd dword [esp + 0x34]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fadd st(3)
mov ecx, dword [esp + 0x24]
mov dword [edx + 0x40], ecx
add edx, 0x60
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
fadd st(2)
mov dword [edx - 0x1c], ecx
push eax
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov dword [edx - 0x18], ecx
fld dword [edx]
fsub dword [esp + 0x38]
fld dword [edx + 4]
fsub st(4)
fld dword [edx + 8]
fsub st(4)
fld dword [esp + 0x74]
fmul st(1)
fld st(2)
fmul dword [esp + 0x64]
faddp st(1)
fld st(3)
fmul dword [esp + 0x54]
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x78]
fmul st(1)
fld st(2)
fmul st(5)
faddp st(1)
fld dword [esp + 0x58]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x7c]
fmul st(1)
fld dword [esp + 0x6c]
fmul st(3)
faddp st(1)
fld dword [esp + 0x5c]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x24]
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fadd dword [esp + 0x38]
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fld dword [esp + 0x20]
mov dword [edx], ecx
fadd st(2)
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
fadd st(1)
mov dword [edx + 4], ecx
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], ecx
fstp st(0)
lea ecx, [esp + 0x12c]
fstp st(0)
call fcn.00427b00
xor ebx, ebx
fld dword [0x524e78]
mov edx, dword [esp + 0xb8]
fchs
mov eax, 0x40
fstp dword [esp + 0x44]
mov dword [esp + 0x5c], eax
fld dword [0x524e78]
mov dword [esp + 0x64], eax
fmul dword [0x522a44]
mov dword [esp + 0x6c], eax
mov eax, 5
mov ecx, 6
fstp dword [esp + 0x48]
mov dword [esp + 0xe0], eax
fld dword [0x524e78]
mov dword [esp + 0xf0], eax
fmul qword [0x524ef8]
lea eax, [esp + 0x40]
mov dword [esp + 0xac], edx
mov dword [esp + 0x40], 0
fstp dword [esp + 0x4c]
mov dword [esp + 0x50], 0x94
mov dword [esp + 0x54], 0x3e
mov dword [esp + 0x58], 0x9c
mov dword [esp + 0x60], 0xa3
mov dword [esp + 0x68], 0xac
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], 8
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], 7
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf4], ecx
mov dword [esp + 0x14], eax
xor esi, esi
mov edi, edi
mov ecx, dword [esp + 0x14]
fld dword [esp + 0xac]
fadd dword [ecx]
fld st(0)
fsin
fmul dword [0x524ef0]
call fcn.00514cfc
fcos
mov edi, eax
mov dword [esp + 0xb8], edi
fmul dword [0x524ef0]
call fcn.00514cfc
fild dword [esp + 0xb8]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xd4], eax
fabs
mov dword [esp + 0xd0], edi
fild dword [esp + 0xbc]
fabs
fstp qword [esp + 0x24]
fcom qword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x43fb9e
fstp st(0)
fld qword [esp + 0x24]
fdivr qword [0x524ee8]
fild dword [esp + 0xb8]
fmul st(1)
call fcn.00514cfc
fild dword [esp + 0xd4]
mov edi, eax
fmul st(1)
call fcn.00514cfc
fstp st(0)
mov ecx, dword [esp + esi + 0xdc]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb0]
mov edx, ecx
sar edx, 1
sub ebx, edx
mov edx, dword [esp + esi + 0xd8]
lea eax, [ebx + eax + 1]
mov ebx, edx
sar ebx, 1
sub ebp, ebx
lea edi, [edi + ebp - 1]
lea ebx, [edi + edx]
mov edx, dword [esp + esi + 0x50]
add ecx, eax
lea ebp, [edx + 0x200]
mov dword [esp + 0x124], ecx
mov ecx, dword [esp + esi + 0x54]
mov dword [esp + 0x160], ebp
lea ebp, [ecx + 0x200]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x160]
mov dword [esp + 0xa0], ecx
push 0
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [0x5b7470]
mov dword [esp + 0xac], edx
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x13c]
mov dword [edx + 8], ebx
mov dword [esp + 0xc0], ebp
mov dword [edx + 0xc], eax
call fcn.00494970
push eax
lea ecx, [esp + 0x12c]
call fcn.00427b00
mov edx, dword [esp + 0x14]
add edx, 4
add esi, 8
cmp esi, 0x20
mov dword [esp + 0x14], edx
jl 0x43fb30
mov ecx, dword [esp + 0x244]
push 0
push 0
push 0
push ecx
mov ecx, dword [0x5b7470]
mov eax, dword [ecx + 0x26fc]
lea edx, [esp + 0x138]
push edx
push eax
call fcn.00495320
mov ecx, dword [0x5b746c]
push eax
push 6
call fcn.004a2570
mov eax, dword [esp + 0x128]
test eax, eax
je 0x43fce3
push eax
call fcn.00514cf6
add esp, 4
mov dword [esp + 0x128], 0
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x43fcf7
push eax
call fcn.00514cf6
add esp, 4
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x230
ret 8