Function at 0x100018a0
Capabilities:
Create process on windows
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x64
mov byte [ebp - 0x11], 0
mov esi, dword [ebp + 0x10]
test byte [0x10004058], 8
jne 0x10001ee0
test esi, esi
je 0x10001e65
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100019d2
mov dword [ebp - 0x18], 0
xor ebx, ebx
mov edx, esi
jmp 0x10001976
mov dword [ebp + 0x10], edx
mov dword [esp], edi
mov dword [esp + 8], 5
mov dword [esp + 4], str.smtp:
call dword [sym.imp.ucrtbase.dll__strnicmp]
mov edx, dword [ebp + 0x10]
mov ecx, eax
lea eax, [edi + 5]
test ecx, ecx
movzx ecx, byte [0x10004058]
cmove edi, eax
mov eax, dword [edx + 0x24]
and ecx, 8
mov eax, dword [eax + esi + 4]
cmp eax, 2
je 0x10001dc8
ja 0x10001d98
test eax, eax
je 0x10001e10
test cl, cl
jne 0x10001f70
mov dword [ebp + 0x10], edx
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x10]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x18], eax
lea esi, [esi]
inc ebx
cmp dword [edx + 0x20], ebx
jbe 0x100019d0
mov eax, dword [edx + 0x24]
test eax, eax
je 0x10001e58
lea esi, [ebx + ebx*2]
shl esi, 3
mov edi, dword [eax + esi + 0xc]
test edi, edi
jne 0x100018f8
test byte [0x10004058], 1
je 0x10001970
mov dword [esp + 0xc], str.Name_resolution_and_entry_identifiers_not_supported_n
inc ebx
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004058
mov dword [esp], 0
mov dword [ebp + 0x10], edx
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x20], ebx
ja 0x10001976
lea esi, [esi]
mov esi, edx
mov edx, dword [esi + 0x28]
test edx, edx
je 0x10001a60
movzx eax, byte [0x10004058]
test al, 1
jne 0x10002019
xor edi, edi
jmp 0x100019fd
inc edi
cmp dword [esi + 0x28], edi
jbe 0x10001a60
movzx eax, byte [0x10004058]
test al, 1
je 0x100019f0
lea edx, [edi + edi*2]
mov eax, dword [esi + 0x2c]
inc edi
lea ebx, [edx*8]
mov eax, dword [eax + ebx + 0x10]
call sym._wine_dbgstr_an.constprop.0_1
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + ebx + 0xc]
call sym._wine_dbgstr_an.constprop.0_1
mov ecx, dword [ebp - 0x24]
mov dword [esp + 0xc], str._t_s___s__n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004058
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
cmp dword [esi + 0x28], edi
ja 0x100019f6
lea esi, cs:[esi]
mov eax, dword [esi + 4]
test eax, eax
je 0x100022b0
lea ecx, [ebp - 0x11]
mov edx, ecx
mov dword [ebp - 0x28], ecx
call sym._escape_string.part.0
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], edx
test eax, eax
je 0x10001a90
call sym._escape_string.part.0
mov dword [ebp - 0x24], eax
test byte [0x10004058], 8
jne 0x10002190
mov eax, dword [ebp - 0x38]
mov ebx, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], eax
call ebx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call ebx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x100020c0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0
test eax, eax
jne 0x10002107
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0
test edi, edi
jne 0x1000214e
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10001b03
test byte [0x10004058], 8
jne 0x100022c0
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x10001bc0
mov dword [ebp - 0x44], 0
xor ebx, ebx
mov edx, esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
jmp 0x10001b43
cmp eax, 1
je 0x10001eb0
inc ebx
cmp dword [edx + 0x20], ebx
jbe 0x10001bc0
mov eax, dword [edx + 0x24]
lea esi, [ebx + ebx*2]
shl esi, 3
mov edi, dword [eax + esi + 0xc]
test edi, edi
je 0x10001b39
mov dword [ebp + 0x10], edx
mov dword [esp], edi
mov dword [esp + 8], 5
mov dword [esp + 4], str.smtp:
call dword [sym.imp.ucrtbase.dll__strnicmp]
mov edx, dword [ebp + 0x10]
mov ecx, eax
lea eax, [edi + 5]
test ecx, ecx
cmove edi, eax
mov eax, dword [edx + 0x24]
mov eax, dword [eax + esi + 4]
cmp eax, 2
je 0x10001e80
cmp eax, 3
jne 0x10001b30
mov ecx, dword [ebp - 0x44]
test ecx, ecx
jne 0x100020a0
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x10], edx
inc ebx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcat]
mov edx, dword [ebp + 0x10]
inc dword [ebp - 0x44]
cmp dword [edx + 0x20], ebx
ja 0x10001b43
lea esi, [esi]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
lea eax, [eax + ecx + 0x34]
add eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x4c]
mov dword [esp + 8], eax
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x18], eax
sub esp, 0xc
test eax, eax
je 0x10002350
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
mov eax, 0x100060ab
lea edi, [ebp - 0x10]
mov dword [esp + 4], str.mailto:__s__subject__s_cc__s_bcc__s_body__s_
test ecx, ecx
mov edx, ebx
cmove ecx, eax
test ebx, ebx
mov ebx, dword [ebp - 0x34]
cmove edx, eax
test ebx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x38]
cmovne eax, ebx
mov ebx, dword [ebp - 0x24]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._sprintf.constprop.0
mov eax, dword [ebp - 0x28]
mov dword [esp], ebx
mov ebx, 2
mov dword [ebp - 0x10], 1
mov dword [esp + 4], eax
mov eax, dword [sym.imp.shlwapi.dll_UrlEscapeA]
mov dword [esp + 0xc], 0x4000000
mov dword [esp + 8], edi
mov dword [ebp - 0x20], eax
call eax
mov dword [ebp - 0x1c], 0
sub esp, 0x10
cmp eax, 0x80004003
je 0x10002208
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x30]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x2c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x18]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
sub esp, 0xc
cmp eax, ecx
je 0x10001d58
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, eax
je 0x10001e6a
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
cmp eax, 3
jne 0x10001df0
test cl, cl
jne 0x10001fb0
mov dword [ebp + 0x10], edx
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0x10]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x20], eax
jmp 0x10001970
test cl, cl
jne 0x10001f30
mov dword [ebp + 0x10], edx
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x1c], eax
jmp 0x10001970
test cl, cl
je 0x10001970
mov dword [ebp + 0x10], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unknown_recipient_class:__ld_n
jmp 0x10001e2e
test cl, cl
je 0x10001970
mov eax, edi
mov dword [ebp + 0x10], edx
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.From:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp + 0x10]
jmp 0x10001970
test byte [0x10004058], 4
jne 0x10001ff0
mov ebx, 2
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x40]
test ecx, ecx
jne 0x10002080
mov eax, dword [ebp - 0x30]
mov dword [ebp + 0x10], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcat]
inc dword [ebp - 0x40]
mov edx, dword [ebp + 0x10]
jmp 0x10001b39
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x10002060
mov eax, dword [ebp - 0x34]
mov dword [ebp + 0x10], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcat]
inc dword [ebp - 0x3c]
mov edx, dword [ebp + 0x10]
jmp 0x10001b39
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], str._0x_08Ix_0x_08Ix__p_0x_08lx_0x_08lx__n
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0x10004058
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp], 3
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0_1
jmp 0x100018bd
mov eax, edi
mov dword [ebp + 0x10], edx
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.Cc:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp + 0x10]
jmp 0x10001dd0
mov eax, edi
mov dword [ebp + 0x10], edx
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.To:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp + 0x10]
jmp 0x10001951
mov eax, edi
mov dword [ebp + 0x10], edx
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.Bcc:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp + 0x10]
jmp 0x10001da5
mov dword [esp + 0xc], str.No_recipients_found_n
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004058
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x10001e65
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Ignoring__lu_attachments:_n
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004058
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10001a60
movzx eax, byte [0x10004058]
jmp 0x100019ec
mov esi, dword [ebp - 0x34]
mov dword [esp], esi
call sym._strlen
mov edx, 0x2c
mov word [esi + eax], dx
mov edx, dword [ebp + 0x10]
jmp 0x10001ebb
mov esi, dword [ebp - 0x30]
mov dword [ebp + 0x10], edx
mov dword [esp], esi
call sym._strlen
mov edx, 0x2c
mov word [esi + eax], dx
mov edx, dword [ebp + 0x10]
jmp 0x10001e8b
mov esi, dword [ebp - 0x2c]
mov dword [ebp + 0x10], edx
mov dword [esp], esi
call sym._strlen
mov edx, 0x2c
mov word [esi + eax], dx
mov edx, dword [ebp + 0x10]
jmp 0x10001b9d
mov ecx, dword [ebp - 0x18]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x34], eax
sub esp, 0xc
test eax, eax
je 0x1000232a
mov byte [eax], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0
test eax, eax
je 0x10001add
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x30], eax
sub esp, 0xc
test eax, eax
je 0x10002361
mov edi, dword [ebp - 0x20]
mov byte [eax], 0
mov dword [ebp - 0x2c], 0
test edi, edi
je 0x10001aef
mov ecx, dword [ebp - 0x20]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x2c], eax
sub esp, 0xc
test eax, eax
je 0x10002380
mov byte [eax], 0
jmp 0x10001aef
mov eax, dword [ebp - 0x38]
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.Subject:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x10004058], 8
je 0x10001a9d
mov eax, dword [ebp - 0x24]
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.Body:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10001a9d
mov eax, dword [ebp - 0x10]
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 dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
sub esp, 0xc
test eax, eax
je 0x10001c96
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0xc], 0x4000000
mov dword [esp], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], edi
call eax
sub esp, 0x10
test eax, eax
jne 0x10001c96
test byte [0x10004058], 8
jne 0x100022f5
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], 0
xor ebx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.winebrowser.exe
mov dword [esp + 4], str.open
mov dword [esp], 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
sub esp, 0x18
cmp eax, 0x20
setbe bl
add ebx, ebx
jmp 0x10001c96
lea eax, [ebp - 0x11]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], eax
jmp 0x10001a7b
mov eax, dword [eax + 0xc]
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.From:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10001b03
mov eax, dword [ebp - 0x1c]
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.Executing_winebrowser.exe_with_parameters__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10002267
mov dword [ebp - 0x1c], 0
mov ebx, 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
jmp 0x10001c96
mov dword [ebp - 0x1c], 0
mov ebx, 2
jmp 0x10001c96
mov dword [ebp - 0x1c], 0
mov ebx, 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], 0
jmp 0x10001c96
mov dword [ebp - 0x1c], 0
mov ebx, 5
mov dword [ebp - 0x18], 0
jmp 0x10001c96