Function at 0x6295c8
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 8], 0
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 2], al
mov cl, byte [ebp - 2]
mov byte [ebp - 0x71], cl
mov edx, dword [ebp + 8]
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 4
ja case.default.0x6295aa
mov eax, dword [ebp - 0x94]
jmp dword [eax*4 + 0x62997c]
mov byte [ebp - 0x71], 1
jmp 0x629660
jmp 0x629660
mov byte [ebp - 2], 1
jmp 0x629660
mov byte [ebp - 1], 1
jmp 0x629660
call fcn.005ff600
mov dword [eax], 0
xor ecx, ecx
je 0x6295ec
mov dword [ebp - 0x98], 1
jmp 0x6295f6
mov dword [ebp - 0x98], 0
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x90], 0
jne 0x629629
push str.__invalid_mode___0_
push 0
push 0x56
push str.f:dd_vctoolscrt_bld_self_x86crt_srcdospawn.c
push 2
call fcn.005f3d20
add esp, 0x14
cmp eax, 1
jne 0x629629
int3
cmp dword [ebp - 0x90], 0
jne 0x629660
call fcn.005ff5d0
mov dword [eax], 0x16
push 0
push 0x56
push str.f:dd_vctoolscrt_bld_self_x86crt_srcdospawn.c
push str._dospawn
push str.__invalid_mode___0_
call fcn.005f5140
add esp, 0x14
or eax, 0xffffffff
jmp 0x629977
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp + 0x10]
movsx eax, byte [edx]
test eax, eax
je 0x6296a1
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx]
test edx, edx
je 0x629685
mov eax, dword [ebp + 0x10]
add eax, 1
mov dword [ebp + 0x10], eax
jmp 0x629670
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx + 1]
test edx, edx
je 0x62969f
mov eax, dword [ebp + 0x10]
mov byte [eax], 0x20
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
jmp 0x629666
push 0x44
push 0
lea edx, [ebp - 0x50]
push edx
call fcn.005ff630
add esp, 0xc
mov dword [ebp - 0x50], 0x44
mov eax, dword [0x6c5ca0]
mov dword [ebp - 0x7c], eax
jmp 0x6296cb
mov ecx, dword [ebp - 0x7c]
sub ecx, 1
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x7c], 0
je 0x6296f8
mov edx, dword [ebp - 0x7c]
sub edx, 1
sar edx, 5
mov eax, dword [ebp - 0x7c]
sub eax, 1
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x6c5cc0]
movsx edx, byte [ecx + eax + 4]
test edx, edx
jne 0x6296f8
jmp 0x6296c2
cmp dword [ebp - 0x7c], 0
jl 0x629707
cmp dword [ebp - 0x7c], 0x3332
jb 0x62971a
call fcn.005ff5d0
mov dword [eax], 0xc
or eax, 0xffffffff
jmp 0x629977
mov eax, dword [ebp - 0x7c]
imul eax, eax, 5
add eax, 4
mov word [ebp - 0x1e], ax
push 0x7d
push 0x668eb0
push 2
push 1
movzx ecx, word [ebp - 0x1e]
push ecx
call fcn.005f1d40
add esp, 0x14
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x62975b
call fcn.005ff5d0
mov dword [eax], 0xc
or eax, 0xffffffff
jmp 0x629977
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x7c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 4
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx + 4]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x54], 0
jmp 0x6297a6
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x80]
add eax, 1
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 4
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x7c]
jge 0x629810
mov eax, dword [ebp - 0x54]
sar eax, 5
mov ecx, dword [ebp - 0x54]
and ecx, 0x1f
shl ecx, 6
add ecx, dword [eax*4 + 0x6c5cc0]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
movsx eax, byte [edx + 4]
and eax, 0x10
jne 0x6297f9
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x88]
mov al, byte [edx + 4]
mov byte [ecx], al
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
mov eax, dword [edx]
mov dword [ecx], eax
jmp 0x62980b
mov ecx, dword [ebp - 0x80]
mov byte [ecx], 0
mov edx, dword [ebp - 0x8c]
mov dword [edx], 0xffffffff
jmp 0x629785
movsx eax, byte [ebp - 1]
test eax, eax
je 0x6298a2
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 4
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx + 4]
mov dword [ebp - 0x8c], ecx
jmp 0x62985f
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x80]
add eax, 1
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 4
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x7c], 3
jge 0x629870
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x9c], edx
jmp 0x62987a
mov dword [ebp - 0x9c], 3
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x9c]
jge 0x629899
mov ecx, dword [ebp - 0x80]
mov byte [ecx], 0
mov edx, dword [ebp - 0x8c]
mov dword [edx], 0xffffffff
jmp 0x62983e
mov eax, dword [ebp - 8]
or eax, 8
mov dword [ebp - 8], eax
call fcn.005ff600
mov dword [eax], 0
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x70], eax
push 2
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005f2520
add esp, 8
cmp dword [ebp - 0x84], 0
jne 0x62990a
mov edx, dword [ebp - 0x70]
push edx
call fcn.005ff520
add esp, 4
or eax, 0xffffffff
jmp 0x629977
cmp dword [ebp + 8], 2
jne 0x629919
push 0
call fcn.005f9070
jmp 0x62996a
cmp dword [ebp + 8], 0
jne 0x62994b
push 0xffffffffffffffff
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x62996a
cmp dword [ebp + 8], 4
jne 0x629964
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x68], 0
jmp 0x62996a
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x68]
mov esp, ebp
pop ebp
ret