Function at 0x47d160
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5f61
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x248
mov eax, dword [0x538074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], edx
mov edi, ecx
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x47d1b6
mov dword [esi], 0
call fcn.00402f40
test al, al
je 0x47d1c6
xor al, al
jmp 0x47d631
lea ecx, [ebp - 0x48]
call fcn.00403060
mov dword [ebp - 4], 0
lea edx, [ebp - 0x48]
mov ecx, edi
call fcn.0047d9b0
mov edx, edi
lea ecx, [ebp - 0xd8]
call fcn.0047c5b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd8]
call fcn.00402f50
mov edx, 0x513a44
mov ecx, eax
call fcn.00474bc0
cmp byte [ebx + 8], 0
mov byte [ebp - 0x245], al
je 0x47d25d
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.0048f2d0
mov byte [ebp - 4], 2
mov al, byte [ebp - 0x245]
mov byte [ebp - 0x245], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x18]
call fcn.004901a0
neg al
sbb al, al
and byte [ebp - 0x245], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0048f350
mov al, byte [ebp - 0x245]
test al, al
je 0x47d47a
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0x44
xor eax, eax
movlpd qword [ebp - 0x8c], xmm0
mov word [ebp - 0x4e], ax
lea ecx, [ebp - 0x30]
mov eax, 1
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x5e], xmm0
movlpd qword [ebp - 0x56], xmm0
movups xmmword [ebp - 0x208], xmm0
mov word [ebp - 0x60], ax
mov dword [ebp - 0x64], 0x81
call fcn.00403060
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00403170
mov dword [ebp - 0x250], eax
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x254], edx
cmp edx, 0x104
ja 0x47d312
cmp dword [eax + 0x14], 0x104
jae 0x47d312
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
push dword [ebp - 0x18]
mov eax, 0x104
sub eax, edx
push eax
call fcn.00404a30
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x254]
mov dword [eax + 0x10], ecx
push 0x514b1c
call fcn.00403540
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push 0x514b1c
call fcn.00403270
mov ecx, edi
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x47d33e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004046b0
push 0x514b1c
call fcn.00403540
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push 0x514b1c
call fcn.004046b0
mov ecx, dword [ebp - 0x24c]
call fcn.00402f40
test al, al
jne 0x47d3b0
push 0x5136b8
call fcn.00403540
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push 0x5136b8
call fcn.004046b0
mov ecx, dword [ebp - 0x24c]
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x47d3a4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004046b0
lea ecx, [ebp - 0x48]
call fcn.00402f40
test al, al
je 0x47d3c0
xor eax, eax
jmp 0x47d3c8
lea ecx, [ebp - 0x48]
call fcn.00402f50
lea ecx, [ebp - 0x208]
push ecx
lea ecx, [ebp - 0x90]
push ecx
push eax
push 0
push 0x30
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
call fcn.00402f50
push eax
mov ecx, edi
call fcn.00402f50
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x47d46e
mov eax, dword [ebp - 0x204]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x47d419
push eax
call edi
mov dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x208]
test eax, eax
jne 0x47d435
mov byte [ebp - 0x245], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
jmp 0x47d608
test esi, esi
je 0x47d44e
mov dword [esi], eax
mov byte [ebp - 0x245], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
jmp 0x47d608
push eax
call edi
mov dword [ebp - 0x208], 0
mov byte [ebp - 0x245], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
jmp 0x47d608
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00402fc0
push str.open
lea ecx, [ebp - 0xa8]
call fcn.00403010
mov byte [ebp - 4], 4
cmp byte [ebx + 8], 0
je 0x47d4c6
lea ecx, [ebp - 0x1f8]
call fcn.0047ae60
cmp dword [ebp - 0x1f4], 6
jb 0x47d4c6
push str.runas
call fcn.00403540
add esp, 4
lea ecx, [ebp - 0xa8]
push eax
push str.runas
call fcn.00403270
push dword [ebp - 0x24c]
lea ecx, [ebp - 0xc0]
call fcn.00403080
mov byte [ebp - 4], 5
xorps xmm0, xmm0
lea ecx, [ebp - 0xa8]
movlpd qword [ebp - 0x224], xmm0
movlpd qword [ebp - 0x21c], xmm0
movlpd qword [ebp - 0x214], xmm0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x244], 0x3c
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0x100540
call fcn.00402f50
mov ecx, edi
mov dword [ebp - 0x238], eax
call fcn.00402f50
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x234], eax
call fcn.00402f50
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x22c], eax
call fcn.00402f50
push str.Shell32.dll
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x228], 1
call fcn.00403010
mov byte [ebp - 4], 6
lea eax, [ebp - 0x30]
push eax
call fcn.00488e00
mov ecx, eax
call fcn.00488ec0
mov edi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00402fc0
test edi, edi
je 0x47d5e8
push str.ShellExecuteExW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47d5e8
lea ecx, [ebp - 0x244]
push ecx
call eax
test eax, eax
je 0x47d5e8
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x47d5e8
test esi, esi
je 0x47d5ce
mov dword [esi], eax
mov byte [ebp - 0x245], 1
jmp 0x47d5ef
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20c], 0
mov byte [ebp - 0x245], 1
jmp 0x47d5ef
mov byte [ebp - 0x245], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc0]
call fcn.00402fc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00402fc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00402fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00402fc0
mov al, byte [ebp - 0x245]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004be500
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret