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

Disassembly:
sub esp, 0x21c
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x1c]
push edi
mov dword [esp + 0x11c], ebx
mov edi, dword [eax]
cmp edi, eax
mov dword [esp + 0x28], edi
je 0x48957a
mov esi, dword [edi + 8]
test esi, esi
je 0x487de6
mov ecx, dword [esi + 0xc4]
test ecx, ecx
jne 0x487e10
lea eax, [esi + 0x18]
lea ecx, [esp + 0xec]
push eax
push ecx
lea ecx, [ebx + 0x24]
call fcn.0048afe0
mov eax, dword [esp + 0xec]
mov ecx, dword [ebx + 0x28]
cmp eax, ecx
je 0x487ddd
mov eax, dword [eax + 0x1c]
dec dword [eax + 4]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [ecx + 4], edx
call fcn.00726ea6
mov eax, dword [ebx + 0x20]
add esp, 4
dec eax
mov edi, esi
mov dword [ebx + 0x20], eax
mov dword [esp + 0x28], edi
jmp 0x4893be
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
je 0x4893a4
cmp eax, 5
je 0x4893a4
cmp ecx, 2
jne 0x4893a4
mov edi, dword [0x93c978]
mov eax, dword [esi + 0xfc]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x174]
push ecx
push edx
lea ecx, [edi + 0x38]
mov dword [esp + 0x1c], eax
call fcn.0047a320
mov eax, dword [esp + 0x174]
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
je 0x487e77
mov eax, dword [eax + 0x10]
mov ebx, 5
cmp dword [eax + 0x2fc], ebx
je 0x487e7c
test eax, eax
jne 0x487ee9
jmp 0x487e7c
mov ebx, 5
mov edi, dword [0x93c978]
mov eax, dword [esi + 0xfc]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x188]
push ecx
push edx
lea ecx, [edi + 0x28]
mov dword [esp + 0x1c], eax
call fcn.0047a390
mov eax, dword [esp + 0x188]
mov ecx, dword [edi + 0x2c]
cmp eax, ecx
je 0x487ebe
mov eax, dword [eax + 0x10]
test eax, eax
je 0x487ebe
cmp dword [eax + 0x2fc], ebx
jne 0x487ee9
mov eax, dword [0x93c97c]
mov ecx, dword [eax + 0x474]
mov eax, dword [esi + 0xfc]
cmp ecx, eax
je 0x487ee9
xor edi, edi
mov ecx, esi
push edi
call fcn.004838e0
mov dword [esi + 0x138], edi
mov dword [esi + 0x148], edi
mov edx, dword [0x93c97c]
mov ecx, dword [esi + 0xfc]
mov eax, dword [edx + 0x474]
cmp eax, ecx
jne 0x487f09
mov ebp, 1
jmp 0x487f98
cmp eax, dword [esi + 0x100]
jne 0x487f4d
mov edi, dword [0x93c978]
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10c]
push eax
push ecx
lea ecx, [edi + 0x38]
call fcn.0047a320
mov eax, dword [esp + 0x10c]
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
je 0x487f93
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x2fc], ebx
je 0x487f93
test eax, eax
je 0x487f93
mov edi, dword [0x93c978]
mov edx, dword [esi + 0xfc]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x178]
push eax
push ecx
lea ecx, [edi + 0x38]
mov dword [esp + 0x1c], edx
call fcn.0047a320
mov eax, dword [esp + 0x178]
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
je 0x487f93
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x2fc], ebx
je 0x487f93
test eax, eax
jne 0x4893a4
mov ebp, 2
mov eax, dword [0x93c978]
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x13], 0
mov edx, dword [eax + 0x3c]
mov ecx, dword [edx]
mov edx, dword [esi + 0x44]
mov dword [esp + 0x48], ecx
mov ebx, dword [eax + 0x3c]
mov al, byte [0x93f93c]
mov dword [esp + 0x24], ebx
test al, 1
mov dword [esp + 0x54], edx
jne 0x487fde
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f93c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x54]
fmul dword [esi + 0xec]
fstp dword [0x93f940]
fld dword [esp + 0x54]
fmul dword [esi + 0xf0]
mov eax, dword [0x93f940]
mov dword [esp + 0x12c], eax
mov eax, dword [0x7a3fd8]
mov dword [esp + 0x58], eax
mov al, byte [0x93f93c]
fstp dword [0x93f944]
fld dword [esp + 0x54]
fmul dword [esi + 0xf4]
mov ecx, dword [0x93f944]
test al, 1
mov dword [esp + 0x130], ecx
fstp dword [0x93f948]
mov edx, dword [0x93f948]
mov dword [esp + 0x134], edx
jne 0x48805e
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f93c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x12c]
fmul dword [esp + 0x58]
lea edi, [esi + 0xc8]
fstp dword [0x93f940]
fld dword [esp + 0x130]
fmul dword [esp + 0x58]
mov ecx, dword [0x93f940]
mov dword [esp + 0x17c], ecx
fstp dword [0x93f944]
fld dword [esp + 0x134]
fmul dword [esp + 0x58]
mov edx, dword [0x93f944]
mov dword [esp + 0x180], edx
fstp dword [0x93f948]
mov eax, dword [0x93f948]
mov dword [esp + 0x184], eax
mov al, byte [0x93f914]
test al, 1
jne 0x4880de
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f914], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x17c]
fadd dword [edi]
fstp dword [0x93f920]
fld dword [esp + 0x180]
fadd dword [edi + 4]
mov ecx, dword [0x93f920]
mov dword [esp + 0x144], ecx
fstp dword [0x93f924]
fld dword [esp + 0x184]
fadd dword [edi + 8]
mov edx, dword [0x93f924]
mov dword [esp + 0x148], edx
fstp dword [0x93f928]
mov eax, dword [0x93f928]
mov dword [esp + 0x14c], eax
mov al, byte [0x93f97c]
test al, 1
jne 0x488154
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [edi]
fsub dword [esp + 0x144]
fstp dword [0x93f980]
fld dword [edi + 4]
fsub dword [esp + 0x148]
mov ecx, dword [0x93f980]
mov dword [esp + 0x80], ecx
mov ecx, dword [0x93c97c]
add ecx, 0x98
fstp dword [0x93f984]
fld dword [edi + 8]
fsub dword [esp + 0x14c]
mov edx, dword [0x93f984]
mov dword [esp + 0x84], edx
fstp dword [0x93f988]
fld dword [esp + 0x80]
mov eax, dword [0x93f988]
mov edx, dword [ecx]
fmul dword [esp + 0x80]
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 4]
fld dword [esp + 0x88]
fmul dword [esp + 0x88]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x190], eax
mov al, byte [0x93f97c]
mov dword [esp + 0x18c], edx
faddp st(1)
fld dword [esp + 0x84]
fmul dword [esp + 0x84]
test al, 1
mov dword [esp + 0x194], ecx
faddp st(1)
fsqrt
fstp dword [esp + 0x14]
jne 0x488227
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [edi]
fsub dword [esp + 0x18c]
cmp ebp, 2
fstp dword [0x93f980]
fld dword [edi + 4]
fsub dword [esp + 0x190]
mov edx, dword [0x93f980]
mov dword [esp + 0xa4], edx
fstp dword [0x93f984]
fld dword [edi + 8]
fsub dword [esp + 0x194]
mov eax, dword [0x93f984]
mov dword [esp + 0xa8], eax
fstp dword [0x93f988]
fld dword [esp + 0xa4]
mov ecx, dword [0x93f988]
fmul dword [esp + 0xa4]
mov dword [esp + 0xac], ecx
fld dword [esp + 0xac]
fmul dword [esp + 0xac]
faddp st(1)
fld dword [esp + 0xa8]
fmul dword [esp + 0xa8]
faddp st(1)
fsqrt
fstp dword [esp + 0x1a4]
jne 0x488546
mov edx, dword [0x93c97c]
add edx, 0x98
mov eax, dword [edx]
mov dword [esp + 0xc8], eax
mov al, byte [0x93f97c]
mov ecx, dword [edx + 4]
test al, 1
mov edx, dword [edx + 8]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
jne 0x488306
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [edi]
fsub dword [esp + 0xc8]
fstp dword [0x93f980]
fld dword [edi + 4]
fsub dword [esp + 0xcc]
mov eax, dword [0x93f980]
mov dword [esp + 0x74], eax
fstp dword [0x93f984]
fld dword [edi + 8]
fsub dword [esp + 0xd0]
mov ecx, dword [0x93f984]
mov dword [esp + 0x78], ecx
fstp dword [0x93f988]
fld dword [esp + 0x74]
mov edx, dword [0x93f988]
fmul dword [esp + 0x74]
mov dword [esp + 0x7c], edx
fld dword [esp + 0x7c]
fmul dword [esp + 0x7c]
faddp st(1)
fld dword [esp + 0x78]
fmul dword [esp + 0x78]
faddp st(1)
fsqrt
fcomp dword [0x76644c]
fnstsw ax
test ah, 1
je 0x488546
mov ecx, dword [0x93c97c]
lea eax, [esp + 0x208]
push eax
call fcn.0046c3f0
mov al, byte [0x93f93c]
mov ecx, dword [esi + 0x44]
test al, 1
mov dword [esp + 0x44], ecx
jne 0x4883bc
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f93c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x44]
fmul dword [esi + 0xec]
fstp dword [0x93f940]
fld dword [esp + 0x44]
fmul dword [esi + 0xf0]
mov edx, dword [0x93f940]
mov dword [esp + 0x158], edx
mov edx, dword [0x7a3fd8]
mov dword [esp + 0x4c], edx
fstp dword [0x93f944]
fld dword [esp + 0x44]
fmul dword [esi + 0xf4]
mov eax, dword [0x93f944]
mov dword [esp + 0x15c], eax
mov al, byte [0x93f93c]
test al, 1
fstp dword [0x93f948]
mov ecx, dword [0x93f948]
mov dword [esp + 0x160], ecx
jne 0x48843d
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f93c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x158]
fmul dword [esp + 0x4c]
fstp dword [0x93f940]
fld dword [esp + 0x15c]
fmul dword [esp + 0x4c]
mov eax, dword [0x93f940]
mov dword [esp + 0x198], eax
mov al, byte [0x93f914]
test al, 1
fstp dword [0x93f944]
fld dword [esp + 0x160]
fmul dword [esp + 0x4c]
mov ecx, dword [0x93f944]
mov dword [esp + 0x19c], ecx
fstp dword [0x93f948]
mov edx, dword [0x93f948]
mov dword [esp + 0x1a0], edx
jne 0x4884b7
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f914], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x198]
fadd dword [edi]
xor ebp, ebp
push ebp
fstp dword [0x93f920]
fld dword [esp + 0x1a0]
fadd dword [edi + 4]
mov eax, dword [0x93f920]
mov dword [esp + 0x200], eax
lea eax, [esp + 0x1c]
push eax
fstp dword [0x93f924]
fld dword [esp + 0x1a8]
fadd dword [edi + 8]
mov ecx, dword [0x93f924]
mov dword [esp + 0x208], ecx
lea ecx, [esp + 0x204]
push ecx
mov ecx, dword [0x93c97c]
fstp dword [0x93f928]
mov edx, dword [0x93f928]
push edi
mov dword [esp + 0x214], edx
call fcn.004677f0
cmp al, 1
je 0x4893d2
fld dword [esp + 0x14]
fcomp dword [esp + 0x1a4]
fnstsw ax
test ah, 0x41
je 0x4894a9
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x488817
mov ebx, dword [esp + 0x2c]
mov ebp, dword [eax + 0x10]
test ebp, ebp
je 0x4887fe
cmp ebx, 1
jne 0x48857a
mov ecx, dword [0x93c97c]
push ebp
call fcn.00478620
test al, al
je 0x4887fe
lea edx, [ebp + 0x98]
mov eax, dword [ebp + 0x98]
mov dword [esp + 0x168], eax
mov al, byte [0x93f97c]
mov ecx, dword [edx + 4]
test al, 1
mov edx, dword [edx + 8]
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], edx
jne 0x4885c2
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [edi]
fsub dword [esp + 0x168]
fstp dword [0x93f980]
fld dword [edi + 4]
fsub dword [esp + 0x16c]
mov eax, dword [0x93f980]
mov dword [esp + 0x98], eax
fstp dword [0x93f984]
fld dword [edi + 8]
fsub dword [esp + 0x170]
mov ecx, dword [0x93f984]
mov dword [esp + 0x9c], ecx
fstp dword [0x93f988]
mov edx, dword [0x93f988]
mov dword [esp + 0xa0], edx
fld dword [esp + 0xa0]
fmul dword [esp + 0xa0]
fld dword [esp + 0x9c]
fmul dword [esp + 0x9c]
faddp st(1)
fld dword [esp + 0x98]
fmul dword [esp + 0x98]
faddp st(1)
fsqrt
fcomp dword [0x76664c]
fnstsw ax
test ah, 0x41
je 0x4887fe
lea eax, [esp + 0x214]
mov ecx, ebp
push eax
call fcn.0046c3f0
mov al, byte [0x93f93c]
mov ecx, dword [esi + 0x44]
test al, 1
mov dword [esp + 0x3c], ecx
jne 0x48868f
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f93c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x3c]
fmul dword [esi + 0xec]
fstp dword [0x93f940]
fld dword [esp + 0x3c]
fmul dword [esi + 0xf0]
mov edx, dword [0x93f940]
mov dword [esp + 0xd4], edx
mov edx, dword [0x7a3fd8]
mov dword [esp + 0x50], edx
fstp dword [0x93f944]
fld dword [esp + 0x3c]
fmul dword [esi + 0xf4]
mov eax, dword [0x93f944]
mov dword [esp + 0xd8], eax
mov al, byte [0x93f93c]
test al, 1
fstp dword [0x93f948]
mov ecx, dword [0x93f948]
mov dword [esp + 0xdc], ecx
jne 0x488710
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f93c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0xd4]
fmul dword [esp + 0x50]
fstp dword [0x93f940]
fld dword [esp + 0xd8]
fmul dword [esp + 0x50]
mov eax, dword [0x93f940]
mov dword [esp + 0xe0], eax
mov al, byte [0x93f914]
test al, 1
fstp dword [0x93f944]
fld dword [esp + 0xdc]
fmul dword [esp + 0x50]
mov ecx, dword [0x93f944]
mov dword [esp + 0xe4], ecx
fstp dword [0x93f948]
mov edx, dword [0x93f948]
mov dword [esp + 0xe8], edx
jne 0x48878a
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f914], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0xe0]
fadd dword [edi]
push 0
fstp dword [0x93f920]
fld dword [esp + 0xe8]
fadd dword [edi + 4]
mov eax, dword [0x93f920]
mov dword [esp + 0x1dc], eax
lea eax, [esp + 0x1c]
push eax
fstp dword [0x93f924]
fld dword [esp + 0xf0]
fadd dword [edi + 8]
mov ecx, dword [0x93f924]
mov dword [esp + 0x1e4], ecx
lea ecx, [esp + 0x1e0]
push ecx
push edi
fstp dword [0x93f928]
mov edx, dword [0x93f928]
mov ecx, ebp
mov dword [esp + 0x1f0], edx
call fcn.004677f0
cmp al, 1
je 0x488966
lea ecx, [esp + 0x48]
call fcn.0047a490
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jne 0x488556
fld dword [0x7a3fd8]
fmul dword [esi + 0x44]
mov al, byte [0x93f93c]
test al, 1
fmul dword [0x765eb4]
fstp dword [esp + 0x14]
jne 0x48884b
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f93c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x14]
fmul dword [esi + 0xec]
fstp dword [0x93f940]
fld dword [esp + 0x14]
fmul dword [esi + 0xf0]
mov edx, dword [0x93f940]
mov dword [esp + 0xf0], edx
fstp dword [0x93f944]
fld dword [esp + 0x14]
fmul dword [esi + 0xf4]
mov eax, dword [0x93f944]
mov dword [esp + 0xf4], eax
mov al, byte [0x93f914]
test al, 1
fstp dword [0x93f948]
mov ecx, dword [0x93f948]
mov dword [esp + 0xf8], ecx
jne 0x4888c2
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f914], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0xf0]
fadd dword [edi]
mov ebp, dword [0x93c978]
fstp dword [0x93f920]
fld dword [esp + 0xf4]
fadd dword [edi + 4]
mov edx, dword [0x93f920]
mov dword [esp + 0x1c0], edx
fstp dword [0x93f924]
fld dword [esp + 0xf8]
fadd dword [edi + 8]
mov eax, dword [0x93f924]
mov dword [esp + 0x1c4], eax
fstp dword [0x93f928]
mov ecx, dword [0x93f928]
mov dword [esp + 0x1c8], ecx
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx]
mov edx, dword [esi + 0xfc]
mov dword [esp + 0x40], eax
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x150]
push eax
push ecx
lea ecx, [ebp + 0x28]
mov dword [esp + 0x2c], edx
call fcn.0047a390
mov eax, dword [esp + 0x150]
mov ecx, dword [ebp + 0x2c]
cmp eax, ecx
je 0x4889e6
mov ebx, dword [eax + 0x10]
jmp 0x4889e8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov dword [edi + 8], ecx
push ebx
mov ecx, esi
mov byte [esp + 0x17], 1
mov dword [edi], edx
mov dword [edi + 4], eax
call fcn.004838e0
mov edx, dword [esi + 0x11c]
mov dword [esi + 0x138], ebx
mov dword [esi + 0x148], ebx
mov eax, dword [0x93fa62]
push edx
mov ecx, dword [eax + 0x1cc]
call fcn.006120c0
mov ecx, dword [esi + 0x11c]
push 0
push 0
mov ebx, eax
mov dword [esp + 0x1f8], 0
mov dword [esp + 0x1fc], 0
mov dword [esp + 0x200], 0
push ecx
lea edx, [esp + 0x1fc]
jmp 0x488f34
xor ebx, ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x488dd4
mov ebp, dword [eax + 0x10]
test ebp, ebp
je 0x488dbb
cmp dword [esp + 0x2c], 1
jne 0x488a1e
mov ecx, dword [0x93c97c]
push ebp
call fcn.00478620
test al, al
je 0x488dbb
test ebx, ebx
je 0x488a3a
cmp dword [esp + 0x2c], 2
jne 0x488a3a
push ebp
push ebx
mov ecx, ebx
call fcn.006aab40
test al, al
je 0x488dbb
lea edx, [ebp + 0x98]
mov eax, dword [ebp + 0x98]
mov dword [esp + 0x100], eax
mov al, byte [0x93f97c]
mov ecx, dword [edx + 4]
test al, 1
mov edx, dword [edx + 8]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], edx
jne 0x488a82
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [edi]
fsub dword [esp + 0x100]
fstp dword [0x93f980]
fld dword [edi + 4]
fsub dword [esp + 0x104]
mov eax, dword [0x93f980]
mov dword [esp + 0x68], eax
fstp dword [0x93f984]
fld dword [edi + 8]
fsub dword [esp + 0x108]
mov ecx, dword [0x93f984]
mov dword [esp + 0x6c], ecx
fstp dword [0x93f988]
mov edx, dword [0x93f988]
mov dword [esp + 0x70], edx
fld dword [esp + 0x70]
fmul dword [esp + 0x70]
fld dword [esp + 0x6c]
fmul dword [esp + 0x6c]
faddp st(1)
fld dword [esp + 0x68]
fmul dword [esp + 0x68]
faddp st(1)
fsqrt
fcomp dword [0x76664c]
fnstsw ax
test ah, 0x41
je 0x488dbb
mov eax, dword [ebp + 0x450]
test eax, eax
je 0x488d8d
lea ecx, [eax + 0x54]
lea edx, [esp + 0xbc]
push ecx
push edx
lea ecx, [eax + 0x11c]
call fcn.00424b80
mov eax, dword [ebp + 0x450]
lea edx, [esp + 0x1e4]
lea ecx, [eax + 0x54]
push ecx
push edx
lea ecx, [eax + 0x128]
call fcn.00424b80
mov al, byte [0x93f97c]
test al, 1
jne 0x488b60
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x1e4]
fsub dword [esp + 0xbc]
fstp dword [0x93f980]
fld dword [esp + 0x1e8]
fsub dword [esp + 0xc0]
mov eax, dword [0x93f980]
mov dword [esp + 0x110], eax
mov al, byte [0x93f93c]
test al, 1
fstp dword [0x93f984]
fld dword [esp + 0x1ec]
fsub dword [esp + 0xc4]
mov ecx, dword [0x93f984]
mov dword [esp + 0x114], ecx
fstp dword [0x93f988]
mov edx, dword [0x93f988]
mov dword [esp + 0x118], edx
jne 0x488be3
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f93c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x110]
fmul dword [0x765810]
fstp dword [0x93f940]
fld dword [esp + 0x114]
fmul dword [0x765810]
mov eax, dword [0x93f940]
mov dword [esp + 0x120], eax
mov al, byte [0x93f914]
test al, 1
fstp dword [0x93f944]
fld dword [esp + 0x118]
fmul dword [0x765810]
mov ecx, dword [0x93f944]
mov dword [esp + 0x124], ecx
fstp dword [0x93f948]
mov edx, dword [0x93f948]
mov dword [esp + 0x128], edx
jne 0x488c63
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f914], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x120]
fadd dword [esp + 0xbc]
fstp dword [0x93f920]
fld dword [esp + 0x124]
fadd dword [esp + 0xc0]
mov eax, dword [0x93f920]
mov dword [esp + 0x138], eax
mov al, byte [0x93f97c]
test al, 1
fstp dword [0x93f924]
fld dword [esp + 0x128]
fadd dword [esp + 0xc4]
mov ecx, dword [0x93f924]
mov dword [esp + 0x13c], ecx
fstp dword [0x93f928]
fld dword [0x7a3fd8]
fmul dword [esi + 0x44]
mov edx, dword [0x93f928]
mov dword [esp + 0x140], edx
fmul dword [0x7666a8]
fstp dword [esp + 0x24]
jne 0x488cf9
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [edi]
fsub dword [esp + 0x138]
fstp dword [0x93f980]
fld dword [edi + 4]
fsub dword [esp + 0x13c]
mov eax, dword [0x93f980]
mov dword [esp + 0xb0], eax
fstp dword [0x93f984]
fld dword [edi + 8]
fsub dword [esp + 0x140]
mov ecx, dword [0x93f984]
mov dword [esp + 0xb4], ecx
fstp dword [0x93f988]
mov edx, dword [0x93f988]
mov dword [esp + 0xb8], edx
fld dword [esp + 0xb8]
fmul dword [esp + 0xb8]
fld dword [esp + 0xb4]
fmul dword [esp + 0xb4]
faddp st(1)
fld dword [esp + 0xb0]
fmul dword [esp + 0xb0]
faddp st(1)
fsqrt
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x488e2a
lea eax, [esp + 0x220]
mov ecx, ebp
push eax
call fcn.0046c3f0
lea ecx, [esp + 0x18]
push 0
lea edx, [esp + 0x1c4]
push ecx
push edx
push edi
mov ecx, ebp
call fcn.004677f0
cmp al, 1
je 0x488ec5
lea ecx, [esp + 0x40]
call fcn.0047a400
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jne 0x4889f8
mov ebp, dword [0x93c978]
mov edx, dword [esi + 0xfc]
lea eax, [esp + 0x24]
lea ecx, [esp + 0xfc]
push eax
push ecx
lea ecx, [ebp + 0x28]
mov dword [esp + 0x2c], edx
call fcn.0047a390
mov eax, dword [esp + 0xfc]
mov ecx, dword [ebp + 0x2c]
cmp eax, ecx
je 0x488f90
mov eax, dword [eax + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x488f92
cmp dword [eax + 0x2fc], 5
jne 0x488fc6
jmp 0x488f92
xor ebx, ebx
mov ecx, esi
push ebx
mov byte [esp + 0x17], 1
call fcn.004838e0
mov eax, dword [esi + 0x11c]
mov dword [esi + 0x138], ebx
mov dword [esi + 0x148], ebx
mov ecx, dword [0x93fa62]
push eax
mov ecx, dword [ecx + 0x1cc]
call fcn.006120c0
mov edx, dword [esi + 0x11c]
mov ecx, dword [ebp + 0x474]
mov ebx, eax
push 0
push 0
lea eax, [esp + 0x1d4]
push edx
mov edx, dword [esi + 0xfc]
push eax
mov eax, dword [0x93fa62]
push ecx
push edx
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
mov dword [esp + 0x1ec], 0
mov ecx, dword [eax + 0x1cc]
push ebx
push 3
call fcn.00609d60
mov ecx, dword [esi + 0x11c]
push 0
push ecx
push 0xffffffffffffff9b
push edi
jmp 0x488f67
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov dword [edi + 8], ecx
push ebx
mov ecx, esi
mov byte [esp + 0x17], 1
mov dword [edi], edx
mov dword [edi + 4], eax
call fcn.004838e0
mov edx, dword [esi + 0x11c]
mov dword [esi + 0x138], ebx
mov dword [esi + 0x148], ebx
mov eax, dword [0x93fa62]
push edx
mov ecx, dword [eax + 0x1cc]
call fcn.006120c0
mov ecx, dword [esi + 0x11c]
push 0
push 0
mov ebx, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push ecx
lea edx, [esp + 0x3c]
mov eax, dword [ebp + 0x474]
mov ecx, dword [esi + 0xfc]
push edx
mov edx, dword [0x93fa62]
push eax
push ecx
mov ecx, dword [edx + 0x1cc]
push ebx
push 3
call fcn.00609d60
mov eax, dword [esi + 0x11c]
push 0
push eax
lea ecx, [esp + 0x20]
push 0xffffffffffffff9b
push ecx
mov edx, dword [ebp + 0x474]
mov eax, dword [esi + 0xfc]
mov ecx, dword [0x93fa62]
push edx
push eax
push ebx
mov ecx, dword [ecx + 0x1cc]
push 4
call fcn.00609d60
xor ebx, ebx
jmp 0x489234
xor ebx, ebx
mov edx, dword [0x93c974]
push 1
fld dword [0x7a3fd8]
mov ecx, dword [edx + 0x1c]
push ebx
fmul dword [esi + 0x44]
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push ebx
push eax
push ecx
lea eax, [esi + 0xec]
fstp dword [esp]
push eax
push edi
call dword [edx + 0x60]
cmp al, 1
je 0x489197
mov ebp, dword [0x93c978]
mov edx, dword [esi + 0xfc]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x154]
push eax
push ecx
lea ecx, [ebp + 0x28]
mov dword [esp + 0x2c], edx
call fcn.0047a390
mov eax, dword [esp + 0x154]
mov ecx, dword [ebp + 0x2c]
cmp eax, ecx
je 0x489171
mov eax, dword [eax + 0x10]
cmp eax, ebx
je 0x489171
cmp dword [eax + 0x2fc], 5
je 0x489171
mov ecx, dword [0x93c97c]
lea edx, [esp + 0x5c]
push edx
call fcn.0046c3f0
fld dword [esp + 0x5c]
fsub dword [edi]
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fsub dword [edi + 4]
fst dword [esp + 0x60]
fld dword [esp + 0x64]
fsub dword [edi + 8]
fst dword [esp + 0x64]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x5c]
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcomp dword [0x7666a4]
fnstsw ax
test ah, 1
je 0x4890d4
mov eax, dword [0x93c974]
mov ebp, dword [esp + 0x30]
mov edx, dword [edi]
sub esp, 0xc
mov ecx, dword [eax + 0x1c]
mov eax, esp
mov dword [esp + 0x170], edx
mov dword [eax], ebp
mov ebp, dword [esp + 0x40]
mov edx, dword [ecx]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x44]
mov dword [eax + 8], ebp
mov eax, dword [esp + 0x170]
push eax
push eax
call dword [edx + 0x44]
test al, al
je 0x4890d4
mov ecx, dword [0x93c974]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x44]
mov ecx, dword [ecx + 0x1c]
push eax
lea eax, [esi + 0xec]
mov edx, dword [ecx]
push eax
push edi
call dword [edx + 0x38]
test al, al
je 0x489234
jmp 0x489197
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x20], ecx
push ebx
mov ecx, esi
mov byte [esp + 0x17], 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.004838e0
mov edx, dword [esi + 0x11c]
mov dword [esi + 0x138], ebx
mov dword [esi + 0x148], ebx
mov eax, dword [0x93fa62]
push edx
mov ecx, dword [eax + 0x1cc]
call fcn.006120c0
mov ecx, dword [esi + 0x11c]
push ebx
push ebx
lea edx, [esp + 0x20]
mov ebp, eax
mov eax, dword [esi + 0xfc]
push ecx
mov ecx, dword [0x93fa62]
push edx
push 0xffffffffffffffff
mov ecx, dword [ecx + 0x1cc]
push eax
push ebp
push 3
call fcn.00609d60
mov edx, dword [esi + 0x11c]
mov ecx, dword [esi + 0xfc]
push ebx
push edx
mov edx, dword [0x93fa62]
lea eax, [esp + 0x20]
push 0xffffffffffffff9b
push eax
push 0xffffffffffffffff
push ecx
mov ecx, dword [edx + 0x1cc]
push ebp
push 4
jmp 0x48922f
mov eax, dword [0x93c974]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x44]
mov edx, dword [ecx]
push eax
lea eax, [esi + 0xec]
push eax
push edi
call dword [edx + 0x38]
test al, al
je 0x489234
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [edi], ecx
mov dword [edi + 4], edx
push ebx
mov ecx, esi
mov byte [esp + 0x17], 1
mov dword [edi + 8], eax
call fcn.004838e0
mov ecx, dword [esi + 0x11c]
mov dword [esi + 0x138], ebx
mov dword [esi + 0x148], ebx
mov edx, dword [0x93fa62]
push ecx
mov ecx, dword [edx + 0x1cc]
call fcn.006120c0
mov edx, dword [esi + 0xfc]
mov ebp, eax
mov eax, dword [esi + 0x11c]
push ebx
push ebx
lea ecx, [esp + 0x20]
push eax
mov eax, dword [0x93fa62]
push ecx
push 0xffffffffffffffff
mov ecx, dword [eax + 0x1cc]
push edx
push ebp
push 3
call fcn.00609d60
mov ecx, dword [esi + 0x11c]
mov eax, dword [esi + 0xfc]
push ebx
push ecx
mov ecx, dword [0x93fa62]
lea edx, [esp + 0x20]
push 0xffffffffffffff9b
push edx
mov ecx, dword [ecx + 0x1cc]
push 0xffffffffffffffff
push eax
push ebp
push 4
call fcn.00609d60
mov edx, edi
mov eax, dword [edx]
mov dword [esp + 0x1a8], eax
mov eax, dword [0x93c97c]
mov ecx, dword [edx + 4]
add eax, 0x98
mov dword [esp + 0x1ac], ecx
mov edx, dword [edx + 8]
mov ecx, dword [eax]
mov dword [esp + 0x1b0], edx
mov dword [esp + 0x1b4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1b8], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x1bc], eax
mov al, byte [esp + 0x13]
test al, al
jne 0x4893a4
mov al, byte [esi + 0x12c]
test al, al
je 0x4893a4
mov al, byte [0x93f97c]
test al, 1
jne 0x4892b5
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x1a8]
fsub dword [esp + 0x1b4]
mov dword [0x93f984], 0
mov edx, dword [0x93f984]
mov dword [esp + 0x90], edx
fstp dword [0x93f980]
fld dword [esp + 0x1b0]
fsub dword [esp + 0x1bc]
mov ecx, dword [0x93f980]
mov dword [esp + 0x8c], ecx
fstp dword [0x93f988]
mov eax, dword [0x93f988]
mov dword [esp + 0x94], eax
fld dword [esp + 0x94]
fmul dword [esp + 0x94]
fld dword [esp + 0x90]
fmul dword [esp + 0x90]
faddp st(1)
fld dword [esp + 0x8c]
fmul dword [esp + 0x8c]
faddp st(1)
fsqrt
fcomp dword [0x7666a0]
fnstsw ax
test ah, 0x41
jne 0x4893a4
push ebx
mov ecx, esi
call fcn.004838e0
mov ecx, dword [esi + 0x11c]
mov dword [esi + 0x138], ebx
mov dword [esi + 0x148], ebx
mov byte [esi + 0x12c], 0
mov edx, dword [0x93fa62]
push ecx
mov ecx, dword [edx + 0x1cc]
call fcn.006120c0
mov ecx, dword [esi + 0x11c]
mov edx, dword [esi + 0xfc]
push ebx
push ecx
push 0xffffffffffffff9b
push edi
push 0xffffffffffffffff
push edx
push eax
mov eax, dword [0x93fa62]
push 4
mov ecx, dword [eax + 0x1cc]
call fcn.00609d60
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x11c]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edi, ecx
cmp edi, dword [ebx + 0x1c]
jne 0x487da4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xd0], ecx
push ebp
mov ecx, esi
mov dword [esi + 0xc8], edx
mov dword [esi + 0xcc], eax
call fcn.004838e0
mov edx, dword [esi + 0x11c]
mov dword [esi + 0x138], ebp
mov dword [esi + 0x148], ebp
mov eax, dword [0x93fa62]
push edx
mov ecx, dword [eax + 0x1cc]
call fcn.006120c0
mov ecx, dword [esi + 0x11c]
mov edi, eax
mov eax, dword [0x93c97c]
push ebp
push ebp
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push ecx
mov ecx, dword [eax + 0x474]
mov eax, dword [0x93fa62]
push edx
mov edx, dword [esi + 0xfc]
push ecx
mov ecx, dword [eax + 0x1cc]
push edx
push edi
push 3
call fcn.00609d60
mov ecx, dword [esi + 0x11c]
mov eax, dword [0x93c97c]
push ebp
push ecx
mov ecx, dword [eax + 0x474]
mov eax, dword [0x93fa62]
lea edx, [esp + 0x20]
push 0xffffffffffffff9b
push edx
mov edx, dword [esi + 0xfc]
push ecx
mov ecx, dword [eax + 0x1cc]
push edx
push edi
push 4
call fcn.00609d60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc8], ecx
push ebp
mov ecx, esi
mov dword [esi + 0xcc], edx
mov dword [esi + 0xd0], eax
call fcn.004838e0
mov ecx, dword [esi + 0x11c]
mov dword [esi + 0x138], ebp
mov dword [esi + 0x148], ebp
mov edx, dword [0x93fa62]
push ecx
mov ecx, dword [edx + 0x1cc]
call fcn.006120c0
mov edx, dword [0x93c97c]
mov edi, eax
mov eax, dword [esi + 0x11c]
push ebp
push ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push eax
mov eax, dword [edx + 0x474]
mov edx, dword [0x93fa62]
push ecx
mov ecx, dword [esi + 0xfc]
push eax
push ecx
mov ecx, dword [edx + 0x1cc]
push edi
push 3
call fcn.00609d60
mov eax, dword [esi + 0x11c]
mov edx, dword [0x93c97c]
push ebp
push eax
mov eax, dword [edx + 0x474]
mov edx, dword [0x93fa62]
lea ecx, [esp + 0x20]
push 0xffffffffffffff9b
push ecx
mov ecx, dword [esi + 0xfc]
push eax
push ecx
mov ecx, dword [edx + 0x1cc]
push edi
push 4
call fcn.00609d60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret