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

Disassembly:
push 0xffffffffffffffff
push 0x6c99db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
mov eax, dword [0x1070aec]
mov ecx, dword [0x1070ae8]
mov edx, dword [esp + 0x1a0]
push ebx
push ebp
push esi
push edi
push eax
mov eax, dword [esp + 0x1b0]
push ecx
push edx
push eax
call fcn.0059cbb0
mov ecx, dword [0x107068c]
mov edx, dword [0x1070690]
mov eax, dword [0x1070694]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x106aad4]
mov dword [esp + 0x54], edx
mov edx, dword [0x106aad8]
mov dword [esp + 0x58], eax
mov eax, dword [0x106aadc]
mov dword [esp + 0x30], ecx
add esp, 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.00413a3f
fld dword [esp + 0x28]
fmul dword [0x6e2f18]
mov dword [esp + 0x58], 0x47c35000
fstp dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [0x6e2f18]
fstp dword [esp + 0x2c]
fld dword [esp + 0x20]
fmul dword [0x6e2f18]
fstp dword [esp + 0x64]
fld dword [esp + 0x48]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x70]
fld dword [esp + 0x44]
mov eax, dword [esp + 0x70]
fadd dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
fstp dword [esp + 0x1c]
fld dword [esp + 0x64]
mov ebp, dword [esp + 0x1c]
fadd dword [esp + 0x40]
mov dword [esp + 0x38], ebp
fstp dword [esp + 0x108]
mov ecx, dword [esp + 0x108]
fld dword [esp + 0x28]
mov dword [esp + 0x34], ecx
fmul dword [0x6d0980]
fstp dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [0x6d0980]
fstp dword [esp + 0x2c]
fld dword [esp + 0x20]
fmul dword [0x6d0980]
fstp dword [esp + 0x64]
fld dword [esp + 0x48]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x88]
fld dword [esp + 0x44]
mov ecx, dword [esp + 0x88]
fadd dword [esp + 0x2c]
mov dword [esp + 0x48], ecx
mov ecx, 0xd1ba43b7
fstp dword [esp + 0x74]
fld dword [esp + 0x64]
mov eax, dword [esp + 0x74]
fadd dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, 0xce6e6b28
mov dword [esp + 0x78], eax
fstp dword [esp + 0x114]
mov edx, dword [esp + 0x114]
mov dword [esp + 0x40], edx
mov edx, 0xccbebc20
mov eax, dword [0x106cc00]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x7c], ecx
mov ecx, dword [0x106cc04]
mov dword [esp + 0x80], edx
mov dword [esp + 0x2c], esi
jle 0x59fd95
xor edi, edi
cmp ecx, ebx
mov dword [esp + 0x60], edi
jle 0x59fd88
jmp 0x59f870
mov ecx, dword [0x106cd40]
fild dword [0x71c758]
imul eax, edi
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
add eax, esi
imul eax, eax, 0x1f650
mov edx, dword [eax + ecx + 0x4c]
add eax, ecx
mov dword [esp + 0x4c], edx
fadd dword [esp + 0x4c]
fstp dword [esp + 0x8c]
mov ecx, dword [eax + 0x14]
fld dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x90], edx
mov eax, dword [eax + 0x54]
mov dword [esp + 0x54], eax
fadd dword [esp + 0x54]
mov eax, dword [0x106a554]
add eax, 0xbc
fstp dword [esp + 0x94]
fld dword [eax + 0x98]
fchs
fstp dword [esp + 0x14]
fld dword [eax + 0x94]
mov edx, dword [esp + 0x14]
fchs
fstp dword [esp + 0x1c]
fld dword [eax + 0x90]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc8], ecx
fchs
lea ecx, [esp + 0x4c]
fstp dword [esp + 0xc4]
push ecx
mov dword [esp + 0xd0], edx
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0xcc]
push ecx
push eax
call fcn.005e672c
fcomp dword [0x6f3614]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x59fd70
mov eax, dword [0x106a554]
fld dword [eax + 0x160]
add eax, 0xe0
fchs
fstp dword [esp + 0x14]
fld dword [eax + 0x7c]
mov ecx, dword [esp + 0x14]
fchs
fstp dword [esp + 0x1c]
fld dword [eax + 0x78]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xbc], edx
fchs
lea edx, [esp + 0x4c]
fstp dword [esp + 0xb8]
push edx
mov dword [esp + 0xc4], ecx
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0xc0]
push edx
push eax
call fcn.005e672c
fcomp dword [0x6f3614]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x59fd70
mov eax, dword [0x106a554]
fld dword [eax + 0x16c]
add eax, 0x104
fchs
fstp dword [esp + 0x14]
fld dword [eax + 0x64]
mov edx, dword [esp + 0x14]
fchs
fstp dword [esp + 0x1c]
fld dword [eax + 0x60]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xb0], ecx
fchs
lea ecx, [esp + 0x4c]
fstp dword [esp + 0xac]
push ecx
mov dword [esp + 0xb8], edx
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0xb4]
push ecx
push eax
call fcn.005e672c
fcomp dword [0x6f3614]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x59fd70
mov eax, dword [0x106a554]
fld dword [eax + 0x178]
add eax, 0x128
fchs
fstp dword [esp + 0x14]
fld dword [eax + 0x4c]
mov ecx, dword [esp + 0x14]
fchs
fstp dword [esp + 0x1c]
fld dword [eax + 0x48]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], edx
fchs
lea edx, [esp + 0x4c]
fstp dword [esp + 0x64]
push edx
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x6c]
push edx
push eax
call fcn.005e672c
fcomp dword [0x6f3614]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x59fd70
mov ebx, dword [0x106cc00]
mov eax, dword [0x106cd40]
imul ebx, edi
add ebx, esi
imul ebx, ebx, 0x1f650
push 0
lea edx, [esp + 0x9c]
push edx
push 0
add ebx, eax
mov eax, dword [ebx + 0x84e4]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x84e8]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0xa0]
push edx
mov edx, dword [0x71f7e4]
shl edx, 0xd
push edx
push 0
push eax
call dword [ecx + 0x2c]
mov ecx, dword [ebx + 0x84ec]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
mov dword [esp + 0x14], 0
jle 0x59fd56
lea edi, [ebx + 0x1c]
xor esi, esi
lea ecx, [esp + 0x174]
push ecx
mov ecx, edi
call fcn.005e5ddb
mov edx, dword [esp + 0x9c]
movzx ecx, word [esi + edx]
mov edx, dword [esp + 0x98]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
fld dword [ecx + 8]
fadd dword [eax + 8]
fstp dword [esp + 0x18]
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [esp + 0x1c]
fld dword [eax]
mov eax, dword [esp + 0x1c]
fadd dword [ecx]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x154], eax
lea eax, [esp + 0x180]
fstp dword [esp + 0x144]
mov edx, dword [esp + 0x144]
mov dword [esp + 0x158], ecx
push eax
mov ecx, edi
mov dword [esp + 0x154], edx
call fcn.005e5ddb
mov ecx, dword [esp + 0x9c]
movzx ecx, word [esi + ecx + 2]
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x98]
lea ecx, [ecx + edx*4]
fld dword [ecx + 8]
fadd dword [eax + 8]
fstp dword [esp + 0x1c]
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [esp + 0x18]
fld dword [ecx]
mov ecx, dword [esp + 0x1c]
fadd dword [eax]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x160], eax
lea eax, [esp + 0x18c]
fstp dword [esp + 0x138]
mov edx, dword [esp + 0x138]
mov dword [esp + 0x164], ecx
push eax
mov ecx, edi
mov dword [esp + 0x160], edx
call fcn.005e5ddb
mov ecx, dword [esp + 0x9c]
movzx ecx, word [esi + ecx + 4]
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x98]
lea ecx, [ecx + edx*4]
fld dword [ecx + 8]
fadd dword [eax + 8]
fstp dword [esp + 0x1c]
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [esp + 0x18]
fld dword [eax]
mov eax, dword [esp + 0x18]
fadd dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x16c], eax
lea eax, [esp + 0x5c]
push eax
fstp dword [esp + 0x130]
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x174], ecx
lea ecx, [esp + 0x154]
push ecx
mov dword [esp + 0x170], edx
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], ebp
mov eax, dword [esp + 0x84]
mov dword [edx + 8], eax
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x88]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [ecx + 8], eax
call fcn.005e63c6
add esp, 0x20
test eax, eax
je 0x59fd22
fld dword [esp + 0x5c]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x41
jp 0x59fd22
fld dword [esp + 0x28]
mov eax, dword [esp + 0x5c]
fmul dword [esp + 0x5c]
mov dword [esp + 0x58], eax
fstp dword [esp + 0x18]
fld dword [esp + 0x24]
fmul dword [esp + 0x5c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul dword [esp + 0x5c]
fstp dword [esp + 0x120]
fld dword [esp + 0x48]
fadd dword [esp + 0x18]
fstp dword [esp + 0x10]
fld dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
fadd dword [esp + 0x1c]
mov dword [esp + 0x80], ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x120]
mov eax, dword [esp + 0x18]
fadd dword [esp + 0x40]
mov dword [esp + 0x7c], eax
fstp dword [esp + 0xfc]
mov edx, dword [esp + 0xfc]
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x84ec]
inc eax
mov dword [esp + 0x14], eax
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x14]
mov eax, edx
shr eax, 0x1f
add eax, edx
add esi, 6
cmp ecx, eax
jl 0x59fb02
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x84e4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov ebx, dword [ebx + 0x84e8]
mov edx, dword [ebx]
push ebx
call dword [edx + 0x30]
xor ebx, ebx
mov ecx, dword [0x106cc04]
mov eax, dword [0x106cc00]
inc edi
cmp edi, ecx
mov dword [esp + 0x60], edi
jl 0x59f870
inc esi
cmp esi, eax
mov dword [esp + 0x2c], esi
jl 0x59f856
xor edx, edx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa0], edx
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x1a0], ebx
jle 0x5a0066
lea ecx, [ecx]
xor edi, edi
cmp ecx, ebx
jle 0x5a0056
lea ebx, [ebx]
mov edx, dword [0x106cd40]
fild dword [0x71c758]
mov ecx, edi
imul ecx, eax
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
add ecx, esi
imul ecx, ecx, 0x1f650
lea eax, [ecx + edx]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x4c], ecx
fadd dword [esp + 0x4c]
fstp dword [esp + 0x8c]
mov edx, dword [eax + 0x14]
fld dword [esp + 0x14]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 0x54]
mov eax, dword [0x106a554]
mov dword [esp + 0x54], edx
fadd dword [esp + 0x54]
add eax, 0xbc
fstp dword [esp + 0x94]
fld dword [eax + 0x98]
fchs
fstp dword [esp + 0x18]
fld dword [eax + 0x94]
mov edx, dword [esp + 0x18]
fchs
fstp dword [esp + 0x10]
fld dword [eax + 0x90]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], ecx
fchs
lea ecx, [esp + 0x4c]
fstp dword [esp + 0x64]
push ecx
mov dword [esp + 0x70], edx
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0x6c]
push ecx
push eax
call fcn.005e672c
fcomp dword [0x6f3614]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x5a0042
mov eax, dword [0x106a554]
fld dword [eax + 0x160]
add eax, 0xe0
fchs
fstp dword [esp + 0x18]
fld dword [eax + 0x7c]
mov ecx, dword [esp + 0x18]
fchs
fstp dword [esp + 0x10]
fld dword [eax + 0x78]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xb0], edx
fchs
lea edx, [esp + 0x4c]
fstp dword [esp + 0xac]
push edx
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0xb4]
push edx
push eax
call fcn.005e672c
fcomp dword [0x6f3614]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x5a0042
mov eax, dword [0x106a554]
fld dword [eax + 0x16c]
add eax, 0x104
fchs
fstp dword [esp + 0x18]
fld dword [eax + 0x64]
mov edx, dword [esp + 0x18]
fchs
fstp dword [esp + 0x10]
fld dword [eax + 0x60]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xbc], ecx
fchs
lea ecx, [esp + 0x4c]
fstp dword [esp + 0xb8]
push ecx
mov dword [esp + 0xc4], edx
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0xc0]
push ecx
push eax
call fcn.005e672c
fcomp dword [0x6f3614]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x5a0042
mov eax, dword [0x106a554]
fld dword [eax + 0x178]
add eax, 0x128
fchs
fstp dword [esp + 0x18]
fld dword [eax + 0x4c]
mov ecx, dword [esp + 0x18]
fchs
fstp dword [esp + 0x10]
fld dword [eax + 0x48]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc8], edx
fchs
lea edx, [esp + 0x4c]
fstp dword [esp + 0xc4]
push edx
mov dword [esp + 0xd0], ecx
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0xcc]
push edx
push eax
call fcn.005e672c
fcomp dword [0x6f3614]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x5a0042
mov edx, dword [esp + 0x108]
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esp + 0x74]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x124]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x84]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [ecx + 8], eax
mov eax, dword [0x106cd40]
mov ecx, edi
imul ecx, dword [0x106cc00]
add ecx, esi
imul ecx, ecx, 0x1f650
add ecx, eax
call fcn.005e4950
mov ecx, dword [0x106cc04]
mov eax, dword [0x106cc00]
inc edi
cmp edi, ecx
jl 0x59fdd0
inc esi
cmp esi, eax
jl 0x59fdc0
mov edx, dword [esp + 0xa0]
cmp dword [0x1209fd8], ebx
jne 0x5a00a3
cmp edx, ebx
mov esi, dword [esp + 0x1a8]
mov ecx, dword [esp + 0x78]
mov eax, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 8], ecx
mov dword [esp + 0xa4], ebx
je 0x5a05d4
push edx
jmp 0x5a05cc
fld dword [esp + 0x3c]
mov edx, dword [0x1209fd4]
fsub dword [esp + 0x48]
mov eax, dword [edx + 4]
add eax, 0x1c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x38]
mov eax, dword [eax + 8]
fsub dword [esp + 0x44]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ecx
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
fld dword [esp + 0x34]
mov eax, dword [esp + 0x10]
fsub dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
sub esp, 8
fstp dword [esp + 0x104]
mov edx, dword [esp + 0x104]
mov dword [esp + 0x28], edx
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
mov dword [esp + 0x24], 0x4e6e6b28
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp qword [esp]
call fcn.00693b94
fstp dword [esp + 0x18]
add esp, 8
fld dword [esp + 0x10]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fcomp dword [0x6d1030]
fnstsw ax
test ah, 0x41
jp 0x5a016a
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jmp 0x5a019c
fld dword [0x6d4fc8]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x14]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fstp dword [esp + 0x28]
mov eax, dword [esp + 0xa4]
test eax, eax
jle 0x5a0595
xor esi, esi
lea ecx, [ecx]
mov ecx, dword [esp + 0xa0]
lea eax, [esi + ecx]
mov edx, eax
mov edi, dword [edx]
mov dword [esp + 0xd0], edi
mov edi, dword [edx + 4]
mov dword [esp + 0xd4], edi
mov edx, dword [edx + 8]
mov dword [esp + 0xd8], edx
add eax, 0xc
mov edx, dword [eax]
mov dword [esp + 0xdc], edx
mov edx, dword [eax + 4]
mov dword [esp + 0xe0], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xe4], eax
lea ecx, [esi + ecx + 0x18]
mov edx, dword [ecx]
mov dword [esp + 0xe8], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0xec], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0xf0], ecx
fld dword [esp + 0xf0]
fsub dword [esp + 0xe4]
sub esp, 8
fstp dword [esp + 0x68]
fld dword [esp + 0xf4]
fsub dword [esp + 0xe8]
fstp dword [esp + 0x1c]
fld dword [esp + 0xf0]
fsub dword [esp + 0xe4]
fstp dword [esp + 0xb4]
fld dword [esp + 0xe0]
fsub dword [esp + 0xec]
fstp dword [esp + 0x60]
fld dword [esp + 0xdc]
fsub dword [esp + 0xe8]
fstp dword [esp + 0x34]
fld dword [esp + 0xd8]
fsub dword [esp + 0xe4]
fstp dword [esp + 0xc0]
fld dword [esp + 0xc0]
fmul dword [esp + 0x1c]
fld dword [esp + 0x34]
fmul dword [esp + 0xb4]
fsubp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
fmul dword [esp + 0xb4]
mov dword [esp + 0x44], ecx
fld dword [esp + 0xc0]
fmul dword [esp + 0x68]
fsubp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x34]
mov eax, dword [esp + 0x18]
fmul dword [esp + 0x68]
mov dword [esp + 0x40], eax
fld dword [esp + 0x60]
fmul dword [esp + 0x1c]
fsubp st(1)
fstp dword [esp + 0x104]
mov edx, dword [esp + 0x104]
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
mov dword [esp + 0x3c], edx
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp qword [esp]
call fcn.00693b94
fstp dword [esp + 0x18]
add esp, 8
fld dword [esp + 0x10]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fcomp dword [0x6d1030]
fnstsw ax
test ah, 0x41
jp 0x5a0357
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
jmp 0x5a0389
fld dword [0x6d4fc8]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x14]
fmul dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x14]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x34]
sub esp, 8
fstp qword [esp]
call fcn.00697b88
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0x20]
fld dword [esp + 0x40]
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fstp qword [esp]
call fcn.00697b88
fstp dword [esp + 0x18]
add esp, 8
fld dword [esp + 0x10]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
jne 0x5a0580
fld dword [esp + 0x3c]
sub esp, 8
fstp qword [esp]
call fcn.00697b88
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0x20]
fld qword [esp + 0x34]
fstp qword [esp]
call fcn.00697b88
fstp dword [esp + 0x18]
add esp, 8
fld dword [esp + 0x10]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
jne 0x5a0580
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x10c]
lea ecx, [esp + 0xd4]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x84]
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x88]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [ecx + 8], eax
call fcn.005e63c6
add esp, 0x20
test eax, eax
je 0x5a0580
fld dword [esp + 0x24]
sub esp, 8
fmul dword [esp + 0x8c]
fstp dword [esp + 0x12c]
fld dword [esp + 0x12c]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x138]
fld dword [esp + 0x70]
fsub dword [esp + 0x138]
fstp dword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov dword [esp + 0xfc], edi
fld dword [esp + 0xfc]
fstp qword [esp]
call fcn.00697b88
fstp dword [esp + 0x18]
add esp, 8
fld dword [esp + 0x10]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x5a0580
fld dword [esp + 0x28]
mov dword [esp + 0xf8], edi
fmul dword [esp + 0x84]
sub esp, 8
fstp dword [esp + 0x18]
fld dword [esp + 0x2c]
fmul dword [esp + 0x8c]
fstp dword [esp + 0x20]
fld dword [esp + 0x28]
fmul dword [esp + 0x8c]
fstp dword [esp + 0x140]
fld dword [esp + 0x50]
fadd dword [esp + 0x18]
fstp dword [esp + 0x24]
fld dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
fadd dword [esp + 0x20]
mov dword [esp + 0x88], ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x140]
mov eax, dword [esp + 0x18]
fadd dword [esp + 0x48]
mov dword [esp + 0x84], eax
fstp dword [esp + 0x14c]
mov edx, dword [esp + 0x14c]
fld dword [esp + 0x100]
mov dword [esp + 0x80], edx
fstp qword [esp]
call fcn.00697b88
fstp dword [esp + 0x18]
add esp, 8
fld dword [esp + 0x10]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0xa4]
add ebx, 3
add esi, 0x24
cmp ebx, eax
jl 0x5a01b0
mov esi, dword [esp + 0x1a8]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov eax, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [esp + 0xa0]
test eax, eax
mov dword [esp + 0xa4], 0
je 0x5a05d4
push eax
call fcn.00693d31
add esp, 4
mov ecx, dword [esp + 0x198]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x194
ret