Function at 0x403b30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431241
mov eax, dword fs:[0]
push eax
sub esp, 0x8e0
mov eax, dword [0x43e25c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x870], 0
mov dword [ebp - 0x814], 0
xor eax, eax
mov word [ebp - 0x810], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x80e]
push ecx
call fcn.0040fc50
add esp, 0xc
mov dword [ebp - 0x87c], 0x420
mov dword [ebp - 0x878], 0
mov dword [ebp - 0x818], 0
mov edx, dword [ebp + 0x18]
push edx
push str.EXPLORER.EXE
call fcn.00403fa0
add esp, 8
mov dword [ebp - 0x870], eax
cmp dword [ebp - 0x870], 0
jne 0x403c2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8bc]
push eax
call fcn.00403a60
add esp, 8
mov dword [ebp - 0x8a4], eax
mov ecx, dword [ebp - 0x8a4]
mov dword [ebp - 0x88c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x88c]
call fcn.004029a0
push eax
push 0x4393fc
call fcn.004021b0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8bc]
call fcn.004027b0
xor eax, eax
jmp 0x403f7e
push 0
mov edx, dword [ebp - 0x870]
push edx
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
lea ecx, [ebp - 0x814]
push ecx
push 1
push 2
push 0
push 0x2000000
mov edx, dword [ebp - 0x870]
push edx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
cmp dword [ebp - 0x814], 0
jne 0x403cd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8d4]
push eax
call fcn.00403a60
add esp, 8
mov dword [ebp - 0x888], eax
mov ecx, dword [ebp - 0x888]
mov dword [ebp - 0x8a0], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x8a0]
call fcn.004029a0
push eax
push 0x439438
call fcn.004021b0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8d4]
call fcn.004027b0
mov edx, dword [ebp - 0x870]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x403f7e
cmp dword [ebp + 0x14], 0
je 0x403cf0
mov eax, dword [ebp - 0x87c]
or eax, 0x8000000
mov dword [ebp - 0x87c], eax
cmp dword [ebp + 8], 0
je 0x403d91
cmp dword [ebp + 0xc], 0
je 0x403d72
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x874], ecx
mov edx, dword [ebp - 0x874]
add edx, 2
mov dword [ebp - 0x894], edx
mov eax, dword [ebp - 0x874]
mov cx, word [eax]
mov word [ebp - 0x87e], cx
add dword [ebp - 0x874], 2
cmp word [ebp - 0x87e], 0
jne 0x403d18
mov edx, dword [ebp - 0x874]
sub edx, dword [ebp - 0x894]
sar edx, 1
mov dword [ebp - 0x89c], edx
je 0x403d72
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._ws__ws
push 0x800
lea edx, [ebp - 0x810]
push edx
call fcn.004037d0
add esp, 0x14
jmp 0x403d8f
mov eax, dword [ebp + 8]
push eax
push 0x43948c
push 0x800
lea ecx, [ebp - 0x810]
push ecx
call fcn.004037d0
add esp, 0x10
jmp 0x403da6
mov edx, dword [ebp + 0xc]
push edx
push 0x800
lea eax, [ebp - 0x810]
push eax
call fcn.00405c10
push 0x44
push 0
lea ecx, [ebp - 0x86c]
push ecx
call fcn.0040fc50
add esp, 0xc
mov dword [ebp - 0x86c], 0x44
mov dword [ebp - 0x864], str.winsta0default
lea edx, [ebp - 0x828]
push edx
lea eax, [ebp - 0x86c]
push eax
push 0
mov ecx, dword [ebp - 0x818]
push ecx
mov edx, dword [ebp - 0x87c]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x810]
push eax
push 0
mov ecx, dword [ebp - 0x814]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x878], eax
cmp dword [ebp - 0x818], 0
je 0x403e23
mov edx, dword [ebp - 0x818]
push edx
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp dword [ebp - 0x878], 0
jne 0x403eb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8ec]
push eax
call fcn.00403a60
add esp, 8
mov dword [ebp - 0x898], eax
mov ecx, dword [ebp - 0x898]
mov dword [ebp - 0x890], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x890]
call fcn.004029a0
push eax
push 0x4394b4
call fcn.004021b0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8ec]
call fcn.004027b0
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov edx, dword [ebp - 0x814]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x870]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x403f7e
cmp dword [ebp + 0x10], 0
jne 0x403efb
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov ecx, dword [ebp - 0x814]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x870]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x828]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x824]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x403f7e
push 0x186a0
mov edx, dword [ebp - 0x828]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x884], eax
cmp dword [ebp - 0x884], 0
jne 0x403f28
mov dword [ebp - 0x878], 1
jmp 0x403f3e
cmp dword [ebp - 0x884], 0x102
jne 0x403f3e
mov dword [ebp - 0x878], 0
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x870]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x828]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x878]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406523
mov esp, ebp
pop ebp
ret