Function at 0x42d8c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2fd3
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x50e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], ebx
sub esp, 0x1c
mov byte [ebp - 4], 1
mov dword [ebp - 0x12c], esp
mov ecx, esp
push 0xc
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.explorer.exe
lea esi, [ebp - 0x13c]
mov byte [ecx], bl
call fcn.00405360
call fcn.0042d160
mov esi, dword [ebp - 0x13c]
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 0x1c
cmp esi, dword [ebp - 0x138]
jne 0x42d96d
cmp esi, ebx
je 0x42db1b
jmp 0x42db15
mov eax, dword [esi]
push eax
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
je 0x42db15
lea ecx, [ebp - 0x11c]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42db15
mov ecx, dword [ebp - 0x11c]
lea edx, [ebp - 0x12c]
push edx
push 4
lea eax, [ebp - 0x128]
push eax
push 0x13
push ecx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x12c], ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x42d9dc
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x118], edx
jmp 0x42da02
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push eax
push 1
push 1
push ebx
push 0xf01ff
push ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x42db15
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x42db15
push 0x44
lea edx, [ebp - 0x190]
push ebx
push edx
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x118]
add esp, 0xc
xor eax, eax
push ebx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
push ecx
lea edx, [ebp - 0x120]
mov eax, 5
push edx
mov dword [ebp - 0x190], 0x44
mov dword [ebp - 0x188], str.WinSta0Default
mov word [ebp - 0x160], ax
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x120], ebx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x42db15
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov byte [ebp - 0x114], bl
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x1c], 0x10
jae 0x42dab5
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x120]
lea edx, [ebp - 0x14c]
push edx
lea eax, [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x118]
push ebx
push ecx
push 0x430
push ebx
push ebx
push ebx
lea edx, [ebp - 0x114]
push edx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x42db15
mov eax, dword [ebp - 0x120]
cmp eax, ebx
je 0x42db0b
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov dword [ebp - 0x124], 1
push esi
call edi
add esp, 4
mov eax, dword [ebp - 0x118]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x42db33
cmp eax, 0xffffffff
je 0x42db33
push eax
call esi
mov eax, dword [ebp - 0x11c]
cmp eax, ebx
je 0x42db45
cmp eax, 0xffffffff
je 0x42db45
push eax
call esi
cmp dword [ebp + 0x1c], 0x10
jb 0x42db54
mov ecx, dword [ebp + 8]
push ecx
call edi
add esp, 4
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a665a
mov esp, ebp
pop ebp
ret