Function at 0x4f3f70
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52bd88
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x579630]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov al, byte [ebp + 8]
mov esi, dword [ebp + 0x10]
mov byte [edi + 0x14], al
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x18], eax
xor eax, eax
mov dword [edi], vtable.BrokerMAPIObject.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x30], 7
mov dword [edi + 0x2c], 0
mov word [edi + 0x1c], ax
mov dword [ebp - 4], 0
cmp word [esi], ax
jne 0x4f3ff0
xor ecx, ecx
jmp 0x4f4004
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f3ff5
sub ecx, ebx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x1c]
call fcn.00407750
mov esi, dword [ebp + 0x14]
xor eax, eax
mov dword [edi + 0x48], 7
mov dword [edi + 0x44], 0
mov word [edi + 0x34], ax
mov byte [ebp - 4], 1
cmp word [esi], ax
jne 0x4f4032
xor ecx, ecx
jmp 0x4f4046
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f4037
sub ecx, ebx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x34]
call fcn.00407750
mov esi, dword [ebp + 0x18]
xor eax, eax
mov dword [edi + 0x60], 7
mov dword [edi + 0x5c], 0
mov word [edi + 0x4c], ax
mov byte [ebp - 4], 2
cmp word [esi], ax
jne 0x4f4074
xor ecx, ecx
jmp 0x4f408f
mov ecx, esi
lea ebx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f4080
sub ecx, ebx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x4c]
call fcn.00407750
mov esi, dword [ebp + 0x1c]
mov dword [edi + 0x78], 0xf
mov dword [edi + 0x74], 0
mov byte [edi + 0x64], 0
cmp byte [esi], 0
mov byte [ebp - 4], 3
jne 0x4f40bb
xor ecx, ecx
jmp 0x4f40c9
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f40c0
sub ecx, ebx
push ecx
push esi
lea ecx, [edi + 0x64]
call fcn.00409210
mov esi, dword [ebp + 0x20]
mov dword [edi + 0x90], 0xf
mov dword [edi + 0x8c], 0
mov byte [edi + 0x7c], 0
cmp byte [esi], 0
mov byte [ebp - 4], 4
jne 0x4f40fb
xor ecx, ecx
jmp 0x4f4109
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f4100
sub ecx, ebx
push ecx
push esi
lea ecx, [edi + 0x7c]
call fcn.00409210
mov esi, dword [ebp + 0x24]
mov dword [edi + 0xa8], 0xf
mov dword [edi + 0xa4], 0
mov byte [edi + 0x94], 0
cmp byte [esi], 0
mov byte [ebp - 4], 5
jne 0x4f413e
xor ecx, ecx
jmp 0x4f414c
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f4143
sub ecx, ebx
push ecx
push esi
lea ecx, [edi + 0x94]
call fcn.00409210
mov eax, dword [ebp + 0x28]
push 0x557e74
mov byte [ebp - 4], 6
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
call fcn.0042ea80
add esp, 4
mov dword [edi + 0xe0], eax
test eax, eax
je 0x4f42fb
push 8
call fcn.00405f2d
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [ebp - 4], 7
test ebx, ebx
je 0x4f4254
xorps xmm0, xmm0
push str.MAPIFreeBuffer
movq qword [ebx], xmm0
push dword [edi + 0xe0]
call esi
push str.MAPIAllocateBuffer
push dword [edi + 0xe0]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx], eax
jmp 0x4f4256
xor ebx, ebx
push str.MAPIInitialize
push dword [edi + 0xe0]
mov byte [ebp - 4], 6
mov dword [edi + 0xac], ebx
call esi
push str.MAPIUninitialize
push dword [edi + 0xe0]
mov dword [edi + 4], eax
call esi
push str.MAPILogonEx
push dword [edi + 0xe0]
mov dword [edi + 8], eax
call esi
push str.HrQueryAllRows
push dword [edi + 0xe0]
mov dword [edi + 0xc], eax
call esi
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x4f42fb
cmp dword [edi + 8], 0
je 0x4f42fb
push 0
call eax
test eax, eax
js 0x4f4305
mov eax, dword [edi + 0xc]
mov dword [edi + 0xb8], 1
test eax, eax
je 0x4f4305
lea ecx, [edi + 0xbc]
push ecx
push 0x63
push 0
push 0
push 0
call eax
test eax, eax
mov eax, edi
js 0x4f4307
mov dword [edi + 0xb8], 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 [edi + 0xb8], 3
mov eax, edi
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