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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d4db4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e4
mov al, byte [ebp + 8]
push ebx
push esi
push edi
test al, al
jne 0x4ee717
fld qword [ebp + 0xc]
fcomp qword [0x5e2798]
mov ebx, dword [ebp + 0x18]
fnstsw ax
test ah, 0x40
jne 0x4ee6b9
cmp dword [ebx + 8], 3
jge 0x4ee063
xor al, al
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xa0]
call fcn.004ccd50
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
lea eax, [esp + 0xa0]
push eax
xor edi, edi
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x204], edi
call fcn.004b90d0
lea ecx, [esp + 0x68]
call fcn.004ccd50
mov dword [esp + 0xc8], 0x5e7a90
mov dword [esp + 0x160], edi
mov eax, dword [ebx + 8]
mov byte [esp + 0x1f8], 2
mov dword [esp + 0x170], edi
mov dword [esp + 0x174], edi
lea ecx, [eax - 1]
mov dword [esp + 0x180], edi
test ecx, ecx
mov dword [esp + 0x184], edi
mov dword [esp + 0x188], edi
mov dword [esp + 0x18c], 0x3ff00000
mov dword [esp + 0x178], edi
mov dword [esp + 0x17c], 0x3ff00000
mov dword [esp + 0x190], 0x47ae147b
mov dword [esp + 0x194], 0x3f847ae1
mov dword [esp + 0x198], 0xeb1c432d
mov dword [esp + 0x19c], 0x3f1a36e2
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
jle 0x4ee2db
mov dword [esp + 0xc], edi
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0xc]
add eax, ecx
sub esp, 8
sub esp, 8
lea ecx, [esp + 0x78]
fld dword [eax + 0x14]
fstp qword [esp + 8]
fld dword [eax + 0x10]
fstp qword [esp]
fld dword [eax + 8]
sub esp, 8
fstp qword [esp]
fld dword [eax + 4]
sub esp, 8
fstp qword [esp]
call fcn.004b8890
fld qword [esp + 0xc0]
fmul qword [esp + 0x80]
fld qword [esp + 0xb8]
fmul qword [esp + 0x88]
mov dword [esp + 0x160], 0
fsubp st(1)
fstp qword [esp + 0x168]
fld qword [esp + 0x168]
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x40
jne 0x4ee2bf
fld qword [esp + 0xa0]
fsub qword [esp + 0x68]
fld qword [esp + 0x70]
fsub qword [esp + 0xa8]
mov dword [esp + 0x160], 1
fld st(0)
fmul qword [esp + 0x80]
fld st(2)
fmul qword [esp + 0x88]
faddp st(1)
fdiv qword [esp + 0x168]
fstp qword [esp + 0xd0]
fmul qword [esp + 0xb8]
fxch st(1)
fmul qword [esp + 0xc0]
faddp st(1)
fdiv qword [esp + 0x168]
fstp qword [esp + 0x118]
fld qword [esp + 0x118]
fcomp qword [0x5e2798]
fnstsw ax
test ah, 1
jne 0x4ee2bf
fld qword [esp + 0x118]
fcomp qword [0x5e2858]
fnstsw ax
test ah, 0x41
je 0x4ee2bf
cmp edi, dword [esp + 0x38]
jge 0x4ee283
fld qword [esp + 0x80]
fmul qword [esp + 0x118]
mov dword [esp + 0x38], edi
fadd qword [esp + 0x68]
fstp qword [esp + 0x3c]
fld qword [esp + 0x88]
fmul qword [esp + 0x118]
fadd qword [esp + 0x70]
fstp qword [esp + 0x44]
cmp edi, dword [esp + 0x18]
jle 0x4ee2bf
fld qword [esp + 0x80]
fmul qword [esp + 0x118]
mov dword [esp + 0x18], edi
fadd qword [esp + 0x68]
fstp qword [esp + 0x90]
fld qword [esp + 0x88]
fmul qword [esp + 0x118]
fadd qword [esp + 0x70]
fstp qword [esp + 0x98]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
inc edi
add ecx, 0xc
cmp edi, eax
mov dword [esp + 0xc], ecx
jl 0x4ee13f
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x18], eax
jg 0x4ee334
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1f8], 1
call fcn.004b90a0
lea ecx, [esp + 0x68]
mov byte [esp + 0x1f8], 0
call fcn.0042bd50
lea ecx, [esp + 0xa0]
mov dword [esp + 0x1f8], 0xffffffff
call fcn.0042bd50
xor al, al
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x1a0]
call fcn.004ccd50
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
fld qword [esp + 0xc]
fadd qword [esi + 0x20]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
sub esp, 8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x14]
fstp qword [esp]
fld qword [esp + 0x2c]
fadd qword [esi + 0x18]
sub esp, 8
mov byte [esp + 0x208], 3
fstp qword [esp]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c0]
call fcn.004b7cb0
lea ecx, [esp + 0x4c]
call fcn.004b1760
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1f8], 4
push ecx
lea ecx, [esp + 0x1a4]
call fcn.004b8150
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
inc eax
mov dword [esp + 0x24], ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x30], edx
call fcn.005a6eb0
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
fld qword [esp + 0x24]
lea ecx, [eax + eax*2]
mov edi, dword [esp + 0x38]
test edi, edi
fstp dword [edx + ecx*4 - 8]
fld qword [esp + 0xc]
lea eax, [edx + ecx*4 - 0xc]
fstp dword [eax + 8]
mov dword [eax], 1
jle 0x4ee4b7
mov eax, dword [esp + 0x38]
lea edi, [edi + edi*2]
shl edi, 2
mov dword [esp + 0xc], eax
mov esi, dword [ebx + 4]
sub esp, 8
add esi, edi
sub esp, 8
lea ecx, [esp + 0x1b0]
fld dword [esi + 8]
fstp qword [esp + 8]
fld dword [esi + 4]
fstp qword [esp]
call fcn.004b81b0
fstp qword [esp + 0x3c]
fld dword [esi + 8]
sub esp, 8
lea ecx, [esp + 0x1a8]
fstp qword [esp]
fld dword [esi + 4]
sub esp, 8
fstp qword [esp]
call fcn.004b81d0
mov ecx, dword [esp + 0x54]
push 0xffffffffffffffff
fstp qword [esp + 0x48]
inc ecx
push ecx
lea ecx, [esp + 0x54]
call fcn.005a6eb0
mov eax, dword [esp + 0x54]
sub edi, 0xc
fld qword [esp + 0x3c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x50]
fstp dword [eax + edx*4 - 8]
fld qword [esp + 0x44]
lea eax, [eax + edx*4 - 0xc]
fstp dword [eax + 8]
mov dword [eax], 3
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0xc], eax
jne 0x4ee426
mov ecx, dword [ebx + 4]
mov edi, dword [esp + 0x1c]
push 0xffffffffffffffff
mov dword [ecx], 3
mov eax, dword [ebx + 4]
lea edx, [edi + edi*2]
mov dword [eax + edx*4], 3
mov esi, dword [esp + 0x58]
mov ecx, dword [ebx + 8]
add ecx, esi
push ecx
lea ecx, [esp + 0x54]
call fcn.005a6eb0
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
lea ecx, [esi + esi*2]
mov esi, dword [esp + 0x50]
lea ecx, [esi + ecx*4]
mov esi, eax
dec eax
test esi, esi
je 0x4ee52b
inc eax
mov dword [esp + 0xc], eax
mov eax, edx
mov esi, ecx
add ecx, 0xc
add edx, 0xc
mov edi, dword [eax]
mov dword [esi], edi
mov edi, dword [eax + 4]
mov dword [esi + 4], edi
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0xc], eax
jne 0x4ee502
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea eax, [edi - 2]
cmp eax, ecx
jle 0x4ee5d7
lea edi, [eax + eax*2]
shl edi, 2
sub eax, ecx
mov dword [esp + 0x1c], eax
mov esi, dword [ebx + 4]
sub esp, 8
add esi, edi
sub esp, 8
lea ecx, [esp + 0x1b0]
fld dword [esi + 8]
fstp qword [esp + 8]
fld dword [esi + 4]
fstp qword [esp]
call fcn.004b81b0
fstp qword [esp + 0x3c]
fld dword [esi + 8]
sub esp, 8
lea ecx, [esp + 0x1a8]
fstp qword [esp]
fld dword [esi + 4]
sub esp, 8
fstp qword [esp]
call fcn.004b81d0
mov ecx, dword [esp + 0x54]
push 0xffffffffffffffff
fstp qword [esp + 0x48]
inc ecx
push ecx
lea ecx, [esp + 0x54]
call fcn.005a6eb0
mov eax, dword [esp + 0x54]
sub edi, 0xc
fld qword [esp + 0x3c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x50]
fstp dword [eax + edx*4 - 8]
fld qword [esp + 0x44]
lea eax, [eax + edx*4 - 0xc]
fstp dword [eax + 8]
mov dword [eax], 3
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x4ee546
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x1a4]
call fcn.004b8150
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x94]
inc eax
mov dword [esp + 0x24], ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x30], edx
call fcn.005a6eb0
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
fld qword [esp + 0x24]
lea ecx, [eax + eax*2]
fstp dword [edx + ecx*4 - 8]
fld qword [esp + 0x1c]
lea eax, [edx + ecx*4 - 0xc]
mov ecx, ebx
fstp dword [eax + 8]
mov dword [eax], 4
lea eax, [esp + 0x4c]
push eax
call fcn.004b1870
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1f8], 3
call fcn.004b17b0
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x1f8], 2
call fcn.0042bd50
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1f8], 1
call fcn.004b90a0
lea ecx, [esp + 0x68]
mov byte [esp + 0x1f8], 0
call fcn.0042bd50
lea ecx, [esp + 0xa0]
mov dword [esp + 0x1f8], 0xffffffff
call fcn.0042bd50
mov eax, dword [ebx + 8]
cmp eax, 2
jle 0x4ee898
lea edx, [eax + eax*2]
mov eax, dword [ebx + 4]
mov dword [eax + edx*4 - 0xc], 3
mov eax, dword [ebx + 4]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 8]
lea esi, [ecx + 1]
test esi, esi
mov dword [esp + 0xc], esi
jne 0x4ee765
test eax, eax
je 0x4ee70a
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [ebx + 4], esi
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
jmp 0x4ee86f
mov esi, dword [ebp + 0x18]
push 0xffffffffffffffff
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
lea ecx, [eax + eax*2]
mov dword [edx + ecx*4 - 0xc], 8
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
mov edi, dword [eax]
inc edx
push edx
mov ebx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov ecx, esi
call fcn.005a6eb0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4 - 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, eax
mov dword [edx], edi
mov dword [edx + 4], ebx
jmp 0x4ee88f
test eax, eax
jne 0x4ee79c
lea edi, [esi + esi*2]
shl edi, 2
push edi
call sub.mfc42u.dll_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x4ee86f
mov edi, dword [ebx + 0xc]
cmp esi, edi
jg 0x4ee7cf
cmp esi, ecx
jle 0x4ee7c7
mov edx, esi
sub edx, ecx
lea ecx, [ecx + ecx*2]
lea edi, [eax + ecx*4]
lea ecx, [edx + edx*2]
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 8], esi
jmp 0x4ee86f
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4ee7f9
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4ee7ed
mov eax, 4
jmp 0x4ee7f9
cmp eax, 0x400
jle 0x4ee7f9
mov eax, 0x400
add eax, edi
cmp esi, eax
jge 0x4ee805
mov dword [esp + 0x1c], eax
jmp 0x4ee80b
mov dword [esp + 0x1c], esi
mov eax, esi
lea eax, [eax + eax*2]
shl eax, 2
push eax
call sub.mfc42u.dll_operatornew
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x18], eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xc]
mov ecx, dword [ebx + 8]
mov edx, esi
sub edx, ecx
lea ecx, [ecx + ecx*2]
push edx
lea edx, [eax + ecx*4]
push edx
call fcn.00415f70
mov eax, dword [ebx + 4]
push eax
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [ebx + 4], ecx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4 - 0xc]
mov ecx, dword [esp + 0x24]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 8], ecx
mov dword [eax], 4
mov ecx, dword [esp + 0x1f0]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret