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

Disassembly:
push 0xffffffffffffffff
push 0x4f15a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], 0x4f5778
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x12c], edi
call fcn.00417070
mov ebx, dword [esp + 0x12c]
mov ebp, dword [ebx + 8]
cmp ebp, edi
jne 0x4b7d1b
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4b7d0e
mov ecx, dword [esp + 0x18]
push ecx
push eax
call fcn.00417500
mov edx, dword [esp + 0x14]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
jmp 0x4b7e3e
mov ecx, dword [esp + 0x14]
cmp ecx, edi
jne 0x4b7d4b
lea eax, [ebp + ebp*2]
shl eax, 4
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
push ebp
push eax
call fcn.004177c0
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
jmp 0x4b7e3e
mov esi, dword [esp + 0x1c]
cmp ebp, esi
jg 0x4b7d94
mov eax, dword [esp + 0x18]
cmp eax, ebp
jge 0x4b7d77
mov edx, ebp
sub edx, eax
lea eax, [eax + eax*2]
shl eax, 4
add eax, ecx
push edx
push eax
call fcn.004177c0
mov dword [esp + 0x18], ebp
jmp 0x4b7e3e
jle 0x4b7d8b
lea edx, [ebp + ebp*2]
sub eax, ebp
shl edx, 4
add edx, ecx
push eax
push edx
call fcn.00417500
mov dword [esp + 0x18], ebp
jmp 0x4b7e3e
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x4b7dc1
mov eax, dword [esp + 0x18]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4b7db5
mov eax, 4
jmp 0x4b7dc1
cmp eax, 0x400
jle 0x4b7dc1
mov eax, 0x400
add eax, esi
cmp ebp, eax
jge 0x4b7dcd
mov dword [esp + 0x28], eax
jmp 0x4b7dd3
mov dword [esp + 0x28], ebp
mov eax, ebp
lea eax, [eax + eax*2]
shl eax, 4
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x24], eax
shl ecx, 4
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
sub edx, ecx
lea ecx, [ecx + ecx*2]
push edx
shl ecx, 4
add ecx, eax
push ecx
call fcn.004177c0
mov edx, dword [esp + 0x14]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ecx
xor edi, edi
mov eax, dword [ebx + 8]
xor esi, esi
cmp eax, edi
jle 0x4b7f14
lea edx, [esp + 0x2c]
push esi
push edx
mov ecx, ebx
call fcn.0040b280
lea ecx, [esp + 0x2c]
sub esp, 0x30
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x60]
and ecx, edx
mov eax, esp
mov dword [esp + 0x54], esp
push esi
mov edx, dword [ecx]
mov byte [esp + 0x158], 1
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov cx, word [esp + 0x70]
mov word [eax + 0x10], cx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x14], edx
mov cx, word [esp + 0x78]
mov word [eax + 0x18], cx
mov dx, word [esp + 0x7a]
mov word [eax + 0x1a], dx
mov cx, word [esp + 0x7c]
mov word [eax + 0x1c], cx
mov dx, word [esp + 0x7e]
mov word [eax + 0x1e], dx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x84]
mov dword [eax + 0x24], edx
mov cx, word [esp + 0x88]
mov word [eax + 0x28], cx
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x44]
mov dword [eax + 0x2c], edx
mov dword [eax], 0x4f5588
call fcn.00423b60
lea ecx, [esp + 0x2c]
mov byte [esp + 0x124], 0
call fcn.00456e80
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x4b7e4b
push 0xffffffffffffffff
push edi
mov ecx, ebx
call fcn.00417070
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.00417070
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x8c]
push edi
push edx
lea esi, [ecx - 1]
lea ecx, [esp + 0x18]
call fcn.0040b280
cmp esi, edi
mov byte [esp + 0x124], 2
jl 0x4b80ec
lea edi, [esi + esi*2]
shl edi, 4
xor ebp, ebp
lea eax, [esp + 0x2c]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.0040b280
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x30]
neg eax
sbb eax, eax
mov dword [esp + 0x5c], 0x4f5588
and eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x68], ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], edx
mov dx, word [esp + 0x3c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x40]
mov word [esp + 0x6c], dx
mov dx, word [esp + 0x44]
mov dword [esp + 0x70], eax
mov ax, word [esp + 0x46]
mov word [esp + 0x74], dx
mov dx, word [esp + 0x48]
mov word [esp + 0x76], ax
mov ax, word [esp + 0x4a]
mov word [esp + 0x78], dx
mov edx, dword [esp + 0x4c]
mov word [esp + 0x7a], ax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], edx
mov dx, word [esp + 0x54]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x58]
mov word [esp + 0x84], dx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x98]
mov byte [esp + 0x124], 4
test eax, eax
jne 0x4b8015
mov dword [esp + 0x68], eax
jmp 0x4b801e
cmp eax, 1
jne 0x4b801e
mov dword [esp + 0x68], eax
cmp ecx, 1
jne 0x4b806c
test esi, esi
jle 0x4b806c
lea ecx, [esi - 1]
lea edx, [esp + 0xbc]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0040b280
test byte [esp + 0xd0], 1
je 0x4b8060
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
or edx, 1
mov dword [esp + 0x70], edx
mov ecx, dword [edi + eax - 0x1c]
and ecx, 0xfffffffe
mov dword [edi + eax - 0x1c], ecx
lea ecx, [esp + 0xbc]
call fcn.00456e80
sub esp, 0x30
lea eax, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.0041f960
push ebp
mov ecx, ebx
call fcn.00423b60
sub esp, 0x30
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.0041f960
lea eax, [esp + 0x11c]
lea ecx, [esp + 0xbc]
push eax
call fcn.00456e90
lea ecx, [esp + 0xec]
call fcn.00456e80
lea ecx, [esp + 0x5c]
mov byte [esp + 0x124], 3
call fcn.00456e80
lea ecx, [esp + 0x2c]
mov byte [esp + 0x124], 2
call fcn.00456e80
dec esi
sub edi, 0x30
inc ebp
test esi, esi
jge 0x4b7f5d
lea ecx, [esp + 0x8c]
mov byte [esp + 0x124], 0
call fcn.00456e80
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], 0xffffffff
call fcn.00416a30
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x118
ret