Function at 0x41350f
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push pe_nt_image_headers32
mov eax, 0x45a52b
call fcn.0042193e
and dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xb8], ebx
and dword [ebp - 0xb4], 0
push 0x50
mov dword [ebp - 0xac], ebx
call fcn.004215e5
pop ecx
mov dword [ebp - 0xb0], eax
xor esi, esi
inc esi
mov dword [ebp - 4], esi
test eax, eax
je 0x41355d
push edi
mov ecx, eax
call fcn.00410684
jmp 0x41355f
xor eax, eax
push dword [ebp - 0xb8]
and dword [ebp - 0xa8], 0
lea ecx, [ebp - 0xa8]
and dword [ebp - 0xa4], 0
push eax
mov byte [ebp - 4], 0
call fcn.00410c1f
mov eax, dword [ebp - 0xa8]
mov dword [ebx], 4
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebx + 8], eax
and dword [ebp - 4], 0
mov ecx, dword [0x477c68]
mov dword [ebp - 0xb4], esi
test ecx, ecx
je 0x4137c9
call fcn.00411a2a
test al, al
je 0x4137c9
call fcn.004123d0
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x4137c9
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040fb09
lea eax, [edi + 0x28]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040fb09
add esp, 0x10
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00410949
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00414b84
pop ecx
pop ecx
push 5
pop ebx
push esi
push eax
push ecx
push ecx
mov eax, esp
mov byte [ebp - 4], bl
mov dword [eax], str._0__1
mov dword [eax + 4], 9
lea eax, [ebp - 0x70]
push eax
call fcn.00410dbc
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
call fcn.00414c17
add esp, 0x1c
lea ecx, [ebp - 0x70]
call fcn.00404235
lea ecx, [ebp - 0x88]
call fcn.00404235
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.00404235
push 0x44
pop esi
push esi
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.0043ad90
add esp, 0xc
mov dword [ebp - 0x10c], esi
test byte [edi + 0xc], 1
lea edi, [ebp - 0xc8]
mov dword [ebp - 0x104], str.winsta0default
mov dword [ebp - 0xe0], 1
push 0
pop eax
cmovne ebx, eax
stosd dword es:[edi], eax
mov word [ebp - 0xdc], bx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 8
pop ebx
cmp dword [ebp - 0x44], ebx
lea edx, [ebp - 0x58]
lea esi, [ebp - 0xc8]
stosd dword es:[edi], eax
cmovae edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], ebx
push esi
cmovae eax, dword [ebp - 0x28]
lea esi, [ebp - 0x10c]
push esi
mov esi, dword [ebp - 0xb0]
push edx
xor edx, edx
push edx
push edx
push ecx
push eax
push edx
push esi
call edi
test eax, eax
jne 0x413757
lea eax, [ebp - 0x28]
push eax
call fcn.004120c4
pop ecx
test al, al
je 0x41379e
cmp dword [ebp - 0x44], ebx
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x58]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x2c], ebx
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], ebx
lea ebx, [ebp - 0xc8]
push ebx
cmovae eax, dword [ebp - 0x28]
lea ebx, [ebp - 0x10c]
push ebx
push edx
xor edx, edx
push edx
push edx
push ecx
push eax
push edx
push esi
call edi
test eax, eax
je 0x41379e
mov ebx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebx + 4]
mov dword [ecx + 0x40], eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00410e14
pop ecx
pop ecx
mov ecx, dword [ebx + 4]
push eax
add ecx, 0x48
call fcn.00411421
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x413799
call fcn.00405d5f
and dword [ebx], 0
jmp 0x4137aa
mov ebx, dword [ebp - 0xac]
mov dword [ebx], 3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.0040425b
lea ecx, [ebp - 0x58]
call fcn.0040425b
lea ecx, [ebp - 0x28]
call fcn.0040425b
mov eax, ebx
call fcn.004218e8
ret