Function at 0x1000e710
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 [0x10010060], 8
jne 0x1000ed40
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 0x1000e770
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 + 0x14], esi
mov dword [esp + 0xc], eax
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 0x1000ecd0
mov eax, dword [ebp - 0x14]
sub eax, 1
cmp eax, 1
ja 0x1000ecd0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000ecd0
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 0x1000ecd0
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 [0x10010060], 8
jne 0x1000eda8
mov eax, str.SoftwareClientsMail
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000e840
sub eax, str.SoftwareClientsMail
mov esi, dword [ebp - 0x1c]
sar eax, 1
add eax, 1
cmp word [esi], 0
je 0x1000e872
mov edx, esi
nop
add edx, 2
cmp word [edx], 0
jne 0x1000e860
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 0x1000eddd
xor eax, eax
lea esi, cs:[esi]
nop
movzx edx, word [eax + str.SoftwareClientsMail]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x1000e8b0
cmp word [ebx], 0
mov edx, ebx
je 0x1000e8d9
lea esi, cs:[esi]
add edx, 2
cmp word [edx], 0
jne 0x1000e8d0
xor eax, eax
lea esi, cs:[esi]
movzx ecx, word [eax + 0x10013db0]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000e8e0
cmp word [ebx], 0
mov edx, ebx
je 0x1000e909
lea esi, cs:[esi]
add edx, 2
cmp word [edx], 0
jne 0x1000e900
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 0x1000e910
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [esp], eax
call esi
sub esp, 4
test byte [0x10010060], 8
jne 0x1000ed70
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 0x1000ecdf
mov eax, dword [ebp - 0x18]
mov ecx, 0x1002009c
mov edx, str.DLLPath
call sym._load_mapi_provider
mov eax, dword [ebp - 0x18]
mov ecx, 0x10020098
mov edx, str.DLLPathEx
call sym._load_mapi_provider
mov eax, dword [ebp - 0x20]
mov edx, 0x10020020
mov ecx, 0x1e
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [0x1002009c]
test eax, eax
je 0x1000eaeb
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 [0x10020020], eax
mov dword [esp + 4], str.MAPIDeleteMail
mov eax, dword [0x1002009c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020024], eax
mov dword [esp + 4], str.MAPIDetails
mov eax, dword [0x1002009c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020028], eax
mov dword [esp + 4], str.MAPIFindNext
mov eax, dword [0x1002009c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1002002c], eax
mov dword [esp + 4], str.MAPILogoff
mov eax, dword [0x1002009c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020034], eax
mov dword [esp + 4], str.MAPILogon
mov eax, dword [0x1002009c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020038], eax
mov dword [esp + 4], str.MAPIReadMail
mov eax, dword [0x1002009c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020040], eax
mov dword [esp + 4], str.MAPIResolveName
mov eax, dword [0x1002009c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020044], eax
mov dword [esp + 4], str.MAPISaveMail
mov eax, dword [0x1002009c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020048], eax
mov dword [esp + 4], str.MAPISendDocuments
mov eax, dword [0x1002009c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020054], eax
mov dword [esp + 4], str.MAPISendMail
mov eax, dword [0x1002009c]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1002004c], eax
mov dword [esp + 4], str.MAPISendMailW
mov eax, dword [0x1002009c]
mov dword [esp], eax
call edi
mov dword [0x10020050], eax
sub esp, 8
mov eax, dword [0x10020098]
test eax, eax
je 0x1000ecdf
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 [0x10020030], eax
mov dword [esp + 4], str.MAPILogonEx
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1002003c], eax
mov dword [esp + 4], str.MAPIUninitialize
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020058], eax
mov dword [esp + 4], str.DeinitMapiUtil_0
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1002005c], eax
mov dword [esp + 4], str.DllCanUnloadNow
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020060], eax
mov dword [esp + 4], str.DllGetClassObject
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020064], eax
mov dword [esp + 4], 0x10013ee3
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020068], eax
mov dword [esp + 4], str.HrThisThreadAdviseSink_8
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020084], eax
mov dword [esp + 4], str.HrQueryAllRows_24
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020088], eax
mov dword [esp + 4], str.MAPIAdminProfiles
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1002006c], eax
mov dword [esp + 4], 0x10013f32
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020070], eax
mov dword [esp + 4], 0x10013f45
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020074], eax
mov dword [esp + 4], 0x10013f56
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020078], eax
mov dword [esp + 4], str.MAPIGetDefaultMalloc_0
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1002007c], eax
mov dword [esp + 4], str.MAPIOpenLocalFormContainer
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020080], eax
mov dword [esp + 4], str.OpenStreamOnFile_24
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x1002008c], eax
mov dword [esp + 4], str.ScInitMapiUtil_4
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x10020090], eax
mov dword [esp + 4], str.WrapCompressedRTFStream_12
mov eax, dword [0x10020098]
mov dword [esp], eax
call edi
mov dword [0x10020094], eax
sub esp, 8
jmp 0x1000ecdf
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], 0x10013d9e
mov dword [esp + 8], str.load_mapi_providers
mov dword [esp + 4], 0x10010060
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000e72d
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], 0x10010060
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000e93e
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], 0x10010060
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x1000e835
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x1000ecdf