Function at 0x4a6808
Capabilities:
Create process on windows

Disassembly:
push 0xc0
mov eax, 0x5e3592
call fcn.004c281e
mov esi, edx
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x40]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ecx]
push 6
push edx
call dword [eax + 0x58]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
jb 0x4a683d
mov eax, dword [eax]
push 0x2001f
push eax
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x64]
call fcn.00423920
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00405040
cmp dword [esi + 0x14], 8
jb 0x4a6866
mov eax, dword [esi]
jmp 0x4a6868
mov eax, esi
push 0x61ed04
push eax
lea ecx, [ebp - 0x64]
call fcn.00423ec0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004239e0
push esi
lea ecx, [ebp - 0x58]
call fcn.00405150
mov dword [ebp - 4], 3
cmp dword [edi + 0x10], 0
je 0x4a68c3
push edi
mov edx, 0x61fd88
lea ecx, [ebp - 0x40]
call fcn.0040a990
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.004066d0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00405040
push 0x44
pop edi
push edi
lea eax, [ebp - 0xcc]
push ebx
push eax
call fcn.0050b8e0
mov dword [ebp - 0xcc], edi
xor eax, eax
lea edi, [ebp - 0x88]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x61fedc
push edi
call fcn.00401af0
add esp, 0x10
mov ecx, esi
push eax
push 0xffffffffffffffff
push edi
call fcn.0041b260
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x28]
push ebx
mov edi, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
call fcn.004059c0
mov byte [ebp - 4], 5
cmp edi, 0xffffffff
je 0x4a6949
lea eax, [edi + 1]
mov ecx, esi
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.00418dd0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00405080
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00405040
cmp dword [ebp - 0x18], 0
jne 0x4a6953
mov ecx, ebx
jmp 0x4a695e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x88]
push edx
lea edx, [ebp - 0xcc]
push edx
push ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4a69e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xf
mov edx, 0x61a3bc
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0046b36e
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 7
call fcn.004a80a6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x78]
push ebx
push esi
push 3
push ebx
xor esi, esi
mov byte [ebp - 4], 8
mov edx, dword [ecx]
inc esi
push esi
push esi
push esi
push esi
push eax
call dword [edx]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00405040
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.00405040
jmp 0x4a69fc
push dword [ebp - 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x84]
call esi
mov bl, 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00405040
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405040
mov al, bl
call fcn.004c27c8
ret