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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x59c6b8]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push esi
mov esi, dword [ebp + 0x18]
fld qword [esi + 0x20]
mov eax, dword [ebp + 8]
fst qword [esp + 0x144]
mov edx, dword [ebp + 0x10]
fld qword [esi + 0x28]
push edi
fstp qword [esp + 0x128]
mov edi, ecx
fld qword [esi + 0x10]
mov ecx, dword [ebp + 0xc]
fadd qword [esi + 0x20]
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xd0], ecx
fstp qword [esp + 0x150]
mov ecx, dword [ebp + 0x20]
fld qword [esi + 0x28]
mov dword [esp + 0xbc], edi
fadd qword [esi + 0x18]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xcc], ecx
fstp qword [esp + 0x130]
fld qword [esi]
fadd qword [esi + 0x10]
fadd qword [esi + 0x20]
fstp qword [esp + 0x158]
fld qword [esi + 0x18]
fadd qword [esi + 8]
fadd qword [esi + 0x28]
fstp qword [esp + 0x138]
fld qword [esi]
fadd qword [esi + 0x20]
fstp qword [esp + 0x160]
fld qword [esi + 0x28]
fadd qword [esi + 8]
fstp qword [esp + 0x140]
fadd qword [0x5312a8]
fst qword [esp + 0xd8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x1c]
mov ax, word [esp + 0x1c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x44]
fldcw word [esp + 0x1c]
mov edx, dword [esp + 0x44]
fld qword [esp + 0xd8]
fstp qword [esp + 0x20]
mov dword [esp + 0x48], edx
fld qword [esp + 0x20]
fnstcw word [esp + 0x1c]
mov ax, word [esp + 0x1c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x44]
fldcw word [esp + 0x1c]
fld qword [esp + 0x128]
fadd qword [0x5312a8]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x80], eax
fst qword [esp + 0xd8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x1c]
mov ax, word [esp + 0x1c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x44]
fldcw word [esp + 0x1c]
fld qword [esp + 0xd8]
mov edx, dword [esp + 0x44]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x1c]
mov ax, word [esp + 0x1c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x44]
fldcw word [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x7c], ecx
xor ecx, ecx
fld qword [esp + ecx + 0x150]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x1c]
mov ax, word [esp + 0x1c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x44]
fldcw word [esp + 0x1c]
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x48]
jge 0x4886a0
mov dword [esp + 0x48], eax
jmp 0x4886b0
cmp eax, dword [esp + 0x80]
jle 0x4886b0
mov dword [esp + 0x80], eax
fld qword [esp + ecx + 0x130]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x2c]
mov ax, word [esp + 0x2c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x30], ax
fldcw word [esp + 0x30]
fistp dword [esp + 0x84]
fldcw word [esp + 0x2c]
mov eax, dword [esp + 0x84]
cmp eax, edx
jge 0x4886f9
mov edx, eax
jmp 0x488703
cmp eax, dword [esp + 0x7c]
jle 0x488703
mov dword [esp + 0x7c], eax
add ecx, 8
cmp ecx, 0x18
jl 0x488659
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x80]
push ecx
mov ecx, dword [esp + 0x80]
dec ecx
push ecx
mov ecx, dword [esp + 0x88]
dec ecx
push ecx
mov ecx, dword [eax + 0x84]
push edx
mov edx, dword [esp + 0x58]
push edx
call fcn.0048e4b0
mov dword [esp + 0x84], eax
mov dword [edi + 0x138], eax
cmp eax, 1
je 0x48987d
fldz
fcomp qword [esi]
fnstsw ax
test ah, 0x41
jp 0x4887ce
fld qword [esi]
fadd qword [esi + 0x20]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x3c]
mov ax, word [esp + 0x3c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x34], ax
fldcw word [esp + 0x34]
fistp dword [esp + 0x74]
fldcw word [esp + 0x3c]
fld qword [esi + 0x20]
mov ebx, dword [esp + 0x74]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x5c]
mov ax, word [esp + 0x5c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x58], ax
fldcw word [esp + 0x58]
fistp dword [esp + 0x98]
fldcw word [esp + 0x5c]
jmp 0x48883d
fld qword [esi + 0x20]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x34]
mov ax, word [esp + 0x34]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x3c], ax
fldcw word [esp + 0x3c]
fistp dword [esp + 0x74]
fldcw word [esp + 0x34]
fld qword [esi]
mov ebx, dword [esp + 0x74]
fadd qword [esi + 0x20]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x58]
mov ax, word [esp + 0x58]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x5c], ax
fldcw word [esp + 0x5c]
fistp dword [esp + 0x98]
fldcw word [esp + 0x58]
fldz
sub ebx, dword [esp + 0x98]
fcomp qword [esi + 8]
fnstsw ax
fld qword [esi + 0x28]
test ah, 0x41
jp 0x4888c2
fadd qword [esi + 8]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x38]
mov ax, word [esp + 0x38]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x40], ax
fldcw word [esp + 0x40]
fistp dword [esp + 0x70]
fldcw word [esp + 0x38]
fld qword [esi + 0x28]
mov ecx, dword [esp + 0x70]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x60]
mov ax, word [esp + 0x60]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x68], ax
fldcw word [esp + 0x68]
fistp dword [esp + 0xa0]
fldcw word [esp + 0x60]
jmp 0x48892f
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x40]
mov ax, word [esp + 0x40]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x38], ax
fldcw word [esp + 0x38]
fistp dword [esp + 0x70]
fldcw word [esp + 0x40]
fld qword [esi + 0x28]
mov ecx, dword [esp + 0x70]
fadd qword [esi + 8]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x68]
mov ax, word [esp + 0x68]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x60], ax
fldcw word [esp + 0x60]
fistp dword [esp + 0xa0]
fldcw word [esp + 0x68]
sub ecx, dword [esp + 0xa0]
cmp ebx, ecx
jle 0x488943
mov dword [esp + 0x8c], ebx
jmp 0x48894c
mov ebx, ecx
mov dword [esp + 0x8c], ecx
fldz
fcomp qword [esi + 0x10]
fnstsw ax
test ah, 0x41
jp 0x4889ca
fld qword [esi + 0x10]
fadd qword [esi + 0x20]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x2c]
mov ax, word [esp + 0x2c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x30], ax
fldcw word [esp + 0x30]
fistp dword [esp + 0x78]
fldcw word [esp + 0x2c]
fld qword [esi + 0x20]
mov ecx, dword [esp + 0x78]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x64]
mov ax, word [esp + 0x64]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x54], ax
fldcw word [esp + 0x54]
fistp dword [esp + 0xa8]
fldcw word [esp + 0x64]
jmp 0x488a3a
fld qword [esi + 0x20]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x30]
mov ax, word [esp + 0x30]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x2c], ax
fldcw word [esp + 0x2c]
fistp dword [esp + 0x78]
fldcw word [esp + 0x30]
fld qword [esi + 0x10]
mov ecx, dword [esp + 0x78]
fadd qword [esi + 0x20]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x54]
mov ax, word [esp + 0x54]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x64], ax
fldcw word [esp + 0x64]
fistp dword [esp + 0xa8]
fldcw word [esp + 0x54]
fldz
sub ecx, dword [esp + 0xa8]
fcomp qword [esi + 0x18]
fnstsw ax
fld qword [esi + 0x28]
test ah, 0x41
jp 0x488abf
fadd qword [esi + 0x18]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x1c]
mov ax, word [esp + 0x1c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x48]
fldcw word [esp + 0x1c]
fld qword [esi + 0x28]
mov edx, dword [esp + 0x48]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x50]
mov ax, word [esp + 0x50]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x6c], ax
fldcw word [esp + 0x6c]
fistp dword [esp + 0xb0]
fldcw word [esp + 0x50]
jmp 0x488b2c
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x18]
mov ax, word [esp + 0x18]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x1c], ax
fldcw word [esp + 0x1c]
fistp dword [esp + 0x48]
fldcw word [esp + 0x18]
fld qword [esi + 0x28]
mov edx, dword [esp + 0x48]
fadd qword [esi + 0x18]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x6c]
mov ax, word [esp + 0x6c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x50], ax
fldcw word [esp + 0x50]
fistp dword [esp + 0xb0]
fldcw word [esp + 0x6c]
sub edx, dword [esp + 0xb0]
cmp ecx, edx
jle 0x488b40
mov dword [esp + 0x80], ecx
jmp 0x488b49
mov ecx, edx
mov dword [esp + 0x80], edx
test ebx, ebx
jne 0x488b59
mov ebx, 1
mov dword [esp + 0x8c], ebx
test ecx, ecx
jne 0x488b69
mov ecx, 1
mov dword [esp + 0x80], ecx
fild dword [esp + 0x8c]
fld qword [esi]
fdiv st(1)
fld qword [esi + 8]
fdivrp st(2)
fild dword [esp + 0x80]
fld qword [esi + 0x10]
fdiv st(1)
fld qword [esi + 0x18]
fdivrp st(2)
fld st(1)
fmul st(3)
fld st(1)
fmul st(5)
fsubp st(1)
fld st(0)
fabs
fcomp qword [0x534b60]
fnstsw ax
test ah, 5
jnp 0x489873
fdiv st(2), st(0)
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xd4]
push ecx
mov ecx, dword [esp + 0xc8]
push ebx
push ecx
mov ecx, dword [esp + 0xe4]
push edx
push eax
push ecx
mov ecx, edi
fxch st(2)
fstp qword [esp + 0x10c]
fxch st(3)
fdiv st(1)
fchs
fstp qword [esp + 0x11c]
fdiv st(2), st(0)
fxch st(2)
fchs
fstp qword [esp + 0x114]
fdivrp st(1)
fstp qword [esp + 0x104]
call fcn.00485c40
fld qword [esp + 0x128]
fcomp qword [esp + 0x130]
mov dword [esp + 0x44], eax
xor ecx, ecx
fnstsw ax
test ah, 0x41
jne 0x488c28
mov ecx, 1
fld qword [esp + ecx*8 + 0x128]
fcomp qword [esp + 0x138]
fnstsw ax
test ah, 0x41
jne 0x488c42
mov ecx, 2
fld qword [esp + ecx*8 + 0x128]
fcomp qword [esp + 0x140]
fnstsw ax
test ah, 0x41
jne 0x488c5c
mov ecx, 3
fld qword [esp + ecx*8 + 0x128]
lea edx, [ecx - 1]
and edx, 3
fsub qword [esp + edx*8 + 0x128]
fabs
fld qword [0x534b60]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x488ca0
lea eax, [ecx + 1]
and eax, 3
fld qword [esp + eax*8 + 0x128]
fcomp qword [esp + edx*8 + 0x128]
fnstsw ax
test ah, 0x41
jne 0x488ca0
mov ecx, edx
fld qword [esp + ecx*8 + 0x128]
lea edx, [ecx + 1]
and edx, 3
fsub qword [esp + edx*8 + 0x128]
fabs
fcompp
fnstsw ax
fld qword [esp + ecx*8 + 0x128]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
test ah, 0x41
jp 0x488dbf
fld qword [esp + 0x20]
fnstcw word [esp + 0x10]
mov ax, word [esp + 0x10]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x14], ax
fldcw word [esp + 0x14]
fistp dword [esp + 0x28]
fldcw word [esp + 0x10]
mov eax, dword [esp + 0x28]
lea ebx, [ecx - 2]
and ebx, 3
fld qword [esp + ebx*8 + 0x128]
mov dword [esp + 0x168], eax
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x14]
mov ax, word [esp + 0x14]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x28]
fldcw word [esp + 0x14]
fld qword [esp + edx*8 + 0x148]
mov eax, dword [esp + 0x28]
fcomp qword [esp + ecx*8 + 0x148]
dec eax
mov dword [esp + 0x16c], eax
fnstsw ax
test ah, 0x41
jne 0x488d91
mov dword [esp + 0x170], ecx
dec ecx
mov dword [esp + 0x178], edx
and ecx, 3
mov edx, 1
mov dword [esp + 0x174], ecx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x4c], edx
jmp 0x48908e
mov dword [esp + 0x178], ecx
dec ecx
mov dword [esp + 0x170], edx
and ecx, 3
mov edx, 1
mov dword [esp + 0x174], ebx
mov dword [esp + 0x17c], ecx
mov dword [esp + 0x4c], edx
jmp 0x48908e
fld qword [esp + 0x20]
fnstcw word [esp + 0x14]
mov ax, word [esp + 0x14]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x28]
fldcw word [esp + 0x14]
mov eax, dword [esp + 0x28]
lea ebx, [ecx - 2]
and ebx, 3
fld qword [esp + ebx*8 + 0x128]
mov dword [esp + 0x168], eax
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x14]
mov ax, word [esp + 0x14]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x28]
fldcw word [esp + 0x14]
mov eax, dword [esp + 0x28]
lea edi, [ecx - 1]
and edi, 3
fld qword [esp + edi*8 + 0x148]
dec eax
fcomp qword [esp + edx*8 + 0x148]
mov dword [esp + 0x23c], eax
mov dword [esp + 0x178], ecx
mov dword [esp + 0x170], ecx
mov dword [esp + 0x24c], ebx
fnstsw ax
mov dword [esp + 0x244], ebx
test ah, 0x41
jne 0x488e84
mov eax, edx
mov dword [esp + 0x240], eax
mov dword [esp + 0x174], eax
mov eax, edi
jmp 0x488e96
mov eax, edi
mov dword [esp + 0x240], eax
mov dword [esp + 0x174], eax
mov eax, edx
fld qword [esp + edi*8 + 0x128]
mov dword [esp + 0x17c], eax
fcomp qword [esp + edx*8 + 0x128]
mov dword [esp + 0x248], eax
fnstsw ax
test ah, 0x41
jne 0x488f8a
fld qword [esp + edx*8 + 0x128]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x14]
mov ax, word [esp + 0x14]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x28]
fldcw word [esp + 0x14]
fld qword [esp + edi*8 + 0x128]
mov eax, dword [esp + 0x28]
fadd qword [0x5312a8]
mov dword [esp + 0x1d0], eax
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x14]
mov ax, word [esp + 0x14]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x28]
fldcw word [esp + 0x14]
fld qword [esp + edi*8 + 0x148]
mov eax, dword [esp + 0x28]
fcomp qword [esp + edx*8 + 0x148]
mov dword [esp + 0x238], eax
fnstsw ax
test ah, 0x41
jne 0x488f69
mov dword [esp + 0x1d8], edx
mov dword [esp + 0x1e4], edi
jmp 0x48904f
mov dword [esp + 0x1d8], ecx
mov dword [esp + 0x1dc], edi
mov dword [esp + 0x1e0], edx
mov dword [esp + 0x1e4], ebx
jmp 0x48905d
fld qword [esp + edi*8 + 0x128]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x14]
mov ax, word [esp + 0x14]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x28]
fldcw word [esp + 0x14]
fld qword [esp + edx*8 + 0x128]
mov eax, dword [esp + 0x28]
fadd qword [0x5312a8]
mov dword [esp + 0x1d0], eax
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x14]
mov ax, word [esp + 0x14]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x28]
fldcw word [esp + 0x14]
fld qword [esp + edi*8 + 0x148]
mov eax, dword [esp + 0x28]
fcomp qword [esp + edx*8 + 0x148]
mov dword [esp + 0x238], eax
fnstsw ax
test ah, 0x41
jne 0x489041
mov dword [esp + 0x1d8], ecx
mov dword [esp + 0x1dc], edx
mov dword [esp + 0x1e0], edi
mov dword [esp + 0x1e4], ebx
jmp 0x48905d
mov dword [esp + 0x1d8], edi
mov dword [esp + 0x1e4], edx
mov dword [esp + 0x1e0], ecx
mov dword [esp + 0x1dc], ebx
mov ecx, dword [esp + 0x1d0]
mov edx, dword [esp + 0x238]
mov edi, dword [esp + 0xbc]
dec ecx
dec edx
mov dword [esp + 0x4c], 3
mov dword [esp + 0x1d4], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x16c], ecx
xor ebx, ebx
cmp edx, 4
jl 0x489372
add edx, 0xfffffffc
shr edx, 2
inc edx
lea eax, [esp + 0x170]
lea ebx, [edx*4]
mov edi, edi
mov ecx, dword [eax]
add ecx, ecx
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax + 0x10]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax + 4]
fst qword [eax + 0x18]
add ecx, ecx
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax + 0x20]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax + 8]
fst qword [eax + 0x28]
add ecx, ecx
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax + 0x38]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax + 0xc]
fst qword [eax + 0x40]
add ecx, ecx
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax + 0x48]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax + 0x68]
fst qword [esp + 0x20]
add ecx, ecx
fstp qword [eax + 0x50]
add ecx, ecx
fxch st(4)
add ecx, ecx
fsubrp st(6)
fxch st(2)
fsubrp st(4)
fxch st(4)
fdivrp st(3)
fxch st(2)
fstp qword [eax + 0x30]
fsubrp st(2)
fsubr qword [esp + 0x20]
fdivp st(1)
fstp qword [eax + 0x58]
fld qword [esp + ecx + 0x148]
fst qword [eax + 0x78]
fld qword [esp + ecx + 0x128]
fst qword [eax + 0x80]
mov ecx, dword [eax + 0x6c]
add ecx, ecx
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax + 0x88]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax + 0x70]
add ecx, ecx
fst qword [eax + 0x90]
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax + 0xa0]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax + 0x74]
add ecx, ecx
fst qword [eax + 0xa8]
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax + 0xb0]
fld qword [esp + ecx + 0x128]
fst qword [esp + 0x20]
fstp qword [eax + 0xb8]
fxch st(4)
fsubrp st(6)
fxch st(2)
fsubrp st(4)
mov ecx, dword [eax + 0xd0]
fxch st(4)
add ecx, ecx
add ecx, ecx
fdivrp st(3)
add ecx, ecx
fxch st(2)
fstp qword [eax + 0x98]
fsubrp st(2)
fsubr qword [esp + 0x20]
fdivp st(1)
fstp qword [eax + 0xc0]
fld qword [esp + ecx + 0x148]
fst qword [eax + 0xe0]
fld qword [esp + ecx + 0x128]
fst qword [eax + 0xe8]
mov ecx, dword [eax + 0xd4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax + 0xf0]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax + 0xd8]
add ecx, ecx
fst qword [eax + 0xf8]
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax + 0x108]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax + 0xdc]
add ecx, ecx
fst qword [eax + 0x110]
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax + 0x118]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax + 0x138]
fst qword [esp + 0x20]
add ecx, ecx
fstp qword [eax + 0x120]
add ecx, ecx
fxch st(4)
add ecx, ecx
fsubrp st(6)
fxch st(2)
fsubrp st(4)
fxch st(4)
fdivrp st(3)
fxch st(2)
fstp qword [eax + 0x100]
fsubrp st(2)
fsubr qword [esp + 0x20]
fdivp st(1)
fstp qword [eax + 0x128]
fld qword [esp + ecx + 0x148]
fst qword [eax + 0x148]
fld qword [esp + ecx + 0x128]
fst qword [eax + 0x150]
mov ecx, dword [eax + 0x13c]
add ecx, ecx
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax + 0x158]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax + 0x140]
add ecx, ecx
fst qword [eax + 0x160]
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax + 0x170]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax + 0x144]
add ecx, ecx
fst qword [eax + 0x178]
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
add eax, 0x1a0
dec edx
fst qword [eax - 0x20]
fld qword [esp + ecx + 0x128]
fst qword [esp + 0x20]
fstp qword [eax - 0x18]
fxch st(4)
fsubrp st(6)
fxch st(2)
fsubrp st(4)
fxch st(4)
fdivrp st(3)
fxch st(2)
fstp qword [eax - 0x38]
fsubrp st(2)
fsubr qword [esp + 0x20]
fdivp st(1)
fstp qword [eax - 0x10]
jne 0x4890b0
mov edx, dword [esp + 0x4c]
cmp ebx, edx
jge 0x48942d
mov edx, dword [esp + 0x4c]
mov eax, ebx
imul eax, eax, 0x68
lea eax, [esp + eax + 0x170]
sub edx, ebx
lea esp, [esp]
mov ecx, dword [eax]
add ecx, ecx
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
add eax, 0x68
fst qword [eax - 0x58]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax - 0x64]
fst qword [eax - 0x50]
add ecx, ecx
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax - 0x48]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax - 0x60]
fst qword [eax - 0x40]
add ecx, ecx
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x148]
fst qword [eax - 0x30]
fld qword [esp + ecx + 0x128]
mov ecx, dword [eax - 0x5c]
fst qword [eax - 0x28]
add ecx, ecx
add ecx, ecx
add ecx, ecx
dec edx
fld qword [esp + ecx + 0x148]
fst qword [eax - 0x20]
fld qword [esp + ecx + 0x128]
fst qword [esp + 0x20]
fstp qword [eax - 0x18]
fxch st(4)
fsubrp st(6)
fxch st(2)
fsubrp st(4)
fxch st(4)
fdivrp st(3)
fxch st(2)
fstp qword [eax - 0x38]
fsubrp st(2)
fsubr qword [esp + 0x20]
fdivp st(1)
fstp qword [eax - 0x10]
jne 0x489390
mov ecx, dword [edi + 8]
fld qword [ecx + 0x48]
fmul qword [0x536240]
fadd qword [0x5312a8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x14]
mov ax, word [esp + 0x14]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x28]
fldcw word [esp + 0x14]
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x34]
push 0
mov ebx, 1
push ebx
push edx
push ecx
lea edx, [esp + 0x118]
push edx
mov ecx, edi
call fcn.004840a0
mov ecx, dword [esp + 0x4c]
cmp ecx, ebx
jne 0x4894ad
mov eax, dword [esp + 0x168]
cmp eax, dword [esp + 0x16c]
jne 0x4894d6
add dword [esp + 0x16c], ebx
jmp 0x4894c4
mov edx, dword [esp + 0x168]
cmp edx, dword [esp + 0x23c]
jne 0x4894d6
add dword [esp + 0x1d4], ebx
mov eax, 2
mov dword [esp + 0x84], eax
mov dword [edi + 0x138], eax
test ecx, ecx
jle 0x489841
lea eax, [esp + 0x188]
mov dword [esp + 0x4c], eax
mov dword [esp + 0xcc], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax - 0x20]
mov dword [esp + 0x88], ecx
cmp ecx, dword [eax - 0x1c]
jg 0x48982f
mov ecx, eax
mov edx, dword [ecx - 0x1c]
mov dword [esp + 0xd8], edx
mov edx, eax
jmp 0x489520
fild dword [esp + 0x88]
fld qword [0x5312a8]
fadd st(1), st(0)
fxch st(1)
fst qword [esp + 0x20]
fsub qword [edx]
fmul qword [edx + 0x18]
fadd qword [edx - 8]
faddp st(1)
fstp qword [esp + 0xc0]
fld qword [esp + 0xc0]
fnstcw word [esp + 0x14]
mov ax, word [esp + 0x14]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0xd4]
fldcw word [esp + 0x14]
fld qword [esp + 0x20]
mov ecx, dword [esp + 0xd4]
fsub qword [edx + 0x28]
mov dword [esp + 0x90], ecx
fmul qword [edx + 0x40]
fadd qword [edx + 0x20]
fadd qword [0x5312a8]
fstp qword [esp + 0xc0]
fld qword [esp + 0xc0]
fnstcw word [esp + 0xb8]
mov ax, word [esp + 0xb8]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0xac], ax
fldcw word [esp + 0xac]
fistp dword [esp + 0xd0]
fldcw word [esp + 0xb8]
mov eax, dword [esp + 0xd0]
mov ebx, eax
mov dword [esp + 0x28], eax
cmp ecx, eax
jg 0x489813
jne 0x4895f3
lea ebx, [eax + 1]
mov dword [esp + 0x28], ebx
mov eax, dword [edi]
mov eax, dword [eax]
cmp ecx, eax
jge 0x489813
test ebx, ebx
js 0x489813
test ecx, ecx
jns 0x489614
xor ecx, ecx
mov dword [esp + 0x90], ecx
cmp ebx, eax
jle 0x48961e
mov ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc0], ecx
cmp ecx, ebx
jge 0x489778
lea ecx, [ecx]
fild dword [esp + 0xc0]
mov ebx, dword [esp + 0x8c]
fadd qword [0x5312a8]
fst qword [esp + 0xe0]
fld qword [esp + 0x20]
fsub qword [esi + 0x28]
fmul qword [esp + 0xf8]
fxch st(1)
fsub qword [esi + 0x20]
fmul qword [esp + 0xf0]
faddp st(1)
fstp qword [esp + 0xc0]
fld qword [esp + 0xc0]
fnstcw word [esp + 0xa4]
mov ax, word [esp + 0xa4]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x9c], ax
fldcw word [esp + 0x9c]
fistp dword [esp + 0xc8]
fldcw word [esp + 0xa4]
fld qword [esp + 0x20]
mov edx, dword [esp + 0xc8]
fsub qword [esi + 0x28]
fmul qword [esp + 0xe8]
fld qword [esp + 0xe0]
fsub qword [esi + 0x20]
fmul qword [esp + 0x100]
faddp st(1)
fstp qword [esp + 0xe0]
fld qword [esp + 0xe0]
fnstcw word [esp + 0x94]
mov ax, word [esp + 0x94]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0xb4], ax
fldcw word [esp + 0xb4]
fistp dword [esp + 0x7c]
fldcw word [esp + 0x94]
mov eax, dword [esp + 0x7c]
test edx, edx
jns 0x48971c
xor edx, edx
jmp 0x48972a
mov edi, dword [esp + 0xbc]
cmp edx, ebx
jl 0x48972a
lea edx, [ebx - 1]
cmp dword [esp + 0x7c], 0
jge 0x489735
xor eax, eax
jmp 0x48974c
mov edi, dword [esp + 0x80]
cmp dword [esp + 0x7c], edi
jl 0x489745
lea eax, [edi - 1]
mov edi, dword [esp + 0xbc]
imul eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x44]
add eax, dword [ebx + 0x10]
mov ebx, dword [edi + 0xc]
mov dl, byte [eax + edx]
mov byte [ecx + ebx], dl
mov ebx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0xc0], ecx
cmp ecx, ebx
jl 0x489630
cmp dword [esp + 0x84], 0
je 0x4897e4
cmp dword [edi + 0x13c], 0
mov eax, dword [edi + 8]
je 0x4897ba
mov ecx, dword [eax + 0x80]
push ecx
mov ecx, dword [esp + 0x94]
lea edx, [ebx - 1]
push edx
mov edx, dword [esp + 0x90]
push ecx
mov ecx, dword [edi + 0xc]
push edx
push ecx
mov ecx, dword [eax + 0x84]
call fcn.0048e630
jmp 0x4897e4
mov edx, dword [eax + 0x80]
push edx
mov edx, dword [esp + 0x94]
lea ecx, [ebx - 1]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [edi + 0xc]
push ecx
mov ecx, dword [eax + 0x84]
push edx
call fcn.0048e880
mov eax, dword [esp + 0x90]
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x88]
push 0
add ecx, eax
push ecx
push edx
dec ebx
push ebx
push eax
lea eax, [esp + 0x11c]
push eax
mov ecx, edi
call dword [esp + 0x13c]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x88]
inc eax
mov dword [esp + 0x88], eax
cmp eax, dword [esp + 0xd8]
jle 0x489520
add dword [esp + 0x4c], 0x68
dec dword [esp + 0xcc]
jne 0x4894f0
cmp dword [esp + 0x44], 0
je 0x48987d
mov esi, dword [esp + 0x44]
mov ecx, esi
call fcn.0048bf50
push esi
call fcn.0051163f
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.00511afd
mov esp, ebp
pop ebp
ret 0x1c
fstp st(0)
fstp st(2)
fstp st(2)
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00511afd
mov esp, ebp
pop ebp
ret 0x1c