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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2a4
mov eax, dword [0x63d20c]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
mov ebx, dword [ebp + 0x24]
fld qword [ebx + 0x20]
mov eax, dword [ebp + 8]
fst qword [esp + 0x100]
mov dword [esp + 0x60], ecx
fld qword [ebx + 0x28]
mov ecx, dword [ebp + 0xc]
fstp qword [esp + 0xc0]
push esi
fld qword [ebx + 0x10]
push edi
fadd qword [ebx + 0x20]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xb8], ecx
fstp qword [esp + 0x110]
fld qword [ebx + 0x28]
fadd qword [ebx + 0x18]
fstp qword [esp + 0xd0]
fld qword [ebx]
fadd qword [ebx + 0x10]
fadd qword [ebx + 0x20]
fstp qword [esp + 0x118]
fld qword [ebx + 0x18]
fadd qword [ebx + 8]
fadd qword [ebx + 0x28]
fstp qword [esp + 0xd8]
fld qword [ebx]
fadd qword [ebx + 0x20]
fstp qword [esp + 0x120]
fld qword [ebx + 0x28]
fadd qword [ebx + 8]
fstp qword [esp + 0xe0]
fadd qword [0x579e48]
fst qword [esp + 0xf8]
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 + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x1c]
fldcw word [esp + 0x14]
mov edx, dword [esp + 0x1c]
fld qword [esp + 0xf8]
fstp qword [esp + 0x20]
mov dword [esp + 0x54], edx
fld qword [esp + 0x20]
fnstcw word [esp + 0x14]
mov ax, word [esp + 0x14]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x1c]
fldcw word [esp + 0x14]
fld qword [esp + 0xc8]
fadd qword [0x579e48]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
fst qword [esp + 0xf8]
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 + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x1c]
fldcw word [esp + 0x14]
fld qword [esp + 0xf8]
mov edx, dword [esp + 0x1c]
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 + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x1c]
fldcw word [esp + 0x14]
mov esi, dword [esp + 0x1c]
xor ecx, ecx
fld qword [esp + ecx + 0x110]
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 + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x1c]
fldcw word [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x54]
jge 0x4e3ee6
mov dword [esp + 0x54], eax
jmp 0x4e3ef0
cmp eax, dword [esp + 0x5c]
jle 0x4e3ef0
mov dword [esp + 0x5c], eax
fld qword [esp + ecx + 0xd0]
fadd qword [0x579e48]
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 + 0x28], ax
fldcw word [esp + 0x28]
fistp dword [esp + 0xbc]
fldcw word [esp + 0x2c]
mov eax, dword [esp + 0xbc]
cmp eax, edx
jge 0x4e3f39
mov edx, eax
jmp 0x4e3f3f
cmp eax, esi
jle 0x4e3f3f
mov esi, eax
add ecx, 8
cmp ecx, 0x18
jl 0x4e3e9f
mov edi, dword [esp + 0x68]
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x80]
push ecx
mov ecx, dword [esp + 0x60]
dec esi
push esi
dec ecx
push ecx
mov ecx, dword [eax + 0x84]
push edx
mov edx, dword [esp + 0x64]
push edx
call fcn.00500f40
mov dword [esp + 0xc4], eax
mov dword [edi + 0x38], eax
cmp eax, 1
je 0x4e4e10
fldz
fcomp qword [ebx]
fnstsw ax
test ah, 0x41
jp 0x4e4001
fld qword [ebx]
fadd qword [ebx + 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 + 0x30], ax
fldcw word [esp + 0x30]
fistp dword [esp + 0x70]
fldcw word [esp + 0x3c]
fld qword [ebx + 0x20]
mov ecx, dword [esp + 0x70]
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 + 0x64], ax
fldcw word [esp + 0x64]
fistp dword [esp + 0x8c]
fldcw word [esp + 0x60]
jmp 0x4e4070
fld qword [ebx + 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 + 0x3c], ax
fldcw word [esp + 0x3c]
fistp dword [esp + 0x70]
fldcw word [esp + 0x30]
fld qword [ebx]
mov ecx, dword [esp + 0x70]
fadd qword [ebx + 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 + 0x60], ax
fldcw word [esp + 0x60]
fistp dword [esp + 0x8c]
fldcw word [esp + 0x64]
fldz
sub ecx, dword [esp + 0x8c]
fcomp qword [ebx + 8]
mov edx, ecx
fnstsw ax
fld qword [ebx + 0x28]
test ah, 0x41
jp 0x4e40f7
fadd qword [ebx + 8]
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 + 0x38], ax
fldcw word [esp + 0x38]
fistp dword [esp + 0x78]
fldcw word [esp + 0x34]
fld qword [ebx + 0x28]
mov ecx, dword [esp + 0x78]
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 + 0x94]
fldcw word [esp + 0x40]
jmp 0x4e4164
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 + 0x34], ax
fldcw word [esp + 0x34]
fistp dword [esp + 0x78]
fldcw word [esp + 0x38]
fld qword [ebx + 0x28]
mov ecx, dword [esp + 0x78]
fadd qword [ebx + 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 + 0x94]
fldcw word [esp + 0x44]
sub ecx, dword [esp + 0x94]
cmp edx, ecx
jle 0x4e417a
mov esi, edx
mov dword [esp + 0x90], esi
jmp 0x4e4183
mov esi, ecx
mov dword [esp + 0x90], ecx
fldz
fcomp qword [ebx + 0x10]
fnstsw ax
test ah, 0x41
jp 0x4e4201
fld qword [ebx + 0x10]
fadd qword [ebx + 0x20]
fadd qword [0x579e48]
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 + 0x28], ax
fldcw word [esp + 0x28]
fistp dword [esp + 0x6c]
fldcw word [esp + 0x2c]
fld qword [ebx + 0x20]
mov ecx, dword [esp + 0x6c]
fadd qword [0x579e48]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x48]
mov ax, word [esp + 0x48]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x58], ax
fldcw word [esp + 0x58]
fistp dword [esp + 0x9c]
fldcw word [esp + 0x48]
jmp 0x4e4271
fld qword [ebx + 0x20]
fadd qword [0x579e48]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x28]
mov ax, word [esp + 0x28]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x2c], ax
fldcw word [esp + 0x2c]
fistp dword [esp + 0x6c]
fldcw word [esp + 0x28]
fld qword [ebx + 0x10]
mov ecx, dword [esp + 0x6c]
fadd qword [ebx + 0x20]
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 + 0x48], ax
fldcw word [esp + 0x48]
fistp dword [esp + 0x9c]
fldcw word [esp + 0x58]
fldz
sub ecx, dword [esp + 0x9c]
fcomp qword [ebx + 0x18]
fnstsw ax
fld qword [ebx + 0x28]
test ah, 0x41
jp 0x4e42f3
fadd qword [ebx + 0x18]
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 + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x74]
fldcw word [esp + 0x14]
fld qword [ebx + 0x28]
mov edx, dword [esp + 0x74]
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 + 0x4c], ax
fldcw word [esp + 0x4c]
fistp dword [esp + 0x7c]
fldcw word [esp + 0x50]
jmp 0x4e435d
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 + 0x14], ax
fldcw word [esp + 0x14]
fistp dword [esp + 0x74]
fldcw word [esp + 0x18]
fld qword [ebx + 0x28]
mov edx, dword [esp + 0x74]
fadd qword [ebx + 0x18]
fadd qword [0x579e48]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0x4c]
mov ax, word [esp + 0x4c]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x50], ax
fldcw word [esp + 0x50]
fistp dword [esp + 0x7c]
fldcw word [esp + 0x4c]
sub edx, dword [esp + 0x7c]
cmp ecx, edx
jle 0x4e436e
mov dword [esp + 0xb0], ecx
jmp 0x4e4377
mov ecx, edx
mov dword [esp + 0xb0], edx
test esi, esi
jne 0x4e4387
mov esi, 1
mov dword [esp + 0x90], esi
test ecx, ecx
jne 0x4e4397
mov ecx, 1
mov dword [esp + 0xb0], ecx
fild dword [esp + 0x90]
fld qword [ebx]
fdiv st(1)
fld qword [ebx + 8]
fdivrp st(2)
fild dword [esp + 0xb0]
fld qword [ebx + 0x10]
fdiv st(1)
fld qword [ebx + 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 0x4e4e06
fdiv st(2), st(0)
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x20]
push esi
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0xd0]
push ecx
mov ecx, dword [esp + 0x104]
push edx
push eax
push ecx
mov ecx, edi
fxch st(2)
fstp qword [esp + 0x160]
fxch st(3)
fdiv st(1)
fchs
fstp qword [esp + 0x168]
fdiv st(2), st(0)
fxch st(2)
fchs
fstp qword [esp + 0x170]
fdivrp st(1)
fstp qword [esp + 0x158]
call fcn.004e0280
fld qword [esp + 0xc8]
fcomp qword [esp + 0xd0]
mov dword [esp + 0xa8], eax
xor ecx, ecx
fnstsw ax
test ah, 0x41
jne 0x4e4459
mov ecx, 1
fld qword [esp + ecx*8 + 0xc8]
fcomp qword [esp + 0xd8]
fnstsw ax
test ah, 0x41
jne 0x4e4473
mov ecx, 2
fld qword [esp + ecx*8 + 0xc8]
fcomp qword [esp + 0xe0]
fnstsw ax
test ah, 0x41
jne 0x4e448d
mov ecx, 3
fld qword [esp + ecx*8 + 0xc8]
lea edx, [ecx - 1]
and edx, 3
fsub qword [esp + edx*8 + 0xc8]
fabs
fld qword [0x5c7fb8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x4e44d1
lea eax, [ecx + 1]
and eax, 3
fld qword [esp + eax*8 + 0xc8]
fcomp qword [esp + edx*8 + 0xc8]
fnstsw ax
test ah, 0x41
jne 0x4e44d1
mov ecx, edx
fld qword [esp + ecx*8 + 0xc8]
lea edx, [ecx + 1]
and edx, 3
fsub qword [esp + edx*8 + 0xc8]
fabs
fcompp
fnstsw ax
fld qword [esp + ecx*8 + 0xc8]
fadd qword [0x579e48]
fstp qword [esp + 0x20]
test ah, 0x41
jp 0x4e45e8
fld qword [esp + 0x20]
fnstcw word [esp + 0x10]
mov ax, word [esp + 0x10]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0xc], ax
fldcw word [esp + 0xc]
fistp dword [esp + 0x1c]
fldcw word [esp + 0x10]
mov eax, dword [esp + 0x1c]
lea esi, [ecx - 2]
and esi, 3
fld qword [esp + esi*8 + 0xc8]
mov dword [esp + 0x158], eax
fadd qword [0x579e48]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0xc]
mov ax, word [esp + 0xc]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x1c]
fldcw word [esp + 0xc]
fld qword [esp + edx*8 + 0x108]
mov eax, dword [esp + 0x1c]
fcomp qword [esp + ecx*8 + 0x108]
dec eax
mov dword [esp + 0x15c], eax
fnstsw ax
test ah, 0x41
jne 0x4e45be
mov dword [esp + 0x160], ecx
dec ecx
and ecx, 3
mov dword [esp + 0x16c], esi
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], edx
mov esi, 1
jmp 0x4e48ad
mov dword [esp + 0x168], ecx
dec ecx
and ecx, 3
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], edx
mov dword [esp + 0x16c], ecx
mov esi, 1
jmp 0x4e48ad
fld qword [esp + 0x20]
fnstcw word [esp + 0xc]
mov ax, word [esp + 0xc]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x1c]
fldcw word [esp + 0xc]
mov eax, dword [esp + 0x1c]
lea edi, [ecx - 2]
and edi, 3
fld qword [esp + edi*8 + 0xc8]
mov dword [esp + 0x158], eax
fadd qword [0x579e48]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0xc]
mov ax, word [esp + 0xc]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x1c]
fldcw word [esp + 0xc]
mov eax, dword [esp + 0x1c]
lea esi, [ecx - 1]
and esi, 3
fld qword [esp + esi*8 + 0x108]
dec eax
fcomp qword [esp + edx*8 + 0x108]
mov dword [esp + 0x22c], eax
mov dword [esp + 0x168], ecx
mov dword [esp + 0x160], ecx
mov dword [esp + 0x23c], edi
fnstsw ax
mov dword [esp + 0x234], edi
test ah, 0x41
jne 0x4e46ad
mov eax, edx
mov dword [esp + 0x230], eax
mov dword [esp + 0x164], eax
mov eax, esi
jmp 0x4e46bf
mov eax, esi
mov dword [esp + 0x230], eax
mov dword [esp + 0x164], eax
mov eax, edx
fld qword [esp + esi*8 + 0xc8]
mov dword [esp + 0x16c], eax
fcomp qword [esp + edx*8 + 0xc8]
mov dword [esp + 0x238], eax
fnstsw ax
test ah, 0x41
jne 0x4e47b3
fld qword [esp + edx*8 + 0xc8]
fadd qword [0x579e48]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0xc]
mov ax, word [esp + 0xc]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x1c]
fldcw word [esp + 0xc]
fld qword [esp + esi*8 + 0xc8]
mov eax, dword [esp + 0x1c]
fadd qword [0x579e48]
mov dword [esp + 0x1c0], eax
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0xc]
mov ax, word [esp + 0xc]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x1c]
fldcw word [esp + 0xc]
fld qword [esp + esi*8 + 0x108]
mov eax, dword [esp + 0x1c]
fcomp qword [esp + edx*8 + 0x108]
mov dword [esp + 0x228], eax
fnstsw ax
test ah, 0x41
jne 0x4e4792
mov dword [esp + 0x1c8], edx
mov dword [esp + 0x1d4], esi
jmp 0x4e4878
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], esi
mov dword [esp + 0x1d0], edx
mov dword [esp + 0x1d4], edi
jmp 0x4e4886
fld qword [esp + esi*8 + 0xc8]
fadd qword [0x579e48]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0xc]
mov ax, word [esp + 0xc]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x1c]
fldcw word [esp + 0xc]
fld qword [esp + edx*8 + 0xc8]
mov eax, dword [esp + 0x1c]
fadd qword [0x579e48]
mov dword [esp + 0x1c0], eax
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fnstcw word [esp + 0xc]
mov ax, word [esp + 0xc]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x1c]
fldcw word [esp + 0xc]
fld qword [esp + esi*8 + 0x108]
mov eax, dword [esp + 0x1c]
fcomp qword [esp + edx*8 + 0x108]
mov dword [esp + 0x228], eax
fnstsw ax
test ah, 0x41
jne 0x4e486a
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], edx
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1d4], edi
jmp 0x4e4886
mov dword [esp + 0x1c8], esi
mov dword [esp + 0x1d4], edx
mov dword [esp + 0x1d0], ecx
mov dword [esp + 0x1cc], edi
mov ecx, dword [esp + 0x1c0]
mov edx, dword [esp + 0x228]
mov edi, dword [esp + 0x68]
dec ecx
dec edx
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x1c4], edx
mov esi, 3
test esi, esi
jle 0x4e495f
lea eax, [esp + 0x160]
mov edx, esi
mov edi, edi
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 + 0xc8]
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 + 0xc8]
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 + 0xc8]
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 + 0xc8]
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 0x4e48c0
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 + 0xc]
mov ax, word [esp + 0xc]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x1c]
fldcw word [esp + 0xc]
mov ecx, dword [esp + 0x1c]
push 0
push 1
push ecx
push 0
lea edx, [esp + 0x2a0]
push edx
mov ecx, edi
call fcn.004dd8e0
cmp esi, 1
jne 0x4e49d3
mov eax, dword [esp + 0x158]
cmp eax, dword [esp + 0x15c]
jne 0x4e49f9
inc dword [esp + 0x15c]
jmp 0x4e49ea
mov ecx, dword [esp + 0x158]
cmp ecx, dword [esp + 0x22c]
jne 0x4e49f9
inc dword [esp + 0x1c4]
mov eax, 2
mov dword [esp + 0xc4], eax
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
mov edx, dword [edi + 4]
push edx
inc eax
push eax
call fcn.00497310
add esp, 8
mov dword [esp + 0x1c], eax
test esi, esi
jle 0x4e4dc7
lea eax, [esp + 0x178]
mov dword [esp + 0x5c], eax
mov dword [esp + 0xb8], esi
lea ecx, [ecx]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax - 0x20]
cmp ecx, dword [eax - 0x1c]
mov dword [esp + 0x54], ecx
jg 0x4e4db4
mov ecx, eax
mov edx, dword [ecx - 0x1c]
mov dword [esp + 0xf8], edx
fild dword [esp + 0x54]
fld qword [0x579e48]
fadd st(1), st(0)
fxch st(1)
fst qword [esp + 0x20]
fsub qword [ecx]
fmul qword [ecx + 0x18]
fadd qword [ecx - 8]
faddp st(1)
fstp qword [esp + 0xe8]
fld qword [esp + 0xe8]
fnstcw word [esp + 0xc]
mov ax, word [esp + 0xc]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x10], ax
fldcw word [esp + 0x10]
fistp dword [esp + 0x100]
fldcw word [esp + 0xc]
fld qword [esp + 0x20]
mov esi, dword [esp + 0x100]
fsub qword [ecx + 0x28]
mov dword [esp + 0xe8], esi
fmul qword [ecx + 0x40]
fadd qword [ecx + 0x20]
fadd qword [0x579e48]
fstp qword [esp + 0xbc]
fld qword [esp + 0xbc]
fnstcw word [esp + 0xa0]
mov ax, word [esp + 0xa0]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0xa4], ax
fldcw word [esp + 0xa4]
fistp dword [esp + 0xf0]
fldcw word [esp + 0xa0]
mov edi, dword [esp + 0xf0]
cmp esi, edi
mov dword [esp + 0xac], edi
jg 0x4e4d9e
jne 0x4e4b22
inc edi
mov dword [esp + 0xac], edi
mov eax, dword [esp + 0x68]
mov edx, dword [eax]
mov eax, dword [edx]
cmp esi, eax
jge 0x4e4d9e
test edi, edi
jl 0x4e4d9e
test esi, esi
jge 0x4e4b47
xor esi, esi
mov dword [esp + 0xe8], esi
cmp edi, eax
jle 0x4e4b54
mov edi, eax
mov dword [esp + 0xac], edi
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0xc]
mov eax, edi
sub eax, esi
push eax
add edx, esi
push 0xff
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp dword [esp + 0xc4], 0
je 0x4e4bb0
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x3c], 0
mov ecx, eax
mov eax, dword [ecx + 8]
mov edx, dword [eax + 0x80]
mov ecx, dword [ecx + 0xc]
push edx
lea edx, [edi - 1]
push edx
mov edx, dword [esp + 0x5c]
push esi
push edx
push ecx
mov ecx, dword [eax + 0x84]
je 0x4e4bab
call fcn.005010c0
jmp 0x4e4bb0
call fcn.00501330
cmp esi, edi
mov dword [esp + 0xb4], esi
jge 0x4e4d74
mov dword [esp + 0xbc], 0
lea ebx, [ebx]
fild dword [esp + 0xb4]
fadd qword [0x579e48]
fst qword [esp + 0x128]
fsub qword [ebx + 0x20]
fmul qword [esp + 0x138]
fld qword [esp + 0x20]
fsub qword [ebx + 0x28]
fmul qword [esp + 0x148]
faddp st(1)
fstp qword [esp + 0x150]
fld qword [esp + 0x150]
fnstcw word [esp + 0x98]
mov ax, word [esp + 0x98]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x88], ax
fldcw word [esp + 0x88]
fistp dword [esp + 0x104]
fldcw word [esp + 0x98]
fld qword [esp + 0x128]
mov edi, dword [esp + 0x104]
fsub qword [ebx + 0x20]
fmul qword [esp + 0x140]
fld qword [esp + 0x20]
fsub qword [ebx + 0x28]
fmul qword [esp + 0x130]
faddp st(1)
fstp qword [esp + 0x128]
fld qword [esp + 0x128]
fnstcw word [esp + 0x80]
mov ax, word [esp + 0x80]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x84], ax
fldcw word [esp + 0x84]
fistp dword [esp + 0xf4]
fldcw word [esp + 0x80]
mov esi, dword [esp + 0xf4]
test edi, edi
jge 0x4e4cb9
xor edi, edi
jmp 0x4e4cc7
mov eax, dword [esp + 0x90]
cmp edi, eax
jl 0x4e4cc7
lea edi, [eax - 1]
test esi, esi
jge 0x4e4ccf
xor esi, esi
jmp 0x4e4cdd
mov eax, dword [esp + 0xb0]
cmp esi, eax
jl 0x4e4cdd
lea esi, [eax - 1]
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 4]
imul eax, dword [esp + 0xbc]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa8]
push eax
push esi
push edi
call fcn.004e6130
cmp dword [ebp + 0x18], 0
je 0x4e4d43
imul esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0xb4]
lea ecx, [edx + eax]
mov edx, dword [esp + 0xa8]
add esi, dword [edx + 0x14]
movzx edx, byte [ecx]
movzx eax, byte [esi + edi]
imul eax, edx
mov edx, eax
sar edx, 8
lea eax, [edx + eax + 0x80]
sar eax, 8
mov byte [ecx], al
mov eax, dword [esp + 0xb4]
inc dword [esp + 0xbc]
inc eax
cmp eax, dword [esp + 0xac]
mov dword [esp + 0xb4], eax
jl 0x4e4bd0
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xe8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0xc]
add edx, esi
push edx
push eax
dec edi
push edi
push esi
lea edx, [esp + 0x2a4]
push edx
call dword [esp + 0x2c0]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
inc eax
cmp eax, dword [esp + 0xf8]
mov dword [esp + 0x54], eax
jle 0x4e4a50
add dword [esp + 0x5c], 0x68
sub dword [esp + 0xb8], 1
jne 0x4e4a30
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0xa8]
push eax
call fcn.00497230
add esp, 4
test esi, esi
je 0x4e4e10
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 + 0x2a0]
xor ecx, esp
call fcn.00551b9a
mov esp, ebp
pop ebp
ret 0x24
fstp st(0)
fstp st(2)
fstp st(2)
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00551b9a
mov esp, ebp
pop ebp
ret 0x24