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

Disassembly:
push 0x100
mov eax, 0x58c13e
call fcn.00540b26
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.00540a67
pop ecx
mov dword [ebp - 0xb0], eax
xor esi, esi
inc esi
mov dword [ebp - 4], esi
test eax, eax
je 0x4154e7
push edi
mov ecx, eax
call fcn.0043a9d2
jmp 0x4154e9
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.00412690
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 [0x6361e4]
mov dword [ebp - 0xb4], esi
test ecx, ecx
je 0x415753
call fcn.00413850
test al, al
je 0x415753
call fcn.0041420a
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x415753
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00411490
lea eax, [edi + 0x28]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00411490
add esp, 0x10
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.0043acd1
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0041ea15
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], 0x5998b4
mov dword [eax + 4], 9
lea eax, [ebp - 0x70]
push eax
call fcn.004129fc
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
call fcn.0041eaa8
add esp, 0x1c
lea ecx, [ebp - 0x70]
call fcn.00406511
lea ecx, [ebp - 0x88]
call fcn.00406511
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.00406511
push 0x44
pop esi
push esi
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.00559fa0
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 0x4156e1
lea eax, [ebp - 0x28]
push eax
call fcn.00413eea
pop ecx
test al, al
je 0x415728
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 0x415728
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.00412a54
pop ecx
pop ecx
mov ecx, dword [ebx + 4]
push eax
add ecx, 0x48
call fcn.00404360
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x415723
call fcn.0040554b
and dword [ebx], 0
jmp 0x415734
mov ebx, dword [ebp - 0xac]
mov dword [ebx], 3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.00406537
lea ecx, [ebp - 0x58]
call fcn.00406537
lea ecx, [ebp - 0x28]
call fcn.00406537
mov eax, ebx
call fcn.00540ad0
ret