Function at 0x1000b0d0
Capabilities:
Check for peb beingdebugged flag
Get process heap flags
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov dword [ebp - 0x10], 0
test byte [0x1000d060], 8
jne 0x1000b700
mov edi, dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [esp + 0xc], 0x20019
lea eax, [ebp - 0x18]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov dword [esp + 4], str.SoftwareClientsMail
mov dword [esp], 0x80000002
call edi
sub esp, 0x14
test eax, eax
je 0x1000b130
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x14]
mov dword [esp + 0x10], 0
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExW]
lea esi, [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x1000b690
mov eax, dword [ebp - 0x14]
sub eax, 1
cmp eax, 1
ja 0x1000b690
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000b690
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x20], eax
call eax
sub esp, 0xc
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000b690
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call ebx
sub esp, 0x18
test byte [0x1000d060], 8
jne 0x1000b768
mov eax, str.SoftwareClientsMail
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000b200
mov esi, dword [ebp - 0x1c]
sub eax, str.SoftwareClientsMail
sar eax, 1
add eax, 1
cmp word [esi], 0
je 0x1000b232
mov edx, esi
nop
add edx, 2
cmp word [edx], 0
jne 0x1000b220
mov esi, dword [ebp - 0x1c]
sub edx, esi
sar edx, 1
add eax, edx
lea eax, [eax + eax + 2]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x1000b79d
xor eax, eax
lea esi, [esi]
lea esi, [esi]
movzx edx, word [eax + str.SoftwareClientsMail]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x1000b270
cmp word [ebx], 0
mov edx, ebx
je 0x1000b299
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x1000b290
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + 0x10010710]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000b2a0
cmp word [ebx], 0
mov edx, ebx
je 0x1000b2c9
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x1000b2c0
mov esi, dword [ebp - 0x1c]
xor eax, eax
nop
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000b2d0
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [esp], eax
call esi
sub esp, 4
test byte [0x1000d060], 8
jne 0x1000b730
mov dword [esp + 0xc], 0x20019
lea eax, [ebp - 0x18]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov dword [esp + 4], ebx
mov dword [esp], 0x80000002
call edi
sub esp, 0x14
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x1000b69f
mov eax, dword [ebp - 0x18]
mov ecx, 0x1001c09c
mov edx, str.DLLPath
call fcn.10009c40
mov eax, dword [ebp - 0x18]
mov ecx, 0x1001c098
mov edx, str.DLLPathEx
call fcn.10009c40
mov eax, dword [ebp - 0x20]
mov edx, 0x1001c020
mov ecx, 0x1e
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [0x1001c09c]
test eax, eax
je 0x1000b4ab
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp + 4], str.MAPIAddress
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c020], eax
mov dword [esp + 4], str.MAPIDeleteMail
mov eax, dword [0x1001c09c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c024], eax
mov dword [esp + 4], str.MAPIDetails
mov eax, dword [0x1001c09c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c028], eax
mov dword [esp + 4], str.MAPIFindNext
mov eax, dword [0x1001c09c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c02c], eax
mov dword [esp + 4], str.MAPILogoff
mov eax, dword [0x1001c09c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c034], eax
mov dword [esp + 4], str.MAPILogon
mov eax, dword [0x1001c09c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c038], eax
mov dword [esp + 4], str.MAPIReadMail
mov eax, dword [0x1001c09c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c040], eax
mov dword [esp + 4], str.MAPIResolveName
mov eax, dword [0x1001c09c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c044], eax
mov dword [esp + 4], str.MAPISaveMail
mov eax, dword [0x1001c09c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c048], eax
mov dword [esp + 4], str.MAPISendDocuments
mov eax, dword [0x1001c09c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c054], eax
mov dword [esp + 4], str.MAPISendMail
mov eax, dword [0x1001c09c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c04c], eax
mov dword [esp + 4], str.MAPISendMailW
mov eax, dword [0x1001c09c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c050], eax
mov eax, dword [0x1001c098]
test eax, eax
je 0x1000b69f
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp + 4], str.MAPIInitialize
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c030], eax
mov dword [esp + 4], str.MAPILogonEx
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c03c], eax
mov dword [esp + 4], str.MAPIUninitialize
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c058], eax
mov dword [esp + 4], str.DeinitMapiUtil_0
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c05c], eax
mov dword [esp + 4], str.DllCanUnloadNow
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c060], eax
mov dword [esp + 4], str.DllGetClassObject
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c064], eax
mov dword [esp + 4], 0x10010843
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c068], eax
mov dword [esp + 4], str.HrThisThreadAdviseSink_8
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c084], eax
mov dword [esp + 4], str.HrQueryAllRows_24
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c088], eax
mov dword [esp + 4], str.MAPIAdminProfiles
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c06c], eax
mov dword [esp + 4], 0x10010892
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c070], eax
mov dword [esp + 4], 0x100108a5
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c074], eax
mov dword [esp + 4], 0x100108b6
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c078], eax
mov dword [esp + 4], str.MAPIGetDefaultMalloc_0
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c07c], eax
mov dword [esp + 4], str.MAPIOpenLocalFormContainer
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c080], eax
mov dword [esp + 4], str.OpenStreamOnFile_24
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c08c], eax
mov dword [esp + 4], str.ScInitMapiUtil_4
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c090], eax
mov dword [esp + 4], str.WrapCompressedRTFStream_12
mov eax, dword [0x1001c098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1001c094], eax
jmp 0x1000b69f
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp + 8], ebx
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x100106fe
mov dword [esp + 8], str.load_mapi_providers
mov dword [esp + 4], 0x1000d060
mov dword [esp], 3
call fcn.10009bf0
jmp 0x1000b0ed
mov eax, ebx
call fcn.10009910
mov dword [esp + 0xc], str.appKey:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.load_mapi_providers
mov dword [esp + 4], 0x1000d060
mov dword [esp], 3
call fcn.10009bf0
jmp 0x1000b2fe
mov eax, dword [ebp - 0x1c]
call fcn.10009910
mov dword [esp + 0xc], str.appName:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.load_mapi_providers
mov dword [esp + 4], 0x1000d060
mov dword [esp], 3
call fcn.10009bf0
jmp 0x1000b1f5
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x1000b69f