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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x67e245
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xcc]
call fcn.0064dc20
lea ecx, [esp + 0xe4]
call fcn.0064dc20
lea ecx, [esp + 0x6c]
call fcn.0064dc20
lea ecx, [esp + 0x84]
call fcn.0064dc20
lea ecx, [esp + 0xb4]
call fcn.0064dc20
lea ecx, [esp + 0xfc]
call fcn.0064dc20
fld qword [ebp + 8]
fabs
fcomp qword [0x691f50]
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
fnstsw ax
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
test ah, 1
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
je 0x59f579
fld qword [ebp + 0x10]
fabs
fcomp qword [0x691f50]
fnstsw ax
test ah, 1
jne 0x5a0323
fld qword [ebp + 0x18]
fcomp qword [0x691f50]
fnstsw ax
test ah, 1
jne 0x5a0323
fld qword [ebp + 0x20]
fcomp qword [0x691f50]
fnstsw ax
test ah, 1
jne 0x5a0323
lea edi, [esi + 0x70]
mov ebx, 4
mov eax, dword [edi - 0x10]
test eax, eax
je 0x59f5d0
mov ecx, dword [esi + 0x34]
push 0
push eax
call fcn.004533e0
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x59f5c9
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi - 0x10], 0
mov eax, dword [edi]
test eax, eax
je 0x59f5f4
mov ecx, dword [esi + 0x34]
push 0
push eax
call fcn.004533e0
mov ecx, dword [edi]
test ecx, ecx
je 0x59f5ee
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [edi], 0
add edi, 4
dec ebx
jne 0x59f5a9
fld qword [ebp + 0x38]
fmul qword [0x691ac8]
mov dword [esp + 0x20], 0
fst qword [ebp + 0x38]
fabs
fcomp qword [0x691f50]
fnstsw ax
test ah, 1
jne 0x59f625
mov dword [esp + 0x20], 1
fld qword [ebp + 0x20]
fmul qword [0x691ac8]
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
push 0
push 0
sub esp, 8
mov dword [esp + 0x1c], eax
fstp qword [ebp + 0x20]
fld qword [esi + 0x50]
fadd qword [ebp + 0x10]
mov dword [esp + 0x20], ecx
sub esp, 8
lea ecx, [esp + 0x3c]
fstp qword [esp + 8]
fld qword [esp + 0x24]
fadd qword [ebp + 8]
fstp qword [esp]
call fcn.0064dc40
fld qword [ebp + 0x10]
fld qword [ebp + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], ecx
faddp st(1)
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xec], edx
mov dword [esp + 0xf0], ecx
fsqrt
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x24]
mov dword [esp + 0xf4], edx
push ecx
lea ecx, [esp + 0x124]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
fstp qword [esp + 0x118]
fstp qword [esp + 0x28]
fstp qword [esp + 0x30]
call fcn.00657020
lea edx, [esp + 0x120]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.006576a0
add esp, 8
lea ecx, [esp + 0x3c]
push eax
call fcn.006578b0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x120]
push ecx
lea eax, [esp + 0x13c]
push edx
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x3ff00000
call fcn.006574b0
add esp, 0xc
lea ecx, [esp + 0x150]
push eax
call fcn.00657020
lea ecx, [esp + 0x150]
lea edx, [esp + 0x138]
push ecx
push edx
call fcn.006576a0
add esp, 8
push eax
lea ecx, [esp + 0x58]
call fcn.006578b0
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
jne 0x59f7fa
fld qword [esi + 0x50]
fld qword [esp + 0x44]
fmul qword [ebp + 0x18]
push ebx
push ebx
sub esp, 8
mov eax, dword [esi + 0x48]
fsubr st(1)
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x148]
fstp qword [esp]
sub esp, 8
fstp st(0)
fld qword [esp + 0x54]
fmul qword [ebp + 0x18]
fsubr qword [esp + 0x24]
fstp qword [esp]
call fcn.0064dc40
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
jmp 0x59f994
push 0x40568000
push ebx
sub esp, 0x18
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00657880
lea eax, [esp + 0x158]
push eax
call fcn.00657220
add esp, 0x24
lea ecx, [esp + 0x9c]
push eax
call fcn.006578b0
fld qword [esi + 0x50]
fld qword [esp + 0x44]
fmul qword [ebp + 0x18]
push ebx
push ebx
sub esp, 8
mov ecx, dword [esi + 0x48]
fsubr st(1)
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x148]
fstp qword [esp]
sub esp, 8
fstp st(0)
fld qword [esp + 0x54]
fmul qword [ebp + 0x18]
fsubr qword [esp + 0x24]
fstp qword [esp]
call fcn.0064dc40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
fld qword [esp + 0xa4]
fmul qword [ebp + 0x38]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
push ebx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], edx
push ebx
fsubr qword [esp + 0xdc]
sub esp, 8
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0xec], ecx
fstp qword [esp]
fld qword [esp + 0xac]
fmul qword [ebp + 0x38]
sub esp, 8
lea ecx, [esp + 0x150]
mov dword [esp + 0xf8], edx
fsubr qword [esp + 0xe4]
fstp qword [esp]
call fcn.0064dc40
fld qword [esp + 0xa4]
fmul qword [ebp + 0x38]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ebx
push ebx
fadd qword [esp + 0xdc]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub esp, 8
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x8c], ecx
fstp qword [esp]
fld qword [esp + 0xac]
mov dword [esp + 0x90], edx
fmul qword [ebp + 0x38]
sub esp, 8
lea ecx, [esp + 0x150]
fadd qword [esp + 0xe4]
fstp qword [esp]
call fcn.0064dc40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
fld qword [esi + 0x50]
fld qword [esp + 0x5c]
fmul qword [ebp + 0x20]
push ebx
push ebx
sub esp, 8
mov eax, dword [esi + 0x48]
fsubr st(1)
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x148]
fstp qword [esp]
sub esp, 8
fstp st(0)
fld qword [esp + 0x6c]
fmul qword [ebp + 0x20]
fsubr qword [esp + 0x24]
fstp qword [esp]
call fcn.0064dc40
fld qword [esi + 0x50]
fld qword [esp + 0x5c]
fmul qword [ebp + 0x20]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
push ebx
push ebx
fadd st(1)
sub esp, 8
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x9c], edx
fstp qword [esp]
mov dword [esp + 0xa0], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [esi + 0x48]
fstp st(0)
fld qword [esp + 0x64]
fmul qword [ebp + 0x20]
mov dword [esp + 0xa4], edx
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
fadd qword [esp + 0x1c]
sub esp, 8
lea ecx, [esp + 0x150]
mov dword [esp + 0xb0], eax
fstp qword [esp]
call fcn.0064dc40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 0x60]
mov dword [esp + 0xc4], ecx
cmp eax, ebx
mov dword [esp + 0xc8], edx
jne 0x59fb02
push 0xb8
call fcn.0065e5d0
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
mov dword [esp + 0x188], ebx
je 0x59fae6
sub esp, 0x18
lea eax, [esp + 0xcc]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
sub esp, 0x18
lea edx, [esp + 0x114]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0064dc70
mov ecx, edi
call fcn.004c79e0
jmp 0x59fae8
xor eax, eax
mov ecx, dword [esi + 0x34]
push ebx
push eax
mov dword [esp + 0x190], 0xffffffff
mov dword [esi + 0x60], eax
call fcn.00453220
jmp 0x59fb47
mov edi, dword [eax]
sub esp, 0x18
lea eax, [esp + 0xfc]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov ecx, dword [esi + 0x60]
call dword [edi + 0x80]
mov ecx, dword [esi + 0x60]
sub esp, 0x18
lea edx, [esp + 0xcc]
mov dword [esp + 0x24], esp
mov edi, dword [ecx]
mov ecx, esp
push edx
call fcn.0064dc70
mov ecx, dword [esi + 0x60]
call dword [edi + 0x88]
mov eax, dword [esi + 0x64]
cmp eax, ebx
jne 0x59fbc1
push 0xb8
call fcn.0065e5d0
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
cmp edi, ebx
mov dword [esp + 0x188], 1
je 0x59fba5
sub esp, 0x18
lea eax, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0064dc70
sub esp, 0x18
lea edx, [esp + 0xe4]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.0064dc70
mov ecx, edi
call fcn.004c79e0
jmp 0x59fba7
xor eax, eax
mov ecx, dword [esi + 0x34]
push ebx
push eax
mov dword [esp + 0x190], 0xffffffff
mov dword [esi + 0x64], eax
call fcn.00453220
jmp 0x59fc06
mov edi, dword [eax]
sub esp, 0x18
lea eax, [esp + 0xcc]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov ecx, dword [esi + 0x64]
call dword [edi + 0x80]
mov ecx, dword [esi + 0x64]
sub esp, 0x18
lea edx, [esp + 0x84]
mov dword [esp + 0x24], esp
mov edi, dword [ecx]
mov ecx, esp
push edx
call fcn.0064dc70
mov ecx, dword [esi + 0x64]
call dword [edi + 0x88]
mov eax, dword [esi + 0x68]
cmp eax, ebx
jne 0x59fce1
mov eax, dword [esp + 0x20]
push 0xb8
cmp eax, ebx
jne 0x59fc8f
call fcn.0065e5d0
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
cmp edi, ebx
mov dword [esp + 0x188], 2
je 0x59fc70
sub esp, 0x18
lea eax, [esp + 0x9c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0064dc70
sub esp, 0x18
lea edx, [esp + 0x9c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.0064dc70
mov ecx, edi
call fcn.004c79e0
jmp 0x59fc72
xor eax, eax
mov ecx, dword [esi + 0x34]
push ebx
push eax
mov dword [esp + 0x190], 0xffffffff
mov dword [esi + 0x68], eax
call fcn.00453220
jmp 0x59fd41
call fcn.0065e5d0
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
cmp edi, ebx
mov dword [esp + 0x188], 3
je 0x59fc70
sub esp, 0x18
lea eax, [esp + 0x9c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0064dc70
sub esp, 0x18
lea edx, [esp + 0x12c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.0064dc70
mov ecx, edi
call fcn.004c79e0
jmp 0x59fc72
mov ecx, dword [esp + 0x20]
mov edi, dword [eax]
cmp ecx, ebx
jne 0x59fcfe
sub esp, 0x18
lea eax, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
jmp 0x59fd0f
sub esp, 0x18
lea edx, [esp + 0x114]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0064dc70
mov ecx, dword [esi + 0x68]
call dword [edi + 0x80]
mov eax, dword [esi + 0x68]
sub esp, 0x18
lea edx, [esp + 0x9c]
mov ecx, esp
mov edi, dword [eax]
mov dword [esp + 0x24], esp
push edx
call fcn.0064dc70
mov ecx, dword [esi + 0x68]
call dword [edi + 0x88]
mov eax, dword [esi + 0x6c]
cmp eax, ebx
jne 0x59fdba
push 0xb8
call fcn.0065e5d0
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
cmp edi, ebx
mov dword [esp + 0x188], 4
je 0x59fd9f
sub esp, 0x18
lea eax, [esp + 0xfc]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0064dc70
sub esp, 0x18
lea edx, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.0064dc70
mov ecx, edi
call fcn.004c79e0
jmp 0x59fda1
xor eax, eax
mov ecx, dword [esi + 0x34]
or edi, 0xffffffff
push ebx
push eax
mov dword [esp + 0x190], edi
mov dword [esi + 0x6c], eax
call fcn.00453220
jmp 0x59fe02
mov edi, dword [eax]
sub esp, 0x18
lea eax, [esp + 0x9c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov ecx, dword [esi + 0x6c]
call dword [edi + 0x80]
mov ecx, dword [esi + 0x6c]
sub esp, 0x18
lea edx, [esp + 0xfc]
mov dword [esp + 0x24], esp
mov edi, dword [ecx]
mov ecx, esp
push edx
call fcn.0064dc70
mov ecx, dword [esi + 0x6c]
call dword [edi + 0x88]
or edi, 0xffffffff
cmp dword [0x705e94], ebx
jne 0x5a02ee
fld qword [ebp + 0x20]
fsub qword [ebp + 0x28]
cmp dword [esi + 0x80], ebx
fst qword [esp + 0x14]
fld qword [esi + 0x50]
jne 0x59fed7
fld qword [esp + 0x5c]
fmul st(2)
push ebx
push ebx
sub esp, 8
mov eax, dword [esi + 0x48]
fsubr st(1)
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x34]
fstp qword [esp]
sub esp, 8
fstp st(0)
fld qword [esp + 0x6c]
fmul st(1)
fsubr qword [esp + 0x24]
fstp qword [esp]
fstp st(0)
call fcn.0064dc40
push 0x1e0
call fcn.0065e5d0
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov dword [esp + 0x188], 5
je 0x59fe8b
mov ecx, eax
call fcn.004ac400
jmp 0x59fe8d
xor eax, eax
sub esp, 0x18
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x1a4], edi
mov dword [esi + 0x80], eax
call fcn.0064dc70
mov ecx, dword [esi + 0x80]
call fcn.004d54d0
mov ecx, dword [esi + 0x80]
push 5
call fcn.004ac8f0
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x34]
push ebx
push eax
call fcn.00453220
jmp 0x59ff30
fld qword [esp + 0x5c]
fmul st(2)
push ebx
push ebx
sub esp, 8
mov ecx, dword [esi + 0x48]
fsubr st(1)
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x34]
fstp qword [esp]
sub esp, 8
fstp st(0)
fld qword [esp + 0x6c]
fmul st(1)
fsubr qword [esp + 0x24]
fstp qword [esp]
fstp st(0)
call fcn.0064dc40
sub esp, 0x18
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov ecx, dword [esi + 0x80]
call fcn.004d54d0
mov eax, dword [esi + 0x84]
fld qword [esp + 0x14]
fld qword [esi + 0x50]
cmp eax, ebx
jne 0x59fff6
fld qword [esp + 0x5c]
fmul st(2)
push ebx
push ebx
sub esp, 8
mov ecx, dword [esi + 0x48]
fadd st(1)
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
sub esp, 8
lea ecx, [esp + 0x3c]
fstp qword [esp + 8]
fstp st(0)
fld qword [esp + 0x6c]
fmul st(1)
fadd qword [esp + 0x24]
fstp qword [esp]
fstp st(0)
call fcn.0064dc40
push 0x1e0
call fcn.0065e5d0
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov dword [esp + 0x188], 6
je 0x59ffaa
mov ecx, eax
call fcn.004ac400
jmp 0x59ffac
xor eax, eax
mov dword [esi + 0x84], eax
sub esp, 0x18
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov dword [esp + 0x1a4], edi
call fcn.0064dc70
mov ecx, dword [esi + 0x84]
call fcn.004d54d0
mov ecx, dword [esi + 0x84]
push 5
call fcn.004ac8f0
mov ecx, dword [esi + 0x84]
push ebx
push ecx
mov ecx, dword [esi + 0x34]
call fcn.00453220
jmp 0x5a0050
fld qword [esp + 0x5c]
fmul st(2)
push ebx
push ebx
sub esp, 8
mov edx, dword [esi + 0x48]
fadd st(1)
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
sub esp, 8
lea ecx, [esp + 0x3c]
fstp qword [esp + 8]
fstp st(0)
fld qword [esp + 0x6c]
fmul st(1)
fadd qword [esp + 0x24]
fstp qword [esp]
fstp st(0)
call fcn.0064dc40
sub esp, 0x18
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0064dc70
mov ecx, dword [esi + 0x84]
call fcn.004d54d0
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov eax, dword [esi + 0x88]
jne 0x5a0181
fld qword [ebp + 0x18]
fsub qword [ebp + 0x30]
fld qword [esi + 0x50]
cmp eax, ebx
jne 0x5a0126
fld qword [esp + 0x44]
fmul st(2)
push ebx
push ebx
sub esp, 8
mov eax, dword [esi + 0x48]
fsubr st(1)
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x34]
fstp qword [esp]
sub esp, 8
fstp st(0)
fld qword [esp + 0x54]
fmul st(1)
fsubr qword [esp + 0x24]
fstp qword [esp]
fstp st(0)
call fcn.0064dc40
push 0x1e0
call fcn.0065e5d0
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov dword [esp + 0x188], 7
je 0x5a00d7
mov ecx, eax
call fcn.004ac400
jmp 0x5a00d9
xor eax, eax
sub esp, 0x18
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x1a4], edi
mov dword [esi + 0x88], eax
call fcn.0064dc70
mov ecx, dword [esi + 0x88]
call fcn.004d54d0
mov ecx, dword [esi + 0x88]
push 5
call fcn.004ac8f0
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x34]
push ebx
push eax
call fcn.00453220
jmp 0x5a01a6
fld qword [esp + 0x44]
fmul st(2)
push ebx
push ebx
sub esp, 8
mov ecx, dword [esi + 0x48]
fsubr st(1)
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x34]
fstp qword [esp]
sub esp, 8
fstp st(0)
fld qword [esp + 0x54]
fmul st(1)
fsubr qword [esp + 0x24]
fstp qword [esp]
fstp st(0)
call fcn.0064dc40
sub esp, 0x18
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov ecx, dword [esi + 0x88]
call fcn.004d54d0
jmp 0x5a01a6
cmp eax, ebx
je 0x5a01a6
mov ecx, dword [esi + 0x34]
push ebx
push eax
call fcn.004533e0
mov ecx, dword [esi + 0x88]
cmp ecx, ebx
je 0x5a01a0
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0x88], ebx
mov eax, dword [esi + 0x8c]
fld qword [esp + 0x114]
fsub qword [ebp + 0x30]
cmp eax, ebx
jne 0x5a0287
fld qword [esi + 0x50]
fld qword [esp + 0x44]
fmul st(2)
push ebx
push ebx
sub esp, 8
mov eax, dword [esi + 0x48]
fadd st(1)
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
sub esp, 8
lea ecx, [esp + 0x3c]
fstp qword [esp + 8]
fstp st(0)
fld qword [esp + 0x54]
fmul st(1)
fadd qword [esp + 0x24]
fstp qword [esp]
fstp st(0)
call fcn.0064dc40
push 0x1e0
call fcn.0065e5d0
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov dword [esp + 0x188], 8
je 0x5a0226
mov ecx, eax
call fcn.004ac400
jmp 0x5a0228
xor eax, eax
sub esp, 0x18
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x1a4], edi
mov dword [esi + 0x8c], eax
call fcn.0064dc70
mov ecx, dword [esi + 0x8c]
call fcn.004d54d0
mov ecx, dword [esi + 0x8c]
push 5
call fcn.004ac8f0
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x34]
push ebx
push eax
call fcn.00453220
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38
fld qword [esp + 0x44]
fmul st(1)
push ebx
push ebx
sub esp, 8
lea ecx, [esp + 0x178]
fadd qword [esi + 0x50]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x54]
fmul st(1)
fadd qword [esi + 0x48]
fstp qword [esp]
fstp st(0)
call fcn.0064dc40
sub esp, 0x18
lea edx, [esp + 0x180]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0064dc70
mov ecx, dword [esi + 0x8c]
call fcn.004d54d0
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38
lea edi, [esi + 0x80]
mov ebx, 4
mov eax, dword [edi]
test eax, eax
je 0x5a031d
mov ecx, dword [esi + 0x34]
push 0
push eax
call fcn.004533e0
mov ecx, dword [edi]
test ecx, ecx
je 0x5a0317
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi], 0
add edi, 4
dec ebx
jne 0x5a02f9
mov ecx, dword [esp + 0x180]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x38