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 sub.e_2_3
lea ecx, [esp + 0x84]
mov edi, eax
push ecx
push edi
mov dword [esp + 0x34], edi
call sub.e_e_4
cmp eax, 1
jne 0x405d7e
lea edx, [esp + 0x84]
push edx
push edi
call sub.e_8_3
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 [0x40a0f4]
add esp, 8
test eax, eax
sete bl
cmp dword [esp + 0x2e0], ebp
jb 0x405ba7
mov eax, dword [esp + 0x2cc]
push eax
call fcn.00407bc2
add esp, 4
test bl, bl
je 0x405d41
mov ecx, dword [esp + 0x8c]
push ecx
push esi
push 0x1fffff
call dword [sym.imp.e_2_4]
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 [sym.imp.e__2]
push eax
call ebx
test eax, eax
je 0x405db5
push 0x44
lea ecx, [esp + 0x44]
push esi
push ecx
call fcn.00407c12
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 [0x40a0f8]
add esp, 0xc
cmp dword [esp + 0x2c4], ebp
jb 0x405c8a
mov edx, dword [esp + 0x2b0]
push edx
call fcn.00407bc2
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 fcn.00407c0c
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, 0xffffffff
je 0x405d04
push 0xffffffffffffffff
push eax
call dword [sym.imp.e__3]
mov ecx, dword [esp + 0x30]
mov esi, dword [sym.imp.e_s]
push ecx
call esi
jmp 0x405d0a
mov esi, dword [sym.imp.e_s]
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 [sym.imp.e_m]
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 sub.e_8_3
cmp eax, 1
je 0x405b42
push edi
call dword [sym.imp.e_s]
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 [sym.imp.e_0_3]
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