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

Disassembly:
sub esp, 0xac
push ebx
push ebp
mov ebp, dword [esp + 0xb8]
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 4]
mov esi, ecx
cmp eax, edi
mov dword [esp + 0x14], esi
je 0x10048c6c
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 4], edi
push 5
mov ecx, esi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
call fcn.10048a90
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x18], ebx
jne 0x10048c94
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xac
ret 8
mov edi, dword [esp + 0xc4]
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
jne 0x10048cb8
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call dword [edi + 0x38]
mov dword [esp + 0x10], eax
mov edi, eax
mov ecx, dword [ebx + 0x44]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x38]
cmp edi, 0xfffffffe
mov edx, eax
je 0x10048cd2
cmp edi, edx
jne 0x10048e6d
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x20]
mov esi, dword [ebx + 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x24], edx
mov edx, dword [ebx + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x1c], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], edx
add eax, edx
mov edx, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0x30], edx
mov edx, dword [ebx + 0x64]
mov dword [esp + 0x5c], edx
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x6c], edx
mov edx, dword [ebx + 0x7c]
mov dword [esp + 0x74], edx
mov edx, dword [ebx + 0x84]
mov dword [esp + 0x7c], edx
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x84], edx
mov edx, dword [ebx + 0x8c]
mov dword [esp + 0x88], edx
mov edx, dword [ebx + 0x90]
mov dword [esp + 0x8c], edx
mov edx, dword [ebx + 0x94]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x90], edx
mov edx, dword [ebx + 0x98]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x94], edx
mov edx, dword [ebx + 0x9c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x98], edx
mov edx, dword [ebx + 0xa0]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x9c], edx
mov edx, dword [ebx + 0xa4]
mov dword [esp + 0x54], eax
adc ecx, esi
mov eax, dword [ebx + 0x68]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 0x60]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0xa0], edx
mov edx, dword [ebx + 0xa8]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebx + 0x78]
mov dword [esp + 0xa4], edx
mov edx, dword [ebx + 0xac]
mov dword [esp + 0x70], ecx
mov ecx, dword [ebx + 0x80]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0xa8], edx
mov edx, dword [ebx + 0xb0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0xac], edx
mov edx, dword [ebx + 0xb4]
shr ecx, 0xa
shr eax, 0xa
mov dword [esp + 0x40], esi
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, ebp
lea eax, [esi + 1]
push eax
call fcn.100473e0
mov eax, dword [ebp + 4]
lea edi, [esi + esi*4]
shl edi, 5
add edi, eax
mov ecx, 0x28
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x10048e7b
add ebx, eax
jne 0x10048cb8
mov ecx, dword [esp + 0x18]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 8