Function at 0x4014de
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c8
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov word [ebp - 0x14], 2
push 0x50
call sub.WSOCK32.dll_htons
mov word [ebp - 0x12], ax
push str.69.50.175.179
call sub.WSOCK32.dll_inet_addr
mov dword [0x4067c0], eax
mov ecx, dword [0x4067c0]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x5c8], 0x10
lea edx, [ebp - 0x5b8]
push edx
push 0x101
call sub.WSOCK32.dll_WSAStartup
mov dword [ebp - 0x428], eax
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c8]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call sub.WSOCK32.dll_connect
mov dword [ebp - 0x5c0], eax
cmp dword [ebp - 0x5c0], 0
je 0x401587
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov eax, 1
jmp 0x4017c9
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push str.GET__trialst.php_rest_uver_ua00000029_HTTP_1.0_r_nHost:_xxx_r_n_r_n
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, dword [ebp - 0x5c8]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.004026e0
add esp, 4
push eax
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call sub.WSOCK32.dll_sendto
mov dword [ebp - 0x24], eax
push 0x200
call fcn.00402660
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x5bc], 0
cmp dword [0x4067c8], 0
jbe 0x40161d
push 0
mov edx, dword [0x4067c8]
shr edx, 9
push edx
push 0x402
mov eax, dword [0x4067cc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x5c8]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0x200
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x5bc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call sub.WSOCK32.dll_recvfrom
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x401715
cmp dword [ebp - 0x24], 0
jge 0x40168b
mov dword [ebp - 0x24], 0
push 4
push 0x4060ec
push str.Internet_connection_loss_detected._Retry_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x40167c
jmp 0x401715
mov dword [0x4067b4], 1
jmp 0x401715
mov eax, dword [ebp - 0x5bc]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x5bc], eax
mov ecx, dword [ebp - 0x5bc]
add ecx, 0x200
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00402540
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
push 0
push 0
push 0x405
mov edx, dword [0x4067cc]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x5bc]
add eax, dword [0x4067c8]
push eax
push str._d_bytes
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x424]
push edx
mov eax, dword [0x4067d0]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [0x4067b0], 0
je 0x401710
jmp 0x401715
jmp 0x40161d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
push 0x406144
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004024c0
add esp, 8
add eax, 3
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x5bc]
sub edx, ecx
mov dword [ebp - 0x5bc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x5bc]
mov byte [ecx + edx], 0
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
xor edx, edx
mov dl, byte [eax]
cmp ecx, edx
je 0x40178b
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x40178b
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x40178b
jmp 0x4017c7
mov edx, dword [ebp - 0x5bc]
sub edx, 5
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, 1
push edx
call fcn.004014a0
add esp, 4
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
add eax, 5
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, 1
jmp 0x4017c9
xor eax, eax
jmp 0x4017c9
jmp 0x4017c3
mov esp, ebp
pop ebp
ret