Function at 0x46b850
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 0x4a64ab
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x240
mov eax, dword [0x4c7008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x24c], esi
mov edi, ecx
cmp dword [edi + 0x10], 0
jne 0x46b8a8
xor al, al
jmp 0x46bee2
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x48]
mov ecx, edi
call fcn.00467ae0
mov edx, edi
lea ecx, [ebp - 0x90]
call fcn.0046c690
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
cmp dword [ebp - 0x7c], 8
mov edx, 0x4b1b60
cmovae ecx, dword [ebp - 0x90]
call fcn.0046a6e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x245], al
mov dword [ebp - 0x30], 0
call fcn.0047cc00
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x30]
call fcn.0047ded0
neg al
sbb al, al
and byte [ebp - 0x245], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0047cc80
cmp byte [ebp - 0x245], 0
je 0x46bba9
xor eax, eax
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov word [ebp - 0x96], ax
mov eax, 1
mov dword [ebp - 0x18], 0
mov word [ebp - 0xa8], ax
xor eax, eax
movlpd qword [ebp - 0xd4], xmm0
movlpd qword [ebp - 0xcc], xmm0
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xa6], xmm0
movlpd qword [ebp - 0x9e], xmm0
movups xmmword [ebp - 0x208], xmm0
mov dword [ebp - 0xd8], 0x44
mov dword [ebp - 0xac], 0x81
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x30], al
mov eax, 0x104
push dword [ebp - 0x30]
sub eax, esi
push eax
call fcn.00406cf0
push 1
push 0x4b1754
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
call fcn.004027a0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x46ba14
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00406960
push 1
push 0x4b1754
lea ecx, [ebp - 0x2c]
call fcn.00406960
mov esi, dword [ebp - 0x24c]
cmp dword [esi + 0x10], 0
je 0x46ba60
push 1
push 0x4ac0dc
lea ecx, [ebp - 0x2c]
call fcn.00406960
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x46ba54
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00406960
cmp dword [ebp - 0x38], 0
jne 0x46ba6a
xor eax, eax
jmp 0x46ba75
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edx, edi
cmovae ecx, dword [ebp - 0x2c]
cmp dword [edi + 0x14], 8
jb 0x46ba8a
mov edx, dword [edi]
lea esi, [ebp - 0x208]
push esi
lea esi, [ebp - 0xd8]
push esi
push eax
push 0
push 0x30
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [ebp - 0x24c]
test eax, eax
je 0x46bb55
mov eax, dword [ebp - 0x204]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x46bad6
push eax
call esi
mov dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x208]
test eax, eax
jne 0x46bae8
mov byte [ebp - 0x245], al
jmp 0x46bafc
push eax
call esi
mov dword [ebp - 0x208], 0
mov byte [ebp - 0x245], 1
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x46bb3c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46bb32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46bb32
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x46be2b
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x46bb95
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46bb8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46bb8b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push 4
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x60]
push str.open
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.004027a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f8]
call fcn.0046cc00
cmp dword [ebp - 0x1f4], 6
jb 0x46bc01
push 5
push str.runas
lea ecx, [ebp - 0x60]
call fcn.004027a0
push esi
lea ecx, [ebp - 0x78]
call fcn.00404380
mov byte [ebp - 4], 5
xorps xmm0, xmm0
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
movlpd qword [ebp - 0x224], xmm0
cmovae eax, dword [ebp - 0x60]
cmp dword [edi + 0x14], 8
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
mov dword [ebp - 0x238], eax
jb 0x46bc6a
mov edi, dword [edi]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0xb
cmovae eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x64], 8
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
mov dword [ebp - 0x230], eax
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push str.Shell32.dll
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004027a0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
push eax
call fcn.0046e190
mov ecx, eax
call fcn.0046e250
mov esi, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x46bd23
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46bd19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46bd19
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
test esi, esi
je 0x46bd7c
push str.ShellExecuteExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46bd7c
lea ecx, [ebp - 0x244]
push ecx
call eax
test eax, eax
je 0x46bd7c
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x46bd7c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20c], 0
mov byte [ebp - 0x245], 1
jmp 0x46bd83
mov byte [ebp - 0x245], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x46bdc3
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46bdb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46bdb9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x46be17
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46be0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46be0d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x46be6e
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46be64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46be64
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x46bec8
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46bebe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46bebe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
mov al, byte [ebp - 0x245]
mov dword [ebp - 0x34], 7
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.004991a3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret