Function at 0x405ab0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x408fcc
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x40f238]
xor eax, esp
mov dword [esp + 0x2d4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40f238]
xor eax, esp
push eax
lea eax, [esp + 0x2ec]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2fc]
xor esi, esi
push esi
push 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x8c], 0x22c
call fcn.00408516
lea ecx, [esp + 0x84]
mov edi, eax
push ecx
push edi
mov dword [esp + 0x34], edi
call fcn.00408510
cmp eax, 1
jne 0x405d7e
lea edx, [esp + 0x84]
push edx
push edi
call fcn.0040850a
cmp eax, 1
jne 0x405d7e
lea ebp, [esi + 0x10]
push 0xffffffffffffffff
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [0x40a234]
add esp, 0xc
lea edx, [esp + 0x2cc]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2f8], esi
call dword [sym.imp.8_8_2]
cmp dword [eax + 0x14], ebp
jb 0x405b7a
mov eax, dword [eax]
push str.explorer.exe
push eax
call dword [sym.imp.5_3_2]
add esp, 8
test eax, eax
sete bl
cmp dword [esp + 0x2e0], ebp
jb 0x405ba7
mov eax, dword [esp + 0x2cc]
push eax
call sub.5_e_1
add esp, 4
test bl, bl
je 0x405d41
mov ecx, dword [esp + 0x8c]
push ecx
push esi
push 0x1fffff
call dword [0x40a064]
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea edx, [esp + 0x1c]
push edx
mov edi, eax
push 0xf01ff
push edi
call ebx
test eax, eax
je 0x405db5
lea eax, [esp + 0x24]
push eax
push 0xf01ff
call dword [0x40a068]
push eax
call ebx
test eax, eax
je 0x405db5
push 0x44
lea ecx, [esp + 0x44]
push esi
push ecx
call sub.5_7_4
mov edx, dword [esp + 0x28]
add esp, 0xc
push esi
push edx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x24], esi
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x405db5
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
inc eax
push eax
call fcn.00407b54
mov ebx, dword [esp + 0x24]
mov esi, eax
add esp, 4
lea eax, [esp + 0x2b0]
push eax
mov ecx, ebx
call dword [sym.imp.8_8_2]
mov ecx, dword [ebx]
mov ecx, dword [ecx + 8]
cmp dword [eax + 0x14], ebp
jb 0x405c64
mov eax, dword [eax]
inc ecx
push ecx
push eax
push esi
call dword [sym.imp.5_0_3]
add esp, 0xc
cmp dword [esp + 0x2c4], ebp
jb 0x405c8a
mov edx, dword [esp + 0x2b0]
push edx
call sub.5_e_1
add esp, 4
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x44]
push ecx
push 0
push edx
push 0x430
push 0
push 0
push 0
push esi
push 0
push eax
mov dword [esp + 0x2f0], 0xf
mov dword [esp + 0x2ec], 0
mov byte [esp + 0x2dc], 0
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x405daf
push esi
call sub.5_d_1
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, 0xffffffff
je 0x405d04
push 0xffffffffffffffff
push eax
call dword [0x40a06c]
mov ecx, dword [esp + 0x30]
mov esi, dword [0x40a074]
push ecx
call esi
jmp 0x405d0a
mov esi, dword [0x40a074]
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x405d16
push eax
call esi
lea edx, [esp + 0x28]
push edx
push edi
mov dword [esp + 0x30], 1
call dword [0x40a070]
push edi
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov ecx, dword [esp + 0x24]
push ecx
call esi
mov edi, dword [esp + 0x2c]
xor esi, esi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2f4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x405d67
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x40a3a4]
add esp, 4
lea edx, [esp + 0x84]
push edx
push edi
call fcn.0040850a
cmp eax, 1
je 0x405b42
push edi
call dword [0x40a074]
mov ecx, dword [esp + 0x2ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d4]
xor ecx, esp
call fcn.00407bb2
add esp, 0x2e4
ret 4
call dword [0x40a07c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2f4], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x405d85
mov edx, dword [esp + 0x14]
push edx
call dword [0x40a3a4]
add esp, 4
jmp 0x405d85