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

Disassembly:
push 0x100
mov eax, 0x591a2c
call fcn.0054636d
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.005462ae
pop ecx
mov dword [ebp - 0xb0], eax
xor esi, esi
inc esi
mov dword [ebp - 4], esi
test eax, eax
je 0x415971
push edi
mov ecx, eax
call fcn.0043e4bc
jmp 0x415973
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.00412ae8
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 [0x63e564]
mov dword [ebp - 0xb4], esi
test ecx, ecx
je 0x415bdd
call fcn.00413cb9
test al, al
je 0x415bdd
call fcn.00414694
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x415bdd
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004118e7
lea eax, [edi + 0x28]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004118e7
add esp, 0x10
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.0043e7bb
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0041ef1a
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], 0x5a09a4
mov dword [eax + 4], 9
lea eax, [ebp - 0x70]
push eax
call fcn.00412e54
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
call fcn.0041efad
add esp, 0x1c
lea ecx, [ebp - 0x70]
call fcn.00406661
lea ecx, [ebp - 0x88]
call fcn.00406661
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.00406661
push 0x44
pop esi
push esi
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.0055f7f0
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 0x415b6b
lea eax, [ebp - 0x28]
push eax
call fcn.00414353
pop ecx
test al, al
je 0x415bb2
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 0x415bb2
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.00412eac
pop ecx
pop ecx
mov ecx, dword [ebx + 4]
push eax
add ecx, 0x48
call fcn.004044b0
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x415bad
call fcn.0040569b
and dword [ebx], 0
jmp 0x415bbe
mov ebx, dword [ebp - 0xac]
mov dword [ebx], 3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.00406687
lea ecx, [ebp - 0x58]
call fcn.00406687
lea ecx, [ebp - 0x28]
call fcn.00406687
mov eax, ebx
call fcn.00546317
ret