Function at 0x4b2130
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4f30
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5256a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 0xc]
mov al, byte [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x18], ecx
xor ebx, ebx
mov byte [esi + 0x14], al
lea ecx, [esi + 0x1c]
mov dword [esi], vtable.BrokerMAPIObject.0
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
mov eax, edi
mov word [ecx], dx
lea edx, [eax + 2]
mov dword [ebp - 4], ebx
mov dword [ebp + 8], edx
nop
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4b2190
sub eax, dword [ebp + 8]
sar eax, 1
push eax
push edi
call fcn.00406030
mov edx, dword [ebp + 0x14]
lea ecx, [esi + 0x38]
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
mov word [ecx], ax
mov eax, edx
lea edi, [eax + 2]
mov byte [ebp - 4], 1
mov dword [ebp + 8], edi
jmp 0x4b21d0
mov di, word [eax]
add eax, 2
cmp di, bx
jne 0x4b21d0
sub eax, dword [ebp + 8]
sar eax, 1
push eax
push edx
call fcn.00406030
lea ecx, [esi + 0x54]
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
mov word [ecx], dx
mov edx, dword [ebp + 0x18]
mov eax, edx
lea edi, [eax + 2]
mov byte [ebp - 4], 2
mov dword [ebp + 8], edi
jmp 0x4b2210
mov di, word [eax]
add eax, 2
cmp di, bx
jne 0x4b2210
sub eax, dword [ebp + 8]
sar eax, 1
push eax
push edx
call fcn.00406030
mov ecx, dword [ebp + 0x1c]
mov eax, ecx
lea edx, [eax + 1]
mov dword [esi + 0x84], 0xf
mov dword [esi + 0x80], ebx
mov byte [ebp - 4], 3
mov byte [esi + 0x70], bl
mov dword [ebp + 8], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4b2250
sub eax, dword [ebp + 8]
push eax
push ecx
lea ecx, [esi + 0x70]
call fcn.00407740
mov ecx, dword [ebp + 0x20]
mov eax, ecx
lea edx, [eax + 1]
mov dword [esi + 0xa0], 0xf
mov dword [esi + 0x9c], ebx
mov byte [ebp - 4], 4
mov byte [esi + 0x8c], bl
mov dword [ebp + 8], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4b2290
sub eax, dword [ebp + 8]
push eax
push ecx
lea ecx, [esi + 0x8c]
call fcn.00407740
mov ecx, dword [ebp + 0x24]
mov eax, ecx
lea edx, [eax + 1]
mov dword [esi + 0xbc], 0xf
mov dword [esi + 0xb8], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0xa8], bl
mov dword [ebp + 8], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4b22d0
sub eax, dword [ebp + 8]
push eax
push ecx
lea ecx, [esi + 0xa8]
call fcn.00407740
mov eax, dword [ebp + 0x28]
push str.MAPI32.DLL
mov byte [ebp - 4], 6
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
call fcn.00421c70
push 0xc
mov dword [esi + 0xf8], eax
call fcn.00404fba
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4b239a
mov ecx, dword [esi + 0xf8]
push str.MAPIFreeBuffer
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 0xf8]
push str.MAPIAllocateBuffer
push edx
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
mov dword [edi], vtable.MapiAllocator.0
mov dword [edi + 8], eax
jmp 0x4b239c
xor edi, edi
mov ecx, dword [esi + 0xf8]
push str.MAPIInitialize
mov dword [esi + 0xc4], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
call edi
mov edx, dword [esi + 0xf8]
push str.MAPIUninitialize
push edx
mov dword [esi + 4], eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0xf8]
push str.MAPILogonEx
push eax
call edi
mov ecx, dword [esi + 0xf8]
push str.HrQueryAllRows
push ecx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4b2442
cmp dword [esi + 8], ebx
je 0x4b2442
push ebx
call eax
test eax, eax
js 0x4b244c
mov eax, dword [esi + 0xc]
mov dword [esi + 0xd0], 1
cmp eax, ebx
je 0x4b244c
lea ecx, [esi + 0xd4]
push ecx
push 0x63
push ebx
push ebx
push ebx
call eax
test eax, eax
mov eax, esi
js 0x4b244e
mov dword [esi + 0xd0], 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov dword [esi + 0xd0], 3
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24