Function at 0x427e22
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
call fcn.00428387
mov eax, 0x4c4960
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00429684
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x427e5b
push ebx
call fcn.004b0a7b
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x427e6e
mov eax, 0x4c3252
push eax
push 1
mov ebx, 0x168
call fcn.004b1690
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x427e94
push ebx
call fcn.004b0a7b
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x427ea8
push ebx
call fcn.004b0a7b
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, 0x4c4972
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00429684
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x427ed0
push ebx
call fcn.004b0a7b
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x427ee3
mov eax, 0x4c3252
push eax
push 1
mov ebx, 0x168
call fcn.004b1690
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x427f09
push ebx
call fcn.004b0a7b
add esp, 4
push dword [ebp - 4]
push dword [ebp - 0x10]
mov ecx, 2
call fcn.00401f24
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x427f2f
push ebx
call fcn.004b0a7b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x427f42
mov eax, 0x4c320b
push eax
push 1
mov ebx, 0x24c
call fcn.004b4460
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x427f68
push ebx
call fcn.004b0a7b
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x428122
mov eax, 0x4c498b
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00429684
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x427f96
push ebx
call fcn.004b0a7b
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x427fa9
mov eax, 0x4c3252
push eax
push 1
mov ebx, 0x168
call fcn.004b1690
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x427fcf
push ebx
call fcn.004b0a7b
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x427fe3
push ebx
call fcn.004b0a7b
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, 0x4c4972
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00429684
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42800b
push ebx
call fcn.004b0a7b
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x42801e
mov eax, 0x4c3252
push eax
push 1
mov ebx, 0x168
call fcn.004b1690
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x428044
push ebx
call fcn.004b0a7b
add esp, 4
push dword [ebp - 4]
push dword [ebp - 0x10]
mov ecx, 2
call fcn.00401f24
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42806a
push ebx
call fcn.004b0a7b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42807d
mov eax, 0x4c320b
push eax
push 1
mov ebx, 0x24c
call fcn.004b4460
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4280a3
push ebx
call fcn.004b0a7b
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x428122
mov eax, 0x4c499d
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00429684
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4280d1
push ebx
call fcn.004b0a7b
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4280e4
mov eax, 0x4c3252
push eax
push 1
mov ebx, 0x168
call fcn.004b1690
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42810a
push ebx
call fcn.004b0a7b
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42811e
push ebx
call fcn.004b0a7b
add esp, 4
pop eax
mov dword [ebp - 4], eax
call fcn.004299ab
mov dword [0x5267e1], eax
push dword [ebp + 0x20]
push dword [0x5267e1]
call fcn.00429c22
cmp dword [0x5267e1], 0
jne 0x4281fa
mov eax, 0x4c49af
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00429684
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42816b
push ebx
call fcn.004b0a7b
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x42817e
mov eax, 0x4c3252
push eax
push 1
mov ebx, 0x168
call fcn.004b1690
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4281a4
push ebx
call fcn.004b0a7b
add esp, 4
mov ebx, 6
call fcn.00403c23
push 0x80000301
push 0
push 0x10
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4281cd
mov eax, 0x4c320b
push eax
push 4
mov ebx, 0x300
call fcn.004b2260
add esp, 0x34
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4281f0
push ebx
call fcn.004b0a7b
add esp, 4
push 0
call fcn.004b0a5d
add esp, 4
mov dword [ebp - 8], esp
mov eax, 0x4c49c3
test eax, eax
je 0x428209
add eax, 8
push eax
push dword [0x5267e1]
xor eax, eax
call dword [0x526a45]
nop
nop
cmp dword [ebp - 8], esp
je 0x428236
push 0x412
push 0x402c2d6
push 6
call fcn.004b0a81
add esp, 0xc
mov eax, 0x4c4972
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00429684
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42825a
push ebx
call fcn.004b0a7b
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x42826d
mov eax, 0x4c3252
push eax
push 1
mov ebx, 0x168
call fcn.004b1690
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x428293
push ebx
call fcn.004b0a7b
add esp, 4
push dword [ebp - 4]
push dword [ebp - 0x10]
mov ecx, 2
call fcn.00401f24
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4282b9
push ebx
call fcn.004b0a7b
add esp, 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x1c]
push dword [0x5267e1]
call fcn.00429c67
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4282db
push ebx
call fcn.004b0a7b
add esp, 4
push reloc.WS2_32.dll_getsockname
push 0
push 0x429fc5
push 1
mov ebx, 0x9dc
call fcn.004b2860
add esp, 0x10
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getsockname
push 0
push dword [ebp + 0x18]
push 1
mov ebx, 0x9dc
call fcn.004b2860
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
mov eax, 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x428365
push 0x508
push 0x402c2d6
push 6
call fcn.004b0a81
add esp, 0xc
mov eax, dword [0x5267e1]
jmp 0x42836f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x428380
push ebx
call fcn.004b0a7b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c