Function at 0x430d10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x430d19
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x431035
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x10], eax
call dword [0x49d810]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x43100a
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [0x49d814]
test eax, eax
jne 0x430e40
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x84]
call fcn.004092a0
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
mov edx, 0x431050
call fcn.00404aa4
mov eax, dword [ebp - 0x80]
call fcn.00424070
xor edx, edx
mov eax, 0x431074
call fcn.00430108
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
call dword [0x49d818]
test eax, eax
jne 0x430df4
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x8c]
call fcn.004092a0
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 0x43108c
call fcn.00404aa4
mov eax, dword [ebp - 0x88]
call fcn.00424070
jmp 0x43100a
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [0x49d814]
test eax, eax
jne 0x430e40
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x94]
call fcn.004092a0
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, 0x431050
call fcn.00404aa4
mov eax, dword [ebp - 0x90]
call fcn.00424070
jmp 0x43100a
xor eax, eax
push ebp
push 0x431003
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 1
push 1
push 0
push 0xf00ff
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_DuplicateTokenEx
test eax, eax
jne 0x430e74
call fcn.00404130
jmp 0x43100a
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push 0x13
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x430e97
call fcn.00404130
jmp 0x43100a
mov esi, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.userenv.dll_CreateEnvironmentBlock
test eax, eax
jne 0x430ee3
lea eax, [ebp - 0x9c]
call fcn.00423d08
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, 0x4310b4
call fcn.00404aa4
mov eax, dword [ebp - 0x98]
call fcn.00424070
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x430fdc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
mov edx, 0x44
call fcn.00407774
lea eax, [ebp - 0x7c]
mov edx, 0x10
call fcn.00407774
mov dword [ebp - 0x6c], 0x44
mov eax, 0x4310d4
mov dword [ebp - 0x64], eax
mov word [ebp - 0x3c], di
mov dword [ebp - 0x40], 1
mov edi, 0x430
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00409a58
push ebx
push 0x4310ec
push dword [ebp - 4]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404b18
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404c58
push eax
mov eax, dword [ebp - 0x1c]
push eax
push edi
push 0
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.00404c58
push eax
push 0
push esi
call sub.advapi32.dll_CreateProcessAsUserA
test eax, eax
je 0x430f81
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x430f93
mov eax, 0x4310f8
call fcn.00424070
jmp 0x430fbf
lea eax, [ebp - 0xa4]
call fcn.00423d08
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
mov edx, 0x43112c
call fcn.00404aa4
mov eax, dword [ebp - 0xa0]
call fcn.00424070
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430fe3
cmp dword [ebp - 0x1c], 0
je 0x430fdb
mov eax, dword [ebp - 0x1c]
push eax
call sub.userenv.dll_DestroyEnvironmentBlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43103c
lea eax, [ebp - 0xa4]
mov edx, 0xa
call fcn.004047bc
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004047bc
ret