Function at 0x10001db0
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 ebx, dword [ebp + 0x10]
test byte [0x10005028], 8
jne 0x100023b8
call sym._XDGMailAvailable
test al, al
jne 0x10002380
mov byte [ebp - 0x11], 0
test byte [0x10005028], 8
jne 0x100022e8
test ebx, ebx
je 0x10002365
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10001eb4
mov dword [ebp - 0x18], 0
xor edi, edi
lea esi, [esi]
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10002338
lea edx, [edi + edi*2]
shl edx, 3
mov esi, dword [eax + edx + 0xc]
mov dword [ebp - 0x24], edx
test esi, esi
je 0x10002218
mov dword [esp], esi
mov dword [esp + 8], 5
mov dword [esp + 4], 0x10007314
call dword [sym.imp.ucrtbase.dll__strnicmp]
mov edx, dword [ebp - 0x24]
mov ecx, eax
lea eax, [esi + 5]
test ecx, ecx
cmove esi, eax
mov eax, dword [ebx + 0x24]
mov edx, dword [eax + edx + 4]
movzx eax, byte [0x10005028]
and eax, 8
cmp edx, 2
je 0x10002250
ja 0x100021f0
test edx, edx
je 0x100022a8
test al, al
jne 0x10002468
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x18], eax
lea esi, [esi]
add edi, 1
cmp edi, dword [ebx + 0x20]
jb 0x10001e18
mov edx, dword [ebx + 0x28]
test edx, edx
jne 0x10002510
mov eax, dword [ebx + 4]
test eax, eax
je 0x10002860
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 [ebx + 8]
mov dword [ebp - 0x24], edx
test eax, eax
je 0x10001eef
call sym._escape_string.part.0
mov dword [ebp - 0x24], eax
test byte [0x10005028], 8
jne 0x10002738
mov eax, dword [ebp - 0x38]
mov esi, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], eax
call esi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x100026f8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0
test eax, eax
jne 0x10002670
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0
test edi, edi
jne 0x100026b7
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x10001f62
test byte [0x10005028], 8
jne 0x10002598
mov esi, dword [ebx + 0x20]
test esi, esi
je 0x10002020
mov dword [ebp - 0x44], 0
xor edi, edi
mov edx, ebx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
jmp 0x10001fa1
cmp eax, 1
je 0x10002438
add edi, 1
cmp edi, dword [edx + 0x20]
jae 0x10002020
mov eax, dword [edx + 0x24]
lea ebx, [edi + edi*2]
shl ebx, 3
mov esi, dword [eax + ebx + 0xc]
test esi, esi
je 0x10001f99
mov dword [ebp + 0x10], edx
mov dword [esp], esi
mov dword [esp + 8], 5
mov dword [esp + 4], 0x10007314
call dword [sym.imp.ucrtbase.dll__strnicmp]
mov edx, dword [ebp + 0x10]
mov ecx, eax
lea eax, [esi + 5]
test ecx, ecx
cmove esi, eax
mov eax, dword [edx + 0x24]
mov eax, dword [eax + ebx + 4]
cmp eax, 2
je 0x10002408
cmp eax, 3
jne 0x10001f90
mov ecx, dword [ebp - 0x44]
test ecx, ecx
jne 0x10002630
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x10], edx
add edi, 1
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcat]
mov edx, dword [ebp + 0x10]
add dword [ebp - 0x44], 1
cmp edi, dword [edx + 0x20]
jb 0x10001fa1
lea esi, [esi]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [esp + 4], 0
mov ebx, 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 [ebx + 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 0x100028aa
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov eax, 0x10007157
lea esi, [ebp - 0x10]
mov dword [esp + 4], str.mailto:__s__subject__s_cc__s_bcc__s_body__s_
test ecx, ecx
mov edx, edi
cmove ecx, eax
test edi, edi
mov edi, dword [ebp - 0x34]
cmove edx, eax
test edi, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x38]
cmovne eax, edi
mov edi, dword [ebp - 0x24]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edi
mov edi, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._sprintf.constprop.0
mov eax, dword [ebp - 0x28]
mov dword [esp], edi
mov edi, 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], esi
mov dword [ebp - 0x1c], eax
call eax
xor ecx, ecx
sub esp, 0x10
cmp eax, 0x80004003
je 0x100027b0
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x1c], ecx
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x30]
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
mov eax, dword [ebp - 0x2c]
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
mov eax, dword [ebp - 0x18]
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
mov ecx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
sub esp, 0xc
cmp eax, ecx
je 0x100021b6
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
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, eax
je 0x1000236a
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 ebx
mov eax, edi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
cmp edx, 3
jne 0x10002270
test al, al
jne 0x100024a0
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x20], eax
jmp 0x10001ea8
test byte [0x10005028], 1
je 0x10001ea8
mov dword [esp + 0xc], 0x100071fc
mov dword [esp + 8], str.BrowserSendMail
mov dword [esp + 4], 0x10005028
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x10001ea8
test al, al
jne 0x100024d8
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x1c], eax
jmp 0x10001ea8
test al, al
je 0x10001ea8
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x100071de
mov dword [esp + 8], str.BrowserSendMail
mov dword [esp + 4], 0x10005028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10001ea8
test al, al
je 0x10001ea8
mov eax, esi
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.BrowserSendMail
mov dword [esp + 4], 0x10005028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10001ea8
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x18], ebx
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.BrowserSendMail
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0x10005028
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 0x10001de7
test byte [0x10005028], 4
je 0x10002365
mov dword [esp + 0xc], str.No_recipients_found_n
mov dword [esp + 8], str.BrowserSendMail
mov dword [esp + 4], 0x10005028
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
mov edi, 2
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._XDGSendMail
lea esp, [ebp - 0xc]
mov edi, eax
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], str._0x_I64xx_0x_I64xx__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], 0x10005028
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 0x10001dc9
mov ecx, dword [ebp - 0x40]
test ecx, ecx
jne 0x10002610
mov eax, dword [ebp - 0x30]
mov dword [ebp + 0x10], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcat]
add dword [ebp - 0x40], 1
mov edx, dword [ebp + 0x10]
jmp 0x10001f99
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x10002650
mov eax, dword [ebp - 0x34]
mov dword [ebp + 0x10], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcat]
add dword [ebp - 0x3c], 1
mov edx, dword [ebp + 0x10]
jmp 0x10001f99
mov eax, esi
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], 0x100071c5
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.BrowserSendMail
mov dword [esp + 4], 0x10005028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10001e8e
mov eax, esi
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.BrowserSendMail
mov dword [esp + 4], 0x10005028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x100021fd
mov eax, esi
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.BrowserSendMail
mov dword [esp + 4], 0x10005028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10002258
movzx eax, byte [0x10005028]
test al, 1
jne 0x100025d0
xor esi, esi
jmp 0x1000253b
add esi, 1
cmp esi, dword [ebx + 0x28]
jae 0x10001ebf
movzx eax, byte [0x10005028]
test al, 1
je 0x10002528
mov eax, dword [ebx + 0x2c]
lea edi, [esi + esi*2]
shl edi, 3
mov eax, dword [eax + edi + 0x10]
call sym._wine_dbgstr_an.constprop.0_1
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + edi + 0xc]
call sym._wine_dbgstr_an.constprop.0_1
mov edx, dword [ebp - 0x24]
mov dword [esp + 0xc], str._t_s___s__n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.BrowserSendMail
mov dword [esp + 4], 0x10005028
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x10002528
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.BrowserSendMail
mov dword [esp + 4], 0x10005028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10001f62
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Ignoring__lu_attachments:_n
mov dword [esp + 8], str.BrowserSendMail
mov dword [esp + 4], 0x10005028
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x10001ebf
movzx eax, byte [0x10005028]
jmp 0x1000251f
mov ebx, dword [ebp - 0x30]
mov dword [ebp + 0x10], edx
mov dword [esp], ebx
call sym._strlen
mov edx, 0x2c
mov word [ebx + eax], dx
mov edx, dword [ebp + 0x10]
jmp 0x10002413
mov ebx, dword [ebp - 0x2c]
mov dword [ebp + 0x10], edx
mov dword [esp], ebx
call sym._strlen
mov edx, 0x2c
mov word [ebx + eax], dx
mov edx, dword [ebp + 0x10]
jmp 0x10001ffb
mov ebx, dword [ebp - 0x34]
mov dword [esp], ebx
call sym._strlen
mov edx, 0x2c
mov word [ebx + eax], dx
mov edx, dword [ebp + 0x10]
jmp 0x10002443
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 0x100028ea
mov edi, dword [ebp - 0x20]
mov byte [eax], 0
mov dword [ebp - 0x2c], 0
test edi, edi
je 0x10001f4e
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 0x100028b6
mov byte [eax], 0
jmp 0x10001f4e
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 0x100028c9
mov byte [eax], 0
jmp 0x10001f2a
mov eax, dword [ebp - 0x38]
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], 0x10007256
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.BrowserSendMail
mov dword [esp + 4], 0x10005028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x10005028], 8
je 0x10001efc
mov eax, dword [ebp - 0x24]
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], 0x10007263
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.BrowserSendMail
mov dword [esp + 4], 0x10005028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10001efc
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x100020f1
mov dword [esp + 4], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0xc], 0x4000000
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], esi
call eax
mov ecx, dword [ebp - 0x20]
sub esp, 0x10
test eax, eax
jne 0x100020f1
test byte [0x10005028], 8
jne 0x10002870
mov dword [esp + 0xc], ecx
mov dword [ebp - 0x1c], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], str.winebrowser.exe
mov dword [esp + 4], str.open
mov dword [esp], 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x1c]
sub esp, 0x18
cmp eax, 0x20
setbe al
movzx eax, al
mov edi, eax
add edi, edi
jmp 0x100020f1
lea eax, [ebp - 0x11]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], eax
jmp 0x10001eda
mov eax, ecx
mov dword [ebp - 0x1c], ecx
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.BrowserSendMail
mov dword [esp + 4], 0x10005028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov ecx, dword [ebp - 0x1c]
jmp 0x10002810
xor ecx, ecx
mov edi, 2
jmp 0x100020f1
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov edi, 5
jmp 0x100020f1
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov edi, 5
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
jmp 0x100020f1
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov edi, 5
mov dword [ebp - 0x2c], 0
jmp 0x100020f1