Function at 0x4dcd10
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f050
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x553948]
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]
xor ebx, ebx
mov dword [esi + 0x18], ecx
mov byte [esi + 0x14], al
lea ecx, [esi + 0x1c]
mov dword [esi], vtable.BrokerMAPIObject.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
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
jmp 0x4dcd80
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4dcd80
sub eax, dword [ebp + 8]
sar eax, 1
push eax
push edi
call fcn.004063e0
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 0x4dcdc0
mov di, word [eax]
add eax, 2
cmp di, bx
jne 0x4dcdc0
sub eax, dword [ebp + 8]
sar eax, 1
push eax
push edx
call fcn.004063e0
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 0x4dce00
mov di, word [eax]
add eax, 2
cmp di, bx
jne 0x4dce00
sub eax, dword [ebp + 8]
sar eax, 1
push eax
push edx
call fcn.004063e0
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 0x4dce40
sub eax, dword [ebp + 8]
push eax
push ecx
lea ecx, [esi + 0x70]
call fcn.00407a90
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 0x4dce80
sub eax, dword [ebp + 8]
push eax
push ecx
lea ecx, [esi + 0x8c]
call fcn.00407a90
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 0x4dcec0
sub eax, dword [ebp + 8]
push eax
push ecx
lea ecx, [esi + 0xa8]
call fcn.00407a90
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.0042bc80
add esp, 4
mov dword [esi + 0xf8], eax
cmp eax, ebx
je 0x4dd034
push 8
call fcn.004051ca
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x4dcf92
mov ecx, dword [esi + 0xf8]
push str.MAPIFreeBuffer
push ecx
call edi
mov edx, dword [esi + 0xf8]
push str.MAPIAllocateBuffer
push edx
mov dword [ebp + 0xc], eax
call edi
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, ecx
jmp 0x4dcf94
xor eax, eax
mov ecx, dword [esi + 0xf8]
push str.MAPIInitialize
push ecx
mov dword [esi + 0xc4], eax
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 0x4dd034
cmp dword [esi + 8], ebx
je 0x4dd034
push ebx
call eax
test eax, eax
js 0x4dd03e
mov eax, dword [esi + 0xc]
mov dword [esi + 0xd0], 1
cmp eax, ebx
je 0x4dd03e
lea ecx, [esi + 0xd4]
push ecx
push 0x63
push ebx
push ebx
push ebx
call eax
test eax, eax
mov eax, esi
js 0x4dd040
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