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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x63d20c]
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 + 0x104]
push edi
fld qword [esi + 0x28]
mov edi, ecx
fstp qword [esp + 0xd0]
mov ecx, dword [ebp + 0xc]
fld qword [esi + 0x10]
mov dword [esp + 0xb8], edi
fadd qword [esi + 0x20]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xcc], ecx
fstp qword [esp + 0x110]
fld qword [esi + 0x28]
fadd qword [esi + 0x18]
fstp qword [esp + 0xd8]
fld qword [esi + 0x10]
fadd qword [esi]
fadd qword [esi + 0x20]
fstp qword [esp + 0x118]
fld qword [esi + 0x18]
fadd qword [esi + 8]
fadd qword [esi + 0x28]
fstp qword [esp + 0xe0]
fld qword [esi]
fadd qword [esi + 0x20]
fstp qword [esp + 0x120]
fld qword [esi + 0x28]
fadd qword [esi + 8]
fstp qword [esp + 0xe8]
fadd qword [0x579e48]
fst qword [esp + 0xf8]
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]
mov edx, dword [esp + 0x48]
fld qword [esp + 0xf8]
fstp qword [esp + 0x20]
mov dword [esp + 0x4c], edx
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 [esp + 0xd0]
fadd qword [0x579e48]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
fst qword [esp + 0xf8]
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 [esp + 0xf8]
mov edx, dword [esp + 0x48]
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]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x80], ecx
xor ecx, ecx
fld qword [esp + ecx + 0x110]
fadd qword [0x579e48]
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]
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
jge 0x4e2e22
mov dword [esp + 0x4c], eax
jmp 0x4e2e2c
cmp eax, dword [esp + 0x7c]
jle 0x4e2e2c
mov dword [esp + 0x7c], eax
fld qword [esp + ecx + 0xd8]
fadd qword [0x579e48]
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 + 0x34], ax
fldcw word [esp + 0x34]
fistp dword [esp + 0x88]
fldcw word [esp + 0x30]
mov eax, dword [esp + 0x88]
cmp eax, edx
jge 0x4e2e75
mov edx, eax
jmp 0x4e2e85
cmp eax, dword [esp + 0x80]
jle 0x4e2e85
mov dword [esp + 0x80], eax
add ecx, 8
cmp ecx, 0x18
jl 0x4e2ddb
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x80]
push ecx
mov ecx, dword [esp + 0x84]
dec ecx
push ecx
mov ecx, dword [esp + 0x84]
dec ecx
push ecx
mov ecx, dword [eax + 0x84]
push edx
mov edx, dword [esp + 0x5c]
push edx
call fcn.00500f40
mov dword [esp + 0x88], eax
mov dword [edi + 0x38], eax
cmp eax, 1
je 0x4e3cf8
fldz
fcomp qword [esi]
fnstsw ax
test ah, 0x41
jp 0x4e2f4d
fld qword [esi]
fadd qword [esi + 0x20]
fadd qword [0x579e48]
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 + 0x38], ax
fldcw word [esp + 0x38]
fistp dword [esp + 0x70]
fldcw word [esp + 0x3c]
fld qword [esi + 0x20]
mov ecx, dword [esp + 0x70]
fadd qword [0x579e48]
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 + 0x5c], ax
fldcw word [esp + 0x5c]
fistp dword [esp + 0x98]
fldcw word [esp + 0x68]
jmp 0x4e2fbc
fld qword [esi + 0x20]
fadd qword [0x579e48]
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 + 0x3c], ax
fldcw word [esp + 0x3c]
fistp dword [esp + 0x70]
fldcw word [esp + 0x38]
fld qword [esi]
mov ecx, dword [esp + 0x70]
fadd qword [esi + 0x20]
fadd qword [0x579e48]
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 + 0x68], ax
fldcw word [esp + 0x68]
fistp dword [esp + 0x98]
fldcw word [esp + 0x5c]
fldz
sub ecx, dword [esp + 0x98]
fcomp qword [esi + 8]
mov edx, ecx
fnstsw ax
fld qword [esi + 0x28]
test ah, 0x41
jp 0x4e3043
fadd qword [esi + 8]
fadd qword [0x579e48]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x44]
mov ax, word [esp + 0x44]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x40], ax
fldcw word [esp + 0x40]
fistp dword [esp + 0x74]
fldcw word [esp + 0x44]
fld qword [esi + 0x28]
mov ecx, dword [esp + 0x74]
fadd qword [0x579e48]
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 + 0x60], ax
fldcw word [esp + 0x60]
fistp dword [esp + 0x9c]
fldcw word [esp + 0x54]
jmp 0x4e30b0
fadd qword [0x579e48]
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 + 0x44], ax
fldcw word [esp + 0x44]
fistp dword [esp + 0x74]
fldcw word [esp + 0x40]
fld qword [esi + 0x28]
mov ecx, dword [esp + 0x74]
fadd qword [esi + 8]
fadd qword [0x579e48]
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 + 0x54], ax
fldcw word [esp + 0x54]
fistp dword [esp + 0x9c]
fldcw word [esp + 0x60]
sub ecx, dword [esp + 0x9c]
cmp edx, ecx
jle 0x4e30c6
mov ebx, edx
mov dword [esp + 0x84], ebx
jmp 0x4e30cf
mov ebx, ecx
mov dword [esp + 0x84], ecx
fldz
fcomp qword [esi + 0x10]
fnstsw ax
test ah, 0x41
jp 0x4e314d
fld qword [esi + 0x10]
fadd qword [esi + 0x20]
fadd qword [0x579e48]
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 + 0x34], ax
fldcw word [esp + 0x34]
fistp dword [esp + 0x78]
fldcw word [esp + 0x30]
fld qword [esi + 0x20]
mov ecx, dword [esp + 0x78]
fadd qword [0x579e48]
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 + 0x64], ax
fldcw word [esp + 0x64]
fistp dword [esp + 0xa4]
fldcw word [esp + 0x6c]
jmp 0x4e31bd
fld qword [esi + 0x20]
fadd qword [0x579e48]
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 + 0x30], ax
fldcw word [esp + 0x30]
fistp dword [esp + 0x78]
fldcw word [esp + 0x34]
fld qword [esi + 0x10]
mov ecx, dword [esp + 0x78]
fadd qword [esi + 0x20]
fadd qword [0x579e48]
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 + 0x6c], ax
fldcw word [esp + 0x6c]
fistp dword [esp + 0xa4]
fldcw word [esp + 0x64]
fldz
sub ecx, dword [esp + 0xa4]
fcomp qword [esi + 0x18]
fnstsw ax
fld qword [esi + 0x28]
test ah, 0x41
jp 0x4e3242
fadd qword [esi + 0x18]
fadd qword [0x579e48]
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 + 0x4c]
fldcw word [esp + 0x18]
fld qword [esi + 0x28]
mov edx, dword [esp + 0x4c]
fadd qword [0x579e48]
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 + 0x58], ax
fldcw word [esp + 0x58]
fistp dword [esp + 0xac]
fldcw word [esp + 0x50]
jmp 0x4e32af
fadd qword [0x579e48]
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 + 0x4c]
fldcw word [esp + 0x1c]
fld qword [esi + 0x28]
mov edx, dword [esp + 0x4c]
fadd qword [esi + 0x18]
fadd qword [0x579e48]
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 + 0x50], ax
fldcw word [esp + 0x50]
fistp dword [esp + 0xac]
fldcw word [esp + 0x58]
sub edx, dword [esp + 0xac]
cmp ecx, edx
jle 0x4e32c0
mov dword [esp + 0x7c], ecx
jmp 0x4e32c6
mov ecx, edx
mov dword [esp + 0x7c], edx
test ebx, ebx
jne 0x4e32d6
mov ebx, 1
mov dword [esp + 0x84], ebx
test ecx, ecx
jne 0x4e32e3
mov ecx, 1
mov dword [esp + 0x7c], ecx
fild dword [esp + 0x84]
fld qword [esi]
fdiv st(1)
fld qword [esi + 8]
fdivrp st(2)
fild dword [esp + 0x7c]
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 [0x5c7fb8]
fnstsw ax
test ah, 5
jnp 0x4e3cee
fdiv st(2), st(0)
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0xd0]
push ecx
mov ecx, dword [ebp + 0x14]
push ebx
push ecx
mov ecx, dword [esp + 0xd4]
push edx
push eax
push ecx
mov ecx, edi
fxch st(2)
fstp qword [esp + 0x154]
fxch st(3)
fdiv st(1)
fchs
fstp qword [esp + 0x14c]
fdiv st(2), st(0)
fxch st(2)
fchs
fstp qword [esp + 0x164]
fdivrp st(1)
fstp qword [esp + 0x15c]
call fcn.004df410
fld qword [esp + 0xd0]
fcomp qword [esp + 0xd8]
mov dword [esp + 0x48], eax
xor ecx, ecx
fnstsw ax
test ah, 0x41
jne 0x4e3393
mov ecx, 1
fld qword [esp + ecx*8 + 0xd0]
fcomp qword [esp + 0xe0]
fnstsw ax
test ah, 0x41
jne 0x4e33ad
mov ecx, 2
fld qword [esp + ecx*8 + 0xd0]
fcomp qword [esp + 0xe8]
fnstsw ax
test ah, 0x41
jne 0x4e33c7
mov ecx, 3
fld qword [esp + ecx*8 + 0xd0]
lea edx, [ecx - 1]
and edx, 3
fsub qword [esp + edx*8 + 0xd0]
fabs
fld qword [0x5c7fb8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x4e340b
lea eax, [ecx + 1]
and eax, 3
fld qword [esp + eax*8 + 0xd0]
fcomp qword [esp + edx*8 + 0xd0]
fnstsw ax
test ah, 0x41
jne 0x4e340b
mov ecx, edx
fld qword [esp + ecx*8 + 0xd0]
lea edx, [ecx + 1]
and edx, 3
fsub qword [esp + edx*8 + 0xd0]
fabs
fcompp
fnstsw ax
fld qword [esp + ecx*8 + 0xd0]
fadd qword [0x579e48]
fstp qword [esp + 0x20]
test ah, 0x41
jp 0x4e3522
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 + 0x2c]
fldcw word [esp + 0x10]
mov eax, dword [esp + 0x2c]
lea ebx, [ecx - 2]
and ebx, 3
fld qword [esp + ebx*8 + 0xd0]
mov dword [esp + 0x150], eax
fadd qword [0x579e48]
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 + 0x2c]
fldcw word [esp + 0x14]
fld qword [esp + edx*8 + 0x108]
mov eax, dword [esp + 0x2c]
fcomp qword [esp + ecx*8 + 0x108]
dec eax
mov dword [esp + 0x154], eax
fnstsw ax
test ah, 0x41
jne 0x4e34f8
mov dword [esp + 0x158], ecx
dec ecx
and ecx, 3
mov dword [esp + 0x164], ebx
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], edx
mov ebx, 1
jmp 0x4e37ea
mov dword [esp + 0x160], ecx
dec ecx
and ecx, 3
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x158], edx
mov dword [esp + 0x164], ecx
mov ebx, 1
jmp 0x4e37ea
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 + 0x2c]
fldcw word [esp + 0x14]
mov eax, dword [esp + 0x2c]
lea ebx, [ecx - 2]
and ebx, 3
fld qword [esp + ebx*8 + 0xd0]
mov dword [esp + 0x150], eax
fadd qword [0x579e48]
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 + 0x2c]
fldcw word [esp + 0x14]
mov eax, dword [esp + 0x2c]
lea edi, [ecx - 1]
and edi, 3
fld qword [esp + edi*8 + 0x108]
dec eax
fcomp qword [esp + edx*8 + 0x108]
mov dword [esp + 0x224], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x158], ecx
mov dword [esp + 0x234], ebx
fnstsw ax
mov dword [esp + 0x22c], ebx
test ah, 0x41
jne 0x4e35e7
mov eax, edx
mov dword [esp + 0x228], eax
mov dword [esp + 0x15c], eax
mov eax, edi
jmp 0x4e35f9
mov eax, edi
mov dword [esp + 0x228], eax
mov dword [esp + 0x15c], eax
mov eax, edx
fld qword [esp + edi*8 + 0xd0]
mov dword [esp + 0x164], eax
fcomp qword [esp + edx*8 + 0xd0]
mov dword [esp + 0x230], eax
fnstsw ax
test ah, 0x41
jne 0x4e36ed
fld qword [esp + edx*8 + 0xd0]
fadd qword [0x579e48]
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 + 0x2c]
fldcw word [esp + 0x14]
fld qword [esp + edi*8 + 0xd0]
mov eax, dword [esp + 0x2c]
fadd qword [0x579e48]
mov dword [esp + 0x1b8], 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 + 0x2c]
fldcw word [esp + 0x14]
fld qword [esp + edi*8 + 0x108]
mov eax, dword [esp + 0x2c]
fcomp qword [esp + edx*8 + 0x108]
mov dword [esp + 0x220], eax
fnstsw ax
test ah, 0x41
jne 0x4e36cc
mov dword [esp + 0x1c0], edx
mov dword [esp + 0x1cc], edi
jmp 0x4e37b2
mov dword [esp + 0x1c0], ecx
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x1c8], edx
mov dword [esp + 0x1cc], ebx
jmp 0x4e37c0
fld qword [esp + edi*8 + 0xd0]
fadd qword [0x579e48]
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 + 0x2c]
fldcw word [esp + 0x14]
fld qword [esp + edx*8 + 0xd0]
mov eax, dword [esp + 0x2c]
fadd qword [0x579e48]
mov dword [esp + 0x1b8], 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 + 0x2c]
fldcw word [esp + 0x14]
fld qword [esp + edi*8 + 0x108]
mov eax, dword [esp + 0x2c]
fcomp qword [esp + edx*8 + 0x108]
mov dword [esp + 0x220], eax
fnstsw ax
test ah, 0x41
jne 0x4e37a4
mov dword [esp + 0x1c0], ecx
mov dword [esp + 0x1c4], edx
mov dword [esp + 0x1c8], edi
mov dword [esp + 0x1cc], ebx
jmp 0x4e37c0
mov dword [esp + 0x1c0], edi
mov dword [esp + 0x1cc], edx
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1c4], ebx
mov ecx, dword [esp + 0x1b8]
mov edx, dword [esp + 0x220]
mov edi, dword [esp + 0xb8]
dec ecx
dec edx
mov dword [esp + 0x154], ecx
mov dword [esp + 0x1bc], edx
mov ebx, 3
test ebx, ebx
jle 0x4e389f
lea eax, [esp + 0x158]
mov edx, ebx
jmp 0x4e3800
mov ecx, dword [eax]
add ecx, ecx
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x108]
add eax, 0x68
fst qword [eax - 0x58]
fld qword [esp + ecx + 0xd0]
mov ecx, dword [eax - 0x64]
fst qword [eax - 0x50]
add ecx, ecx
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x108]
fst qword [eax - 0x48]
fld qword [esp + ecx + 0xd0]
mov ecx, dword [eax - 0x60]
fst qword [eax - 0x40]
add ecx, ecx
add ecx, ecx
add ecx, ecx
fld qword [esp + ecx + 0x108]
fst qword [eax - 0x30]
fld qword [esp + ecx + 0xd0]
mov ecx, dword [eax - 0x5c]
fst qword [eax - 0x28]
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub edx, 1
fld qword [esp + ecx + 0x108]
fst qword [eax - 0x20]
fld qword [esp + ecx + 0xd0]
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 0x4e3800
mov eax, dword [edi + 8]
fld qword [eax + 0x48]
fmul qword [0x5c49f8]
fadd qword [0x579e48]
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 + 0x2c]
fldcw word [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x34]
push 0
push 1
push ecx
push eax
lea ecx, [esp + 0x298]
push ecx
mov ecx, edi
call fcn.004dd8e0
cmp ebx, 1
jne 0x4e3918
mov edx, dword [esp + 0x154]
cmp dword [esp + 0x150], edx
jne 0x4e393e
inc dword [esp + 0x154]
jmp 0x4e392f
mov eax, dword [esp + 0x150]
cmp eax, dword [esp + 0x224]
jne 0x4e393e
inc dword [esp + 0x1bc]
mov eax, 2
mov dword [esp + 0x88], eax
mov dword [edi + 0x38], eax
test ebx, ebx
jle 0x4e3cbc
lea ecx, [esp + 0x170]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xcc], ebx
jmp 0x4e3960
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax - 0x20]
cmp ecx, dword [eax - 0x1c]
mov dword [esp + 0x90], ecx
jg 0x4e3ca6
mov edx, eax
mov eax, dword [edx - 0x1c]
mov dword [esp + 0xf8], eax
jmp 0x4e3990
fild dword [esp + 0x90]
fld qword [0x579e48]
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 + 0xc4]
fld qword [esp + 0xc4]
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 + 0x104]
fldcw word [esp + 0x14]
fld qword [esp + 0x20]
mov ecx, dword [esp + 0x104]
fsub qword [edx + 0x28]
mov dword [esp + 0x94], ecx
fmul qword [edx + 0x40]
fadd qword [edx + 0x20]
fadd qword [0x579e48]
fstp qword [esp + 0xc4]
fld qword [esp + 0xc4]
fnstcw word [esp + 0xb4]
mov ax, word [esp + 0xb4]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0xbc], ax
fldcw word [esp + 0xbc]
fistp dword [esp + 0xf4]
fldcw word [esp + 0xb4]
mov eax, dword [esp + 0xf4]
cmp ecx, eax
mov ebx, eax
mov dword [esp + 0x2c], eax
jg 0x4e3c8a
jne 0x4e3a63
lea ebx, [eax + 1]
mov dword [esp + 0x2c], ebx
mov eax, dword [edi]
mov eax, dword [eax]
cmp ecx, eax
jge 0x4e3c8a
test ebx, ebx
jl 0x4e3c8a
test ecx, ecx
jge 0x4e3a84
xor ecx, ecx
mov dword [esp + 0x94], ecx
cmp ebx, eax
jle 0x4e3a8e
mov ebx, eax
mov dword [esp + 0x2c], ebx
cmp ecx, ebx
mov dword [esp + 0xc4], ecx
jge 0x4e3bef
lea ecx, [ecx]
fild dword [esp + 0xc4]
mov ebx, dword [esp + 0x84]
fadd qword [0x579e48]
fst qword [esp + 0x128]
fsub qword [esi + 0x20]
fmul qword [esp + 0x138]
fld qword [esp + 0x20]
fsub qword [esi + 0x28]
fmul qword [esp + 0x148]
faddp st(1)
fstp qword [esp + 0xc4]
fld qword [esp + 0xc4]
fnstcw word [esp + 0xa8]
mov ax, word [esp + 0xa8]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0xa0], ax
fldcw word [esp + 0xa0]
fistp dword [esp + 0xf0]
fldcw word [esp + 0xa8]
fld qword [esp + 0x128]
mov edx, dword [esp + 0xf0]
fsub qword [esi + 0x20]
fmul qword [esp + 0x130]
fld qword [esp + 0x20]
fsub qword [esi + 0x28]
fmul qword [esp + 0x140]
faddp st(1)
fstp qword [esp + 0x128]
fld qword [esp + 0x128]
fnstcw word [esp + 0xb0]
mov ax, word [esp + 0xb0]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0xc0], ax
fldcw word [esp + 0xc0]
fistp dword [esp + 0x80]
fldcw word [esp + 0xb0]
mov eax, dword [esp + 0x80]
test edx, edx
jge 0x4e3b90
xor edx, edx
jmp 0x4e3b9e
cmp edx, ebx
mov edi, dword [esp + 0xb8]
jl 0x4e3b9e
lea edx, [ebx - 1]
cmp dword [esp + 0x80], 0
jge 0x4e3bac
xor eax, eax
jmp 0x4e3bc3
mov edi, dword [esp + 0x7c]
cmp dword [esp + 0x80], edi
jl 0x4e3bbc
lea eax, [edi - 1]
mov edi, dword [esp + 0xb8]
imul eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x48]
add eax, dword [ebx + 0x10]
mov ebx, dword [edi + 0xc]
mov dl, byte [eax + edx]
mov byte [ecx + ebx], dl
mov ebx, dword [esp + 0x2c]
inc ecx
cmp ecx, ebx
mov dword [esp + 0xc4], ecx
jl 0x4e3aa0
cmp dword [esp + 0x88], 0
je 0x4e3c58
cmp dword [edi + 0x3c], 0
mov eax, dword [edi + 8]
je 0x4e3c2e
mov ecx, dword [eax + 0x80]
push ecx
mov ecx, dword [esp + 0x98]
lea edx, [ebx - 1]
push edx
mov edx, dword [esp + 0x98]
push ecx
mov ecx, dword [edi + 0xc]
push edx
push ecx
mov ecx, dword [eax + 0x84]
call fcn.005010c0
jmp 0x4e3c58
mov edx, dword [eax + 0x80]
push edx
mov edx, dword [esp + 0x98]
lea ecx, [ebx - 1]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [edi + 0xc]
push ecx
mov ecx, dword [eax + 0x84]
push edx
call fcn.00501330
mov eax, dword [esp + 0x94]
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x90]
push 0
add ecx, eax
push ecx
push edx
dec ebx
push ebx
push eax
lea eax, [esp + 0x29c]
push eax
mov ecx, edi
call dword [esp + 0x2b8]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
inc eax
cmp eax, dword [esp + 0xf8]
mov dword [esp + 0x90], eax
jle 0x4e3990
add dword [esp + 0x8c], 0x68
sub dword [esp + 0xcc], 1
jne 0x4e3960
cmp dword [esp + 0x48], 0
je 0x4e3cf8
mov esi, dword [esp + 0x48]
mov ecx, esi
call fcn.004e60f0
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.00551b9a
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.00551b9a
mov esp, ebp
pop ebp
ret 0x1c