Function at 0x7a0d31
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6cc
mov eax, dword [0x830e54]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov dword [ebp - reloc.ws2_32.dll_WSASetLastError], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - reloc.ws2_32.dll_WSASetLastError], eax
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - reloc.ws2_32.dll_WSASetLastError], eax
mov eax, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - reloc.ws2_32.dll_WSASetLastError], eax
mov eax, dword [ebp + 0x28]
push ecx
mov dword [ebp - reloc.ws2_32.dll_WSASetLastError], ecx
mov dword [ebp - reloc.ws2_32.dll_WSASetLastError], eax
call fcn.007a0d18
add esp, 4
cmp eax, 2
je case.default.0x7a1058
mov byte [ebp - 0x3e4], 0
mov byte [ebp - 0x6b0], 0
cmp edi, 7
ja case.default.0x7a1058
lea eax, [ecx + edi*4 + 0x80]
cmp dword [eax], 1
mov dword [ebp - reloc.ws2_32.dll_WSASetLastError], eax
jne 0x7a0dd2
cmp edi, 4
je 0x7a0dcb
cmp edi, 5
jne 0x7a0dd2
xor eax, eax
jmp 0x7a1232
push 0x1e
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push edi
call fcn.007a0a51
add esp, 0xc
mov byte [ebp - 0x74], 0
test esi, esi
je 0x7a0dfd
cmp byte [esi], 0
je 0x7a0dfd
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.007c9c00
pop ecx
pop ecx
test ebx, ebx
je 0x7a0e28
cmp byte [ebx], 0
je 0x7a0e28
cmp byte [ebp - 0x74], 0
je 0x7a0e1c
lea eax, [ebp - 0x74]
push 0x7f5d14
push eax
call fcn.007c9c10
pop ecx
pop ecx
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.007c9c10
pop ecx
pop ecx
mov esi, dword [ebp - reloc.ws2_32.dll_WSASetLastError]
test esi, esi
je 0x7a0e59
cmp byte [esi], 0
je 0x7a0e59
cmp byte [ebp - 0x74], 0
je 0x7a0e4d
lea eax, [ebp - 0x74]
push 0x7f5d10
push eax
call fcn.007c9c10
pop ecx
pop ecx
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.007c9c10
pop ecx
pop ecx
mov eax, dword [ebp - reloc.ws2_32.dll_WSASetLastError]
test eax, eax
je 0x7a0ea7
cmp byte [eax], 0
je 0x7a0ea7
push 0x64
lea ecx, reloc.ws2_32.dll_WSASetLastError
push ecx
push eax
call fcn.0074444c
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007c9c00
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0x7f5d04
push eax
call fcn.007e5e9e
add esp, 0x20
jmp 0x7a0eae
mov byte [ebp - 0x1c0], 0
mov eax, dword [ebp - reloc.ws2_32.dll_WSASetLastError]
mov esi, 0x7f5cf8
test eax, eax
je 0x7a0f09
cmp byte [eax], 0
je 0x7a0f09
push 0x64
lea ecx, reloc.ws2_32.dll_WSASetLastError
push ecx
push eax
call fcn.0074444c
add esp, 0xc
cmp byte [ebp - 0x1c0], 0
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
je 0x7a0efb
push esi
push eax
call fcn.007c7760
pop ecx
lea eax, reloc.ws2_32.dll_WSASetLastError
jmp 0x7a0f00
push 0x7f5ce0
push eax
call fcn.007e5e9e
add esp, 0xc
mov ebx, dword [ebp - reloc.ws2_32.dll_WSASetLastError]
test ebx, ebx
je 0x7a0f57
cmp byte [ebx], 0
je 0x7a0f57
push 0x64
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push ebx
call fcn.0074444c
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007c9c00
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, [ebp - 0xf8]
push 0x7f5cd4
push eax
call fcn.007e5e9e
add esp, 0x20
jmp 0x7a0f5e
mov byte [ebp - 0xf8], 0
mov eax, dword [ebp - reloc.ws2_32.dll_WSASetLastError]
test eax, eax
je 0x7a0fb4
cmp byte [eax], 0
je 0x7a0fb4
push 0x64
lea ecx, reloc.ws2_32.dll_WSASetLastError
push ecx
push eax
call fcn.0074444c
add esp, 0xc
cmp byte [ebp - 0xf8], 0
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, [ebp - 0xf8]
je 0x7a0fa6
push esi
push eax
call fcn.007c7760
pop ecx
lea eax, [ebp + eax - 0xf8]
jmp 0x7a0fab
push 0x7f5cbc
push eax
call fcn.007e5e9e
add esp, 0xc
cmp dword [ebp + 0x30], 0
jl 0x7a0fe4
push dword [ebp + 0x30]
lea eax, [ebp - 0x94]
push 0x7f5cb4
push eax
call fcn.007e5e9e
push dword [ebp + 0x30]
lea eax, [ebp - 0x10]
push 0x7ec91c
push eax
call fcn.007e5e9e
add esp, 0x18
jmp 0x7a0fef
mov byte [ebp - 0x94], 0
mov byte [ebp - 0x10], 0
cmp byte [ebp - 0x10], 0
mov eax, 0x7f5cac
mov edx, eax
je 0x7a0fff
lea edx, [ebp - 0x10]
test ebx, ebx
je 0x7a100e
cmp byte [ebx], 0
lea esi, reloc.ws2_32.dll_WSASetLastError
jne 0x7a1010
mov esi, eax
mov ecx, dword [ebp - reloc.ws2_32.dll_WSASetLastError]
test ecx, ecx
je 0x7a1025
cmp byte [ecx], 0
lea ecx, reloc.ws2_32.dll_WSASetLastError
jne 0x7a1027
mov ecx, eax
cmp byte [ebp - 0x74], 0
je 0x7a1030
lea eax, [ebp - 0x74]
push edx
push esi
push ecx
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0x7f5c9c
push eax
call fcn.007e5e9e
add esp, 0x1c
cmp edi, 7
ja case.default.0x7a1058
jmp dword [edi*4 + 0x7a1241]
lea eax, [ebp - 0xf8]
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x94]
push eax
push 0x7f5c64
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007e5e9e
add esp, 0x18
jmp 0x7a114e
lea eax, [ebp - 0xf8]
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x94]
push eax
push 0x7f5c28
jmp 0x7a107d
lea eax, [ebp - 0xf8]
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x94]
push eax
push 0x7f5be8
jmp 0x7a107d
lea eax, [ebp - 0xf8]
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, [ebp - 0x74]
push eax
push 0x7f5b88
jmp 0x7a113f
lea eax, [ebp - 0x74]
push eax
push 0x7f5b58
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007e5e9e
add esp, 0xc
jmp 0x7a114e
lea eax, [ebp - 0x74]
push eax
push 0x7f5b28
jmp 0x7a10f3
lea eax, [ebp - 0xf8]
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, [ebp - 0x74]
push eax
push 0x7f5afc
jmp 0x7a113f
lea eax, [ebp - 0xf8]
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, [ebp - 0x74]
push eax
push 0x7f5acc
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007e5e9e
add esp, 0x14
mov ebx, dword [ebp - reloc.ws2_32.dll_WSASetLastError]
and dword [ebp - reloc.ws2_32.dll_WSASetLastError], 0
add edi, edi
lea esi, [ebx + edi*8]
xor edi, edi
inc edi
cmp dword [esi], edi
jne 0x7a119d
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x7a119d
cmp byte [ebp - 0x3e4], 0
je 0x7a119d
lea ecx, reloc.ws2_32.dll_WSASetLastError
push ecx
push 0x7ec8a8
push eax
call fcn.007b554d
add esp, 0xc
test eax, eax
je 0x7a119d
mov dword [ebp - reloc.ws2_32.dll_WSASetLastError], 2
cmp dword [esi + 4], edi
jne 0x7a121f
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x7a121f
cmp byte [ebp - 0x6b0], 0
je 0x7a121f
push eax
call fcn.007c7760
mov esi, eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007c7760
lea eax, [esi + eax + 5]
push eax
call fcn.0074274a
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x7a11e1
push 2
pop eax
jmp 0x7a1232
push dword [ebx + 0xa8]
push esi
call fcn.007c9c00
push 0x7ec7a8
push esi
call fcn.007c9c10
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push esi
call fcn.007c9c10
add esp, 0x18
push edi
push esi
call dword [sym.imp.kernel32.dll_WinExec]
cmp eax, 0x20
jge 0x7a121f
mov dword [ebp - reloc.ws2_32.dll_WSASetLastError], 2
mov eax, dword [ebp - reloc.ws2_32.dll_WSASetLastError]
mov dword [eax], edi
mov eax, dword [ebp - reloc.ws2_32.dll_WSASetLastError]
jmp 0x7a1232
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007c1e9d
leave
ret