Function at 0x42a670
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46712b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x483008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x240], esi
mov edi, ecx
cmp dword [edi + 0x10], 0
jne 0x42a6b4
xor al, al
jmp 0x42acee
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.00432420
mov edx, edi
lea ecx, [ebp - 0x8c]
call fcn.00429830
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
mov edx, 0x471b3c
cmovae ecx, dword [ebp - 0x8c]
call fcn.00423e90
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x239], al
mov dword [ebp - 0x2c], 0
call fcn.00436150
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004372b0
neg al
sbb al, al
and byte [ebp - 0x239], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004361d0
cmp byte [ebp - 0x239], 0
je 0x42a9b5
xor eax, eax
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov word [ebp - 0x8e], ax
mov eax, 1
mov dword [ebp - 0x14], 0
mov word [ebp - 0xa0], ax
xor eax, eax
movlpd qword [ebp - 0xcc], xmm0
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0x9e], xmm0
movlpd qword [ebp - 0x96], xmm0
movups xmmword [ebp - 0x1fc], xmm0
mov dword [ebp - 0xd0], 0x44
mov dword [ebp - 0xa4], 0x81
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov byte [ebp - 0x2c], al
mov eax, 0x104
push dword [ebp - 0x2c]
sub eax, esi
push eax
call fcn.0040ab60
push 1
push 0x471ae4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
call fcn.00405840
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42a820
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040a050
push 1
push 0x471ae4
lea ecx, [ebp - 0x28]
call fcn.0040a050
mov esi, dword [ebp - 0x240]
cmp dword [esi + 0x10], 0
je 0x42a86c
push 1
push 0x471ae8
lea ecx, [ebp - 0x28]
call fcn.0040a050
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42a860
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040a050
cmp dword [ebp - 0x34], 0
jne 0x42a876
xor eax, eax
jmp 0x42a881
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edx, edi
cmovae ecx, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
jb 0x42a896
mov edx, dword [edi]
lea esi, [ebp - 0x1fc]
push esi
lea esi, [ebp - 0xd0]
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 - 0x240]
test eax, eax
je 0x42a961
mov eax, dword [ebp - 0x1f8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42a8e2
push eax
call esi
mov dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x1fc]
test eax, eax
jne 0x42a8f4
mov byte [ebp - 0x239], al
jmp 0x42a908
push eax
call esi
mov dword [ebp - 0x1fc], 0
mov byte [ebp - 0x239], 1
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42a948
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a93e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42a93e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045e524
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x42ac37
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42a9a1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a997
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42a997
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045e524
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 4
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x5c]
push str.open
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.00405840
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ec]
call fcn.0042ada0
cmp dword [ebp - 0x1e8], 6
jb 0x42aa0d
push 5
push str.runas
lea ecx, [ebp - 0x5c]
call fcn.00405840
push esi
lea ecx, [ebp - 0x74]
call fcn.00406900
mov byte [ebp - 4], 5
xorps xmm0, xmm0
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
movlpd qword [ebp - 0x218], xmm0
cmovae eax, dword [ebp - 0x5c]
cmp dword [edi + 0x14], 8
movlpd qword [ebp - 0x210], xmm0
movlpd qword [ebp - 0x208], xmm0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x238], 0x3c
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x234], 0x100540
mov dword [ebp - 0x22c], eax
jb 0x42aa76
mov edi, dword [edi]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0xb
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
mov dword [ebp - 0x224], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.Shell32.dll
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00405840
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push eax
call fcn.0043e4a0
mov ecx, eax
call fcn.0043e560
mov esi, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42ab2f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ab25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42ab25
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045e524
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x42ab88
push str.ShellExecuteExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42ab88
lea ecx, [ebp - 0x238]
push ecx
call eax
test eax, eax
je 0x42ab88
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x42ab88
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x200], 0
mov byte [ebp - 0x239], 1
jmp 0x42ab8f
mov byte [ebp - 0x239], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x42abcf
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42abc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42abc5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045e524
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x42ac23
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ac19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42ac19
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045e524
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x42ac7a
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ac70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42ac70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045e524
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x42acd4
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42acca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42acca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0045e524
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov al, byte [ebp - 0x239]
mov dword [ebp - 0x30], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045e155
mov esp, ebp
pop ebp
ret