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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4c
call fcn.004797b8
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x13
rep stosd dword es:[edi], eax
push 0x4a02bb
mov ebx, dword [ebp + 0x24]
push dword [ebx]
call fcn.004017fc
add esp, 8
cmp eax, 0
jne 0x42230a
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4a0d06
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4222a8
mov eax, 0x4a02bb
push eax
push 4
mov ebx, 0x14c
call fcn.0047c700
add esp, 0x34
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4222d8
mov eax, 0x4a02bb
push eax
push 2
mov ebx, 0x134
call fcn.0047bf10
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x422304
push ebx
call fcn.004797a6
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x44
cmp dword [ebp + 0x1c], 1
jne 0x42234b
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov word [ebx], 0
jmp 0x422436
cmp dword [ebp + 0x1c], 3
jne 0x42237d
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov word [ebx], 2
jmp 0x422436
cmp dword [ebp + 0x1c], 4
jne 0x4223af
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov word [ebx], 3
jmp 0x422436
cmp dword [ebp + 0x1c], 5
jne 0x4223e1
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov word [ebx], 4
jmp 0x422436
cmp dword [ebp + 0x1c], 6
jne 0x422413
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov word [ebx], 6
jmp 0x422436
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov word [ebx], 1
push dword [ebp + 8]
call fcn.004200df
mov dword [ebp - 8], eax
push dword [ebp + 0x24]
call fcn.004200df
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov eax, dword [ebp - 4]
push eax
push 0x48
call fcn.004797b8
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push dword [ebp - 0xc]
push 0
push 0
push 0
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x422579
push 0x44f
push 0x40211dd
push 6
call fcn.004797ac
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.004797a6
add esp, 4
pop eax
cmp dword [ebp + 0x14], 0
je 0x4226b6
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
cmp dword [ebp + 0x38], 0
mov eax, 0
sete al
test eax, eax
je 0x42267a
mov eax, 0xffffffff
jmp 0x42267d
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4226b1
push 0x4c6
push 0x40211dd
push 6
call fcn.004797ac
add esp, 0xc
jmp 0x4226f1
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
push 0x3e8
mov ebx, dword [ebp - 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4226f1
push 0x4f3
push 0x40211dd
push 6
call fcn.004797ac
add esp, 0xc
cmp dword [ebp + 0x30], 0
jne 0x42276a
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp - 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x422731
push 0x54e
push 0x40211dd
push 6
call fcn.004797ac
add esp, 0xc
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp - 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x42276a
push 0x571
push 0x40211dd
push 6
call fcn.004797ac
add esp, 0xc
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
jmp 0x42277f
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.004797a6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x34