Function at 0x76b35192
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
mov eax, ebx
mov dword [ebp - 0x10], edx
mov byte [ebp - 1], dl
sub eax, edx
je 0x76b351ed
sub eax, 1
je 0x76b351ed
sub eax, 1
je 0x76b351ed
sub eax, 1
je 0x76b351ed
sub eax, 1
je 0x76b351e9
call sym.msvcrt.dll___doserrno
xor ebx, ebx
mov dword [eax], ebx
call sym.msvcrt.dll__errno
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [eax], 0x16
call sym.msvcrt.dll__invalid_parameter
add esp, 0x14
or eax, 0xffffffff
jmp 0x76b353f3
mov byte [ebp - 1], 1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
cmp word [eax], dx
je 0x76b3521d
add eax, 2
mov ecx, eax
cmp word [eax], dx
jne 0x76b351f8
xor ebx, ebx
cmp word [ecx + 2], bx
je 0x76b35213
push 0x20
pop eax
mov word [ecx], ax
lea eax, [ecx + 2]
xor edx, edx
cmp word [eax], dx
jne 0x76b351f8
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x44
pop esi
push esi
push edx
lea eax, [ebp - 0x6c]
push eax
call sym.msvcrt.dll_memset
mov dword [ebp - 0x6c], esi
add esp, 0xc
mov esi, dword [0x76babb64]
test esi, esi
je 0x76b35263
lea edi, [esi - 1]
mov eax, edi
mov edx, edi
and eax, 0x1f
sar edx, 5
imul ecx, eax, 0x24
mov eax, dword [edx*4 + sym.msvcrt.dll___pioinfo]
cmp byte [eax + ecx + 4], 0
jne 0x76b35261
dec edi
sub esi, 1
jne 0x76b35240
test esi, esi
js 0x76b353e3
cmp esi, 0x3332
jae 0x76b353e3
imul eax, esi, 5
push 1
add eax, 4
mov word [ebp - 0x3a], ax
movzx eax, ax
push eax
call fcn.76b38729
mov dword [ebp - 0x38], eax
pop ecx
pop ecx
test eax, eax
je 0x76b353e3
mov dword [eax], esi
or edi, 0xffffffff
mov eax, dword [ebp - 0x38]
lea ecx, [eax + 4]
mov dword [ebp - 0xc], ecx
lea ecx, [eax + 4]
add ecx, esi
mov dword [ebp - 8], ecx
xor ecx, ecx
mov edx, ecx
test esi, esi
jle 0x76b352f9
mov ebx, dword [ebp - 0xc]
mov eax, edx
mov ecx, edx
and eax, 0x1f
shr ecx, 5
imul eax, eax, 0x24
add eax, dword [ecx*4 + sym.msvcrt.dll___pioinfo]
mov cl, byte [eax + 4]
test cl, 0x10
jne 0x76b352da
mov byte [ebx], cl
mov eax, dword [eax]
jmp 0x76b352e0
xor eax, eax
mov byte [ebx], al
mov eax, edi
mov ecx, dword [ebp - 8]
inc edx
inc ebx
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 8], ecx
cmp edx, esi
jl 0x76b352b8
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov ebx, dword [ebp + 8]
cmp byte [ebp - 1], 0
je 0x76b3532c
lea edx, [eax + 4]
add eax, 4
add eax, esi
mov dword [ebp - 8], esi
cmp esi, 3
jl 0x76b35316
mov dword [ebp - 8], 3
cmp ecx, dword [ebp - 8]
jge 0x76b35327
mov byte [edx], 0
inc ecx
mov dword [eax], edi
inc edx
add eax, 4
jmp 0x76b35307
push 8
pop esi
jmp 0x76b3532f
mov esi, dword [ebp - 0x10]
call sym.msvcrt.dll___doserrno
xor ecx, ecx
or esi, 0x400
mov dword [eax], ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push ecx
push dword [ebp + 0x14]
push esi
push 1
push ecx
push ecx
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
mov esi, eax
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
call sym.msvcrt.dll_free
pop ecx
test esi, esi
jne 0x76b3537e
push dword [ebp - 0x14]
call fcn.76b262a9
pop ecx
jmp 0x76b353df
cmp ebx, 2
je 0x76b353f6
test ebx, ebx
jne 0x76b353bf
push edi
push dword [ebp - 0x28]
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
test eax, eax
je 0x76b353a7
mov edi, dword [ebp - 0x18]
jmp 0x76b353b4
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
call fcn.76b262a9
pop ecx
push dword [ebp - 0x28]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x76b353d6
cmp ebx, 4
jne 0x76b353d3
push dword [ebp - 0x28]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
xor eax, eax
mov edi, eax
jmp 0x76b353d6
mov edi, dword [ebp - 0x28]
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, edi
jmp 0x76b353f1
call sym.msvcrt.dll__errno
mov dword [eax], 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
push eax
call sym.msvcrt.dll__exit
int3