Function at 0x1000b800
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 0x1000be30
lea eax, [ebp - 0x18]
mov dword [esp + 0xc], 0x20019
mov edi, dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareClientsMail
mov dword [esp], 0x80000002
call edi
sub esp, 0x14
test eax, eax
je 0x1000b860
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x14]
lea esi, [ebp - 0x10]
mov dword [esp + 0x10], 0
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x1000bdc8
mov eax, dword [ebp - 0x14]
sub eax, 1
cmp eax, 1
ja 0x1000bdc8
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000bdc8
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
mov dword [ebp - 0x1c], eax
sub esp, 0xc
test eax, eax
je 0x1000bdc8
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 0x18
test byte [0x1000d060], 8
jne 0x1000be98
mov eax, str.SoftwareClientsMail
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000b930
sub eax, str.SoftwareClientsMail
mov esi, dword [ebp - 0x1c]
sar eax, 1
add eax, 1
cmp word [esi], 0
je 0x1000b960
mov edx, esi
nop
add edx, 2
cmp word [edx], 0
jne 0x1000b950
sub edx, dword [ebp - 0x1c]
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 0x1000becd
xor eax, eax
lea esi, [esi]
movzx edx, word [eax + str.SoftwareClientsMail]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x1000b998
cmp word [ebx], 0
mov edx, ebx
je 0x1000b9c1
nop
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1000b9b8
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + 0x10010830]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000b9c8
cmp word [ebx], 0
mov edx, ebx
je 0x1000b9f1
nop
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1000b9e8
mov esi, dword [ebp - 0x1c]
xor eax, eax
lea esi, [esi]
lea edi, [edi]
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000ba00
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 0x1000be60
lea eax, [ebp - 0x18]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0x80000002
call edi
mov dword [ebp - 0x20], eax
sub esp, 0x14
test eax, eax
jne 0x1000bdd7
mov eax, dword [ebp - 0x18]
mov ecx, 0x1001d008
mov edx, str.DLLPath
call sym._load_mapi_provider
mov eax, dword [ebp - 0x18]
mov ecx, 0x1001d004
mov edx, str.DLLPathEx
call sym._load_mapi_provider
mov eax, dword [ebp - 0x20]
mov edx, 0x1001d0e0
mov ecx, 0x1e
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [0x1001d008]
test eax, eax
je 0x1000bbdb
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp + 4], str.MAPIAddress
mov dword [esp], eax
call edi
mov dword [0x1001d0e0], eax
mov eax, dword [0x1001d008]
sub esp, 8
mov dword [esp + 4], str.MAPIDeleteMail
mov dword [esp], eax
call edi
mov dword [0x1001d0e4], eax
mov eax, dword [0x1001d008]
sub esp, 8
mov dword [esp + 4], str.MAPIDetails
mov dword [esp], eax
call edi
mov dword [0x1001d0e8], eax
mov eax, dword [0x1001d008]
sub esp, 8
mov dword [esp + 4], str.MAPIFindNext
mov dword [esp], eax
call edi
mov dword [0x1001d0ec], eax
mov eax, dword [0x1001d008]
sub esp, 8
mov dword [esp + 4], str.MAPILogoff
mov dword [esp], eax
call edi
mov dword [0x1001d0f4], eax
mov eax, dword [0x1001d008]
sub esp, 8
mov dword [esp + 4], str.MAPILogon
mov dword [esp], eax
call edi
mov dword [0x1001d0f8], eax
mov eax, dword [0x1001d008]
sub esp, 8
mov dword [esp + 4], str.MAPIReadMail
mov dword [esp], eax
call edi
mov dword [0x1001d100], eax
mov eax, dword [0x1001d008]
sub esp, 8
mov dword [esp + 4], str.MAPIResolveName
mov dword [esp], eax
call edi
mov dword [0x1001d104], eax
mov eax, dword [0x1001d008]
sub esp, 8
mov dword [esp + 4], str.MAPISaveMail
mov dword [esp], eax
call edi
mov dword [0x1001d108], eax
mov eax, dword [0x1001d008]
sub esp, 8
mov dword [esp + 4], str.MAPISendDocuments
mov dword [esp], eax
call edi
mov dword [0x1001d114], eax
mov eax, dword [0x1001d008]
sub esp, 8
mov dword [esp + 4], str.MAPISendMail
mov dword [esp], eax
call edi
mov dword [0x1001d10c], eax
mov eax, dword [0x1001d008]
sub esp, 8
mov dword [esp + 4], str.MAPISendMailW
mov dword [esp], eax
call edi
mov dword [0x1001d110], eax
sub esp, 8
mov eax, dword [0x1001d004]
test eax, eax
je 0x1000bdd7
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp + 4], str.MAPIInitialize
mov dword [esp], eax
call edi
mov dword [0x1001d0f0], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], str.MAPILogonEx
mov dword [esp], eax
call edi
mov dword [0x1001d0fc], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], str.MAPIUninitialize
mov dword [esp], eax
call edi
mov dword [0x1001d118], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], str.DeinitMapiUtil_0
mov dword [esp], eax
call edi
mov dword [0x1001d11c], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], str.DllCanUnloadNow
mov dword [esp], eax
call edi
mov dword [0x1001d120], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], str.DllGetClassObject
mov dword [esp], eax
call edi
mov dword [0x1001d124], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], 0x10010963
mov dword [esp], eax
call edi
mov dword [0x1001d128], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], str.HrThisThreadAdviseSink_8
mov dword [esp], eax
call edi
mov dword [0x1001d144], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], str.HrQueryAllRows_24
mov dword [esp], eax
call edi
mov dword [0x1001d148], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], str.MAPIAdminProfiles
mov dword [esp], eax
call edi
mov dword [0x1001d12c], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], 0x100109b2
mov dword [esp], eax
call edi
mov dword [0x1001d130], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], 0x100109c5
mov dword [esp], eax
call edi
mov dword [0x1001d134], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], 0x100109d6
mov dword [esp], eax
call edi
mov dword [0x1001d138], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], str.MAPIGetDefaultMalloc_0
mov dword [esp], eax
call edi
mov dword [0x1001d13c], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], str.MAPIOpenLocalFormContainer
mov dword [esp], eax
call edi
mov dword [0x1001d140], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], str.OpenStreamOnFile_24
mov dword [esp], eax
call edi
mov dword [0x1001d14c], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], str.ScInitMapiUtil_4
mov dword [esp], eax
call edi
mov dword [0x1001d150], eax
mov eax, dword [0x1001d004]
sub esp, 8
mov dword [esp + 4], str.WrapCompressedRTFStream_12
mov dword [esp], eax
call edi
mov dword [0x1001d154], eax
sub esp, 8
jmp 0x1000bdd7
mov dword [ebp - 0x1c], 0
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
xor ebx, ebx
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 + 8], eax
mov dword [esp + 4], 0
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], 0x1001081e
mov dword [esp + 8], str.load_mapi_providers
mov dword [esp + 4], 0x1000d060
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000b81d
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
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 sym._wine_dbg_log.constprop.0_4
jmp 0x1000ba2e
mov eax, dword [ebp - 0x1c]
call sym._wine_dbgstr_wn.constprop.0_1
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 sym._wine_dbg_log.constprop.0_4
jmp 0x1000b925
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x1000bdd7