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

Disassembly:
push 0xffffffffffffffff
push 0x4f0fc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [esp + 0xd0]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], eax
xor ebx, ebx
xor esi, esi
call fcn.004ba030
lea ecx, [esp + 0x54]
mov dword [esp + 0xd4], ebx
call fcn.004ba030
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], 1
call fcn.004ba030
mov ebp, 0xa
mov dword [esp + 0x34], 0x4f8728
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebp
xor ecx, ecx
mov byte [esp + 0xd4], 3
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x48], ebx
mov edx, dword [esp + 0x10]
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push ecx
mov ecx, edi
call fcn.00416560
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x34]
push eax
call fcn.004ba0a0
lea ecx, [esp + 0x68]
call fcn.004ba050
mov eax, dword [esp + 0x2c]
mov ecx, 2
cmp eax, ecx
jne 0x4b19b8
mov eax, 1
jmp 0x4b19ce
cmp eax, 4
jne 0x4b19c4
mov eax, 3
jmp 0x4b19ce
cmp eax, 8
jne 0x4b19d2
mov eax, 6
mov dword [esp + 0x2c], eax
cmp esi, 3
jne 0x4b1a20
cmp dword [esp + 0x40], ecx
jne 0x4b1ade
cmp eax, 6
je 0x4b1ae4
cmp eax, 8
je 0x4b1ae4
cmp eax, 7
je 0x4b1ae4
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x38]
call fcn.004b9d50
lea ecx, [esp + 0xb8]
call fcn.004ba050
xor esi, esi
jmp 0x4b1ada
cmp esi, 1
jne 0x4b1ade
cmp dword [esp + 0x40], ecx
jl 0x4b1ade
lea eax, [esp + 0x20]
lea edx, [esp + 0x24]
neg eax
sbb eax, eax
lea ecx, [esp + 0x54]
and eax, edx
lea edx, [esp + 0x58]
neg ecx
sbb ecx, ecx
and ecx, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [ecx + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call fcn.00434490
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x90]
neg eax
sbb eax, eax
lea edx, [esp + 0x68]
and eax, ecx
lea ecx, [esp + 0x64]
neg ecx
sbb ecx, ecx
fstp qword [esp + 0x24]
and ecx, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [ecx + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call fcn.00434490
fld qword [esp + 0x34]
fcomp st(1)
add esp, 0x20
fnstsw ax
test ah, 1
jne 0x4b1ab1
fsubr qword [esp + 0x14]
jmp 0x4b1ab5
fsub qword [esp + 0x14]
fcom qword [0x4f6e50]
fnstsw ax
test ah, 1
jne 0x4b1ac8
fsubr qword [0x4f6e30]
fcomp qword [esp + 0xe4]
fnstsw ax
test ah, 0x41
jne 0x4b1c1a
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], ebx
je 0x4b1b13
cmp eax, 1
jne 0x4b1aed
mov esi, eax
jmp 0x4b1b13
cmp eax, 5
jne 0x4b1af9
mov esi, 2
jmp 0x4b1b13
cmp eax, ebp
jne 0x4b1b09
cmp esi, 4
je 0x4b1b13
mov esi, 3
jmp 0x4b1b13
cmp eax, 7
jne 0x4b1b13
mov esi, 4
lea eax, [esp + 0x20]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x38]
and eax, edx
mov ecx, esp
mov dword [esp + 0x28], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x40]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x48]
call fcn.004732e0
cmp dword [esp + 0x2c], ebp
je 0x4b1c05
lea eax, [esp + 0x54]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x6c]
and eax, edx
mov ecx, esp
mov dword [esp + 0x28], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x74]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x94]
call fcn.004ba0a0
lea ecx, [esp + 0xa4]
call fcn.004ba050
lea eax, [esp + 0x20]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x38]
and eax, edx
mov ecx, esp
mov dword [esp + 0x28], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x40]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x6c]
call fcn.004ba0a0
lea ecx, [esp + 0x90]
call fcn.004ba050
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x4b1c1e
jmp 0x4b1977
dec dword [esp + 0x10]
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x10]
dec edx
cmp eax, edx
jl 0x4b1c32
mov dword [esp + 0x10], 0xffffffff
mov ebp, dword [esp + 0xec]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.004163d0
mov ecx, dword [esp + 0x40]
mov edi, ecx
cmp ecx, ebx
mov dword [esp + 0x14], edi
jne 0x4b1c8c
mov esi, dword [ebp + 4]
cmp esi, ebx
je 0x4b1c81
mov eax, dword [ebp + 8]
mov ecx, eax
dec eax
test ecx, ecx
je 0x4b1c72
lea edi, [eax + 1]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx]
add esi, 0x14
dec edi
jne 0x4b1c65
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 4], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x4b1dd4
mov edx, dword [ebp + 4]
cmp edx, ebx
jne 0x4b1cf9
lea esi, [ecx + ecx*4]
shl esi, 2
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov esi, dword [esp + 0x18]
mov dword [ebp + 4], edi
mov ebx, edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x1c], ebx
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [esi]
mov dword [esp + 0x14], ebx
test ebx, ebx
mov byte [esp + 0xd4], 4
je 0x4b1cdc
mov ecx, ebx
call fcn.004ba030
add ebx, 0x14
dec edi
mov byte [esp + 0xd4], 3
mov dword [esp + 0x1c], ebx
jne 0x4b1cc5
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
jmp 0x4b1dd2
mov esi, dword [ebp + 0xc]
cmp ecx, esi
jg 0x4b1d37
mov eax, dword [ebp + 8]
cmp eax, ecx
jge 0x4b1d1e
sub ecx, eax
lea eax, [eax + eax*4]
push ecx
lea ecx, [edx + eax*4]
push ecx
call fcn.00416ff0
mov dword [ebp + 8], edi
jmp 0x4b1dd4
jle 0x4b1d2f
sub eax, ecx
push eax
lea eax, [ecx + ecx*4]
lea ecx, [edx + eax*4]
push ecx
call fcn.00416fc0
mov dword [ebp + 8], edi
jmp 0x4b1dd4
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jne 0x4b1d62
mov eax, dword [ebp + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4b1d56
mov eax, 4
jmp 0x4b1d62
cmp eax, 0x400
jle 0x4b1d62
mov eax, 0x400
add eax, esi
cmp ecx, eax
jge 0x4b1d6e
mov dword [esp + 0x1c], eax
jmp 0x4b1d74
mov dword [esp + 0x1c], ecx
mov eax, ecx
lea edx, [eax + eax*4]
shl edx, 2
push edx
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov edi, ebx
lea ecx, [eax + eax*4]
add esp, 4
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x14]
mov ecx, esi
lea edx, [eax + eax*4]
sub ecx, eax
push ecx
lea eax, [ebx + edx*4]
push eax
call fcn.00416ff0
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [ebp + 4], ebx
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], ecx
xor ebx, ebx
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x50], eax
je 0x4b1ebd
lea ecx, [esp + 0x68]
call fcn.004ba030
lea edx, [esp + 0x50]
lea ecx, [esp + 0x34]
push edx
mov byte [esp + 0xd8], 5
call fcn.0042e960
sub esp, 0x14
cmp eax, ebx
mov dword [esp + 0x28], esp
mov ecx, esp
je 0x4b1e17
lea edx, [eax + 4]
jmp 0x4b1e19
xor edx, edx
mov edi, dword [edx]
mov dword [ecx + 4], edi
mov edx, dword [edx + 4]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x80]
call fcn.004ba0a0
lea ecx, [esp + 0x90]
call fcn.004ba050
lea eax, [esp + 0x68]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x80]
and eax, edx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x8c]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x90]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.004165b0
lea ecx, [esp + 0x68]
inc esi
mov byte [esp + 0xd4], 3
call fcn.004ba050
cmp dword [esp + 0x50], ebx
jne 0x4b1de6
mov eax, dword [esp + 0x38]
cmp dword [ebp + 8], ebx
je 0x4b1ecc
mov ecx, dword [ebp + 4]
mov dword [ecx + 0xc], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], 0x4f8728
cmp eax, ebx
mov byte [esp + 0xd4], 6
mov ebp, eax
je 0x4b1eff
lea esi, [ebp + 8]
xor edi, edi
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx]
add esi, 0x14
mov eax, edi
dec edi
test eax, eax
jne 0x4b1ee7
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x4b1ee2
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [esp + 0x7c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], 0x4f4f00
mov byte [esp + 0xd4], 1
call fcn.004ba050
lea ecx, [esp + 0x54]
mov byte [esp + 0xd4], 0
call fcn.004ba050
lea ecx, [esp + 0x20]
mov dword [esp + 0xd4], 0xffffffff
call fcn.004ba050
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc8
ret