Function at 0x4a6878
Capabilities:
Create process on windows

Disassembly:
push 0xc0
mov eax, 0x5e35a2
call fcn.004c2889
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 0x4a68ad
mov eax, dword [eax]
push 0x2001f
push eax
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x64]
call fcn.00423900
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00405040
cmp dword [esi + 0x14], 8
jb 0x4a68d6
mov eax, dword [esi]
jmp 0x4a68d8
mov eax, esi
push 0x61ed1c
push eax
lea ecx, [ebp - 0x64]
call fcn.00423ea0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004239c0
push esi
lea ecx, [ebp - 0x58]
call fcn.00405150
mov dword [ebp - 4], 3
cmp dword [edi + 0x10], 0
je 0x4a6933
push edi
mov edx, 0x61fd74
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.0050b930
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, 0x61fec8
push edi
call fcn.00401af0
add esp, 0x10
mov ecx, esi
push eax
push 0xffffffffffffffff
push edi
call fcn.0041b250
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 0x4a69b9
lea eax, [edi + 1]
mov ecx, esi
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.00418dc0
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 0x4a69c3
mov ecx, ebx
jmp 0x4a69ce
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 0x4a6a54
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xf
mov edx, 0x61a3d4
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0046b3e0
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 7
call fcn.004a8116
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 0x4a6a6c
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.004c2833
ret