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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d46b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 0x4f8]
xor edi, edi
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x14], edi
jle 0x4e4a02
mov ecx, dword [ebx + 0x4f4]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov dword [edx + 0xc], 0xffffffff
mov ecx, dword [ebx + 0x4f4]
mov edx, dword [ecx + eax*4 - 4]
mov dword [edx + 0x10], 1
mov ecx, dword [ebx + 0x4f8]
cmp eax, ecx
jl 0x4e49d5
mov eax, dword [ebx + 0x318]
mov ecx, 2
cmp eax, ecx
jle 0x4e4a41
mov esi, dword [ebx + 0x314]
mov eax, ecx
cdq
mov edi, dword [esi + ecx*8]
sub eax, edx
mov edx, eax
mov eax, dword [ebp + 0xc]
sar edx, 1
add ecx, 2
mov dword [eax + edx*8 - 8], edi
mov esi, dword [esi + ecx*8 - 0xc]
mov dword [eax + edx*8 - 4], esi
mov eax, dword [ebx + 0x318]
cmp ecx, eax
jl 0x4e4a11
xor edi, edi
mov eax, dword [ebx + 0x520]
mov dword [esp + 0x10], edi
cmp eax, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
jle 0x4e4b7e
mov eax, dword [ebx + 0x51c]
mov ecx, ebx
mov esi, dword [eax + edi*4]
push esi
call fcn.004d80d0
test eax, eax
mov dword [esi + 0x1c], eax
je 0x4e4b59
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
test eax, eax
je 0x4e4b59
xor edi, edi
mov dword [esi + 0x10c], edi
mov eax, dword [esi + 0x1c]
cdq
sub eax, edx
sar eax, 1
lea ecx, [eax - 1]
mov eax, dword [esi + 0x360]
mov dword [esi + 0x1c], ecx
cmp dword [eax + 0xc], 0xffffffff
jne 0x4e4aad
mov dword [eax + 0xc], ecx
jmp 0x4e4ab9
cmp dword [eax + 0xc], ecx
jne 0x4e4b97
inc dword [eax + 0x10]
mov eax, dword [esi + 0x360]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0x10]
cmp ecx, edx
jg 0x4e4ace
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jg 0x4e4add
mov dword [esp + 0x18], eax
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call dword [eax]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x78], edi
mov edi, dword [ebp + 0xc]
fld qword [edi + edx*8]
fld qword [eax + 0x10]
lea ecx, [edi + edx*8]
fcompp
fnstsw ax
test ah, 1
je 0x4e4b08
fld qword [ecx]
jmp 0x4e4b21
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call dword [eax]
mov ecx, dword [esp + 0x14]
fld qword [eax + 0x10]
or ecx, 1
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 0x1c]
mov al, byte [esp + 0x14]
fstp qword [edi + edx*8]
test al, 1
je 0x4e4b42
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
and al, 0xfe
mov dword [esp + 0x14], eax
call fcn.0042bd50
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], 0xffffffff
call fcn.0042bd50
mov edi, dword [esp + 0x1c]
jmp 0x4e4b63
mov dword [esi + 0x10c], 1
mov eax, dword [ebx + 0x520]
inc edi
cmp edi, eax
mov dword [esp + 0x1c], edi
jl 0x4e4a5b
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4e4bae
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 0x4f8]
xor esi, esi
test eax, eax
jle 0x4e4bf4
mov eax, dword [ebx + 0x4f4]
lea edi, [eax + esi*4]
mov eax, dword [eax + esi*4]
fild dword [eax + 0x10]
mov ecx, dword [eax + 0x3c]
fstp qword [esp + 0x24]
call fcn.004aee60
fdivr qword [esp + 0x24]
fadd qword [0x5e2790]
call sub.msvcrt.dll__ftol
mov ecx, dword [edi]
inc esi
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x4f8]
cmp esi, eax
jl 0x4e4bba
mov edx, dword [esp + 0x10]
lea eax, [edx*8]
push eax
mov dword [esp + 0x28], eax
call sub.mfc42u.dll_operatornew
mov esi, eax
mov eax, dword [ebx + 0x318]
mov ecx, 2
add esp, 4
cmp eax, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ecx
jle 0x4e4d35
mov eax, ecx
mov edi, dword [ebx + 0x314]
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp + 0xc]
sar edx, 1
dec edx
fld qword [eax + edx*8]
fsub qword [edi + ecx*8]
mov ecx, dword [esp + 0x24]
mov edi, esi
mov esi, ecx
shr ecx, 2
fstp qword [eax + edx*8]
xor eax, eax
rep stosd dword es:[edi], eax
fld qword [0x5e2798]
mov ecx, esi
mov esi, dword [esp + 0x18]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x4f8]
xor ecx, ecx
test eax, eax
jle 0x4e4cb6
mov eax, dword [ebx + 0x4f4]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0xc], edx
jne 0x4e4cab
mov edi, dword [eax + 0x10]
mov dword [esp + 0x1c], edi
mov edi, dword [eax + 0x3c]
fld qword [edi + 0xab8]
fimul dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
fadd qword [esi + edi*8]
fstp qword [esi + edi*8]
mov edi, dword [eax + 0x3c]
fld qword [edi + 0xab8]
fimul dword [eax + 0x10]
faddp st(1)
mov eax, dword [ebx + 0x4f8]
inc ecx
cmp ecx, eax
jl 0x4e4c71
mov eax, dword [esp + 0x10]
mov edi, 1
cmp eax, edi
mov dword [esp + 0x14], edi
mov ecx, edi
jle 0x4e4cfe
mov dword [esp + 0x1c], 8
mov eax, dword [esp + 0x1c]
lea edi, [ecx*8]
fld qword [edi + esi]
fcomp qword [eax + esi]
fnstsw ax
test ah, 0x41
jne 0x4e4cf1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x10]
inc ecx
cmp ecx, eax
jl 0x4e4cd1
mov edi, dword [esp + 0x14]
fld qword [esi + edi*8 + 8]
fadd qword [esi + edi*8]
fxch st(1)
fmul qword [0x5ebbc0]
fcompp
fnstsw ax
test ah, 0x41
je 0x4e4d73
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*4], edi
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x318]
add ecx, 2
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x4e4c29
push esi
call sub.mfc42u.dll_operatordelete
mov ecx, dword [ebx + 0x4f8]
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x4e4d5f
mov ebx, dword [ebx + 0x4f4]
mov edx, dword [ebx]
cmp dword [edx + 0xc], 0xffffffff
jne 0x4e4d59
inc eax
add ebx, 4
dec ecx
jne 0x4e4d50
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x74]
add esp, 4
mov eax, 0xfffffffd
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8