Function at 0x4010a0
Capabilities:
Create process on windows
Create process suspended
Impersonate user
Read .ini file

Disassembly:
mov eax, 0x1300
call fcn.00402490
push ebx
push ebp
mov ebp, dword [esp + 0x130c]
push esi
push edi
push ebp
lea eax, [esp + 0xd8]
xor esi, esi
push str.Process_d
push eax
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0x40e1c0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 1
mov word [esp + 0x50], si
mov word [esp + 0x52], si
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.00402433
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x348]
lea edx, [esp + 0xd4]
push 0x40d1cc
push 0x1f4
push ecx
push 0x40e1c0
push str.CommandLine
push edx
call ebx
lea edi, [esp + 0x348]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jbe 0x4014da
push 0x40d1cc
lea eax, [esp + 0x544]
push 0x1f4
push eax
push 0x40e1c0
lea ecx, [esp + 0xe4]
push str.WorkingDir
push ecx
call ebx
push 0x40d1cc
lea edx, [esp + 0x73c]
push 0x1f4
push edx
push 0x40e1c0
lea eax, [esp + 0xe4]
push str.UserName
push eax
call ebx
push 0x40d1cc
lea ecx, [esp + 0xb2c]
push 0x1f4
push ecx
push 0x40e1c0
lea edx, [esp + 0xe4]
push str.Password
push edx
call ebx
push 0x40d1cc
lea eax, [esp + 0xd24]
push 0x1f4
push eax
push 0x40e1c0
lea ecx, [esp + 0xe4]
push str.Domain
push ecx
call ebx
lea edi, [esp + 0x738]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40122c
lea edi, [esp + 0xb28]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40122c
mov edi, 1
jmp 0x40122e
xor edi, edi
push 0x40d1cc
lea edx, [esp + 0xf1c]
push 0x1f4
push edx
push 0x40a128
lea eax, [esp + 0xe4]
push str.UserInterface
push eax
call ebx
cmp edi, esi
jne 0x401317
mov al, byte [esp + 0xf18]
cmp al, 0x79
je 0x401273
cmp al, 0x59
je 0x401273
cmp al, 0x31
jne 0x401317
mov word [esp + 0x44], 5
mov dword [esp + 0x1c], esi
shl ebp, 4
add ebp, 0x40d9d0
lea ecx, [esp + 0x14]
push ebp
push ecx
lea edi, [esp + 0x548]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x548]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x350]
neg ecx
sbb ecx, ecx
and ecx, edx
push ecx
push esi
push 0x20
push 1
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401444
push 0x40d1cc
lea ecx, [esp + 0x934]
push 0x1f4
push ecx
push 0x40a114
lea edx, [esp + 0xe4]
push str.PauseStart
push edx
call ebx
lea eax, [esp + 0x930]
push eax
call fcn.00402428
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1300
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1110]
push ecx
push 0x104
push edx
push 2
push eax
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
cmp edi, esi
mov word [esp + 0x44], si
jne 0x401358
lea eax, [esp + 0x1110]
mov dword [esp + 0x1c], eax
jmp 0x40127e
lea edi, [esp + 0xd20]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], 0x40e1c0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], esi
mov eax, 0x40a104
je 0x401383
lea eax, [esp + 0xd20]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xb28]
push ecx
push esi
push 5
push edx
push eax
lea eax, [esp + 0x74c]
push eax
call dword [sym.imp.ADVAPI32.dll_LogonUserA]
test eax, eax
je 0x4014a9
shl ebp, 4
add ebp, 0x40d9d0
lea ecx, [esp + 0x14]
push ebp
push ecx
lea edi, [esp + 0x548]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x548]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x350]
neg ecx
sbb ecx, ecx
and ecx, edx
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push 0x20
push 1
push esi
push esi
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x401469
push 0x40d1cc
lea edx, [esp + 0x934]
push 0x1f4
push edx
push 0x40a114
lea eax, [esp + 0xe4]
push str.PauseStart
push eax
call ebx
lea ecx, [esp + 0x930]
push ecx
call fcn.00402428
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1300
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x348]
push eax
push ecx
lea edx, [esp + 0x60]
push str.Failed_to_start_program__s__error_code___d
push edx
call fcn.00402433
lea eax, [esp + 0x68]
push eax
jmp 0x4014d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x73c]
lea eax, [esp + 0x34c]
push edx
push eax
lea ecx, [esp + 0x64]
push str.Failed_to_start_program__s_as_user__s__error_code___d
push ecx
call fcn.00402433
lea edx, [esp + 0x6c]
push edx
call fcn.00401000
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1300
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x73c]
push eax
lea ecx, [esp + 0x2d4]
push str.Failed_to_logon_as_user__s__error_code___d
push ecx
call fcn.00402433
lea edx, [esp + 0x2dc]
push edx
call fcn.00401000
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1300
ret