Function at 0x10001da0
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 [0x10004028], 8
jne 0x100023e0
test esi, esi
je 0x10002365
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10001ed2
mov dword [ebp - 0x18], 0
xor ebx, ebx
mov edx, esi
jmp 0x10001e78
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 [0x10004028]
cmove edi, eax
mov eax, dword [edx + 0x24]
and ecx, 8
mov eax, dword [eax + esi + 4]
cmp eax, 2
je 0x100022c0
ja 0x10002290
test eax, eax
je 0x10002310
test cl, cl
jne 0x10002470
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]
add ebx, 1
cmp dword [edx + 0x20], ebx
jbe 0x10001ed0
mov eax, dword [edx + 0x24]
test eax, eax
je 0x10002358
lea esi, [ebx + ebx*2]
shl esi, 3
mov edi, dword [eax + esi + 0xc]
test edi, edi
jne 0x10001df8
test byte [0x10004028], 1
je 0x10001e70
mov dword [esp + 0xc], str.Name_resolution_and_entry_identifiers_not_supported_n
add ebx, 1
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004028
mov dword [esp], 0
mov dword [ebp + 0x10], edx
call fcn.10001d40
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x20], ebx
ja 0x10001e78
mov esi, edx
mov edx, dword [esi + 0x28]
test edx, edx
je 0x10001f60
movzx eax, byte [0x10004028]
test al, 1
jne 0x10002519
xor ebx, ebx
jmp 0x10001eff
add ebx, 1
cmp dword [esi + 0x28], ebx
jbe 0x10001f60
movzx eax, byte [0x10004028]
test al, 1
je 0x10001ef0
mov eax, dword [esi + 0x2c]
lea edi, [ebx + ebx*2]
add ebx, 1
shl edi, 3
mov eax, dword [eax + edi + 0x10]
call fcn.10001a20
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + edi + 0xc]
call fcn.10001a20
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.MAPISendMail
mov dword [esp + 4], 0x10004028
mov dword [esp], 0
call fcn.10001d40
cmp dword [esi + 0x28], ebx
ja 0x10001ef8
lea esi, [esi]
nop
mov eax, dword [esi + 4]
test eax, eax
je 0x100027c0
lea ecx, [ebp - 0x11]
mov edx, ecx
mov dword [ebp - 0x28], ecx
call fcn.100018e0
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], edx
test eax, eax
je 0x10001f90
call fcn.100018e0
mov dword [ebp - 0x24], eax
test byte [0x10004028], 8
jne 0x10002690
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 0x100025c0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0
test eax, eax
jne 0x10002607
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0
test edi, edi
jne 0x1000264e
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10002003
test byte [0x10004028], 8
jne 0x100027d0
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x100020c0
mov dword [ebp - 0x44], 0
xor ebx, ebx
mov edx, esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
jmp 0x10002041
cmp eax, 1
je 0x100023b0
add ebx, 1
cmp dword [edx + 0x20], ebx
jbe 0x100020c0
mov eax, dword [edx + 0x24]
lea esi, [ebx + ebx*2]
shl esi, 3
mov edi, dword [eax + esi + 0xc]
test edi, edi
je 0x10002039
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 0x10002380
cmp eax, 3
jne 0x10002030
mov ecx, dword [ebp - 0x44]
test ecx, ecx
jne 0x100025a0
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x10], edx
add ebx, 1
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcat]
mov edx, dword [ebp + 0x10]
add dword [ebp - 0x44], 1
cmp dword [edx + 0x20], ebx
ja 0x10002041
lea esi, [esi]
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0
lea eax, [eax + ebx + 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 ebx, dword fs:[0x18]
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 0x10002860
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov eax, 0x10006157
lea esi, [ebp - 0x10]
mov dword [esp + 4], 0x100062a0
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 fcn.10001c90
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 0x10002708
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 0x10002256
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 eax, 3
jne 0x100022f0
test cl, cl
jne 0x100024b0
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 0x10001e70
test cl, cl
jne 0x10002430
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 0x10001e70
test cl, cl
je 0x10001e70
mov dword [ebp + 0x10], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unknown_recipient_class:__ld_n
jmp 0x1000232e
test cl, cl
je 0x10001e70
mov eax, edi
mov dword [ebp + 0x10], edx
call fcn.10001a20
mov dword [esp + 0xc], str.From:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004028
mov dword [esp], 3
call fcn.10001d40
mov edx, dword [ebp + 0x10]
jmp 0x10001e70
test byte [0x10004028], 4
jne 0x100024f0
mov edi, 2
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x40]
test ecx, ecx
jne 0x10002580
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]
add dword [ebp - 0x40], 1
mov edx, dword [ebp + 0x10]
jmp 0x10002039
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x10002560
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]
add dword [ebp - 0x3c], 1
mov edx, dword [ebp + 0x10]
jmp 0x10002039
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], 0x10004028
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp], 3
mov dword [esp + 0x10], eax
call fcn.10001d40
jmp 0x10001dbd
mov eax, edi
mov dword [ebp + 0x10], edx
call fcn.10001a20
mov dword [esp + 0xc], str.Cc:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004028
mov dword [esp], 3
call fcn.10001d40
mov edx, dword [ebp + 0x10]
jmp 0x100022c8
mov eax, edi
mov dword [ebp + 0x10], edx
call fcn.10001a20
mov dword [esp + 0xc], str.To:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004028
mov dword [esp], 3
call fcn.10001d40
mov edx, dword [ebp + 0x10]
jmp 0x10001e51
mov eax, edi
mov dword [ebp + 0x10], edx
call fcn.10001a20
mov dword [esp + 0xc], str.Bcc:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004028
mov dword [esp], 3
call fcn.10001d40
mov edx, dword [ebp + 0x10]
jmp 0x1000229d
mov dword [esp + 0xc], str.No_recipients_found_n
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004028
mov dword [esp], 2
call fcn.10001d40
jmp 0x10002365
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Ignoring__lu_attachments:_n
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004028
mov dword [esp], 0
call fcn.10001d40
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10001f60
movzx eax, byte [0x10004028]
jmp 0x10001eec
mov esi, dword [ebp - 0x34]
mov dword [esp], esi
call sub.ucrtbase.dll_strlen
mov edx, 0x2c
mov word [esi + eax], dx
mov edx, dword [ebp + 0x10]
jmp 0x100023bb
mov esi, dword [ebp - 0x30]
mov dword [ebp + 0x10], edx
mov dword [esp], esi
call sub.ucrtbase.dll_strlen
mov edx, 0x2c
mov word [esi + eax], dx
mov edx, dword [ebp + 0x10]
jmp 0x1000238b
mov esi, dword [ebp - 0x2c]
mov dword [ebp + 0x10], edx
mov dword [esp], esi
call sub.ucrtbase.dll_strlen
mov edx, 0x2c
mov word [esi + eax], dx
mov edx, dword [ebp + 0x10]
jmp 0x1000209b
mov ebx, dword [ebp - 0x18]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ebx
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 0x1000283f
mov byte [eax], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0
test eax, eax
je 0x10001fdd
mov ebx, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ebx
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 0x1000286c
mov edi, dword [ebp - 0x20]
mov byte [eax], 0
mov dword [ebp - 0x2c], 0
test edi, edi
je 0x10001fef
mov ebx, dword [ebp - 0x20]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ebx
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 0x10002886
mov byte [eax], 0
jmp 0x10001fef
mov eax, dword [ebp - 0x38]
call fcn.10001a20
mov dword [esp + 0xc], str.Subject:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004028
mov dword [esp], 3
call fcn.10001d40
test byte [0x10004028], 8
je 0x10001f9d
mov eax, dword [ebp - 0x24]
call fcn.10001a20
mov dword [esp + 0xc], str.Body:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004028
mov dword [esp], 3
call fcn.10001d40
jmp 0x10001f9d
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 0x10002191
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 0x10002191
test byte [0x10004028], 8
jne 0x10002805
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 0x10002191
lea eax, [ebp - 0x11]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], eax
jmp 0x10001f7b
mov eax, dword [eax + 0xc]
call fcn.10001a20
mov dword [esp + 0xc], str.From:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MAPISendMail
mov dword [esp + 4], 0x10004028
mov dword [esp], 3
call fcn.10001d40
jmp 0x10002003
mov eax, ecx
mov dword [ebp - 0x1c], ecx
call fcn.10001a20
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], 0x10004028
mov dword [esp], 3
call fcn.10001d40
mov ecx, dword [ebp - 0x1c]
jmp 0x1000276c
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov edi, 5
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
jmp 0x10002191
xor ecx, ecx
mov edi, 2
jmp 0x10002191
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov edi, 5
mov dword [ebp - 0x2c], 0
jmp 0x10002191
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov edi, 5
jmp 0x10002191