Function at 0x10002fb0
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
Resolve dns
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push esi
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov edi, edx
push 0
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
lea edx, [esp + 0x38]
push edx
dec esi
push 0x101
mov dword [ebp + 0x10], esi
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
push 0x1000c338
mov dword [esp + 0x18], ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
jne 0x10003049
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.100060c4
mov esp, ebp
pop ebp
ret
movzx ecx, word [0x1000c4c0]
mov eax, 2
push ecx
mov word [esp + 0x2c], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x2a], ax
movsx edx, word [esi + 0xa]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push edx
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.MSVCR100.dll_memcpy]
add esp, 0xc
push 0x10
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
call ebx
add eax, 0x200
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [esp + 0x1c]
push ecx
push str.gnudb.gnudb.org
mov edi, eax
push str.POST_http:___s_s_HTTP_1.0_r_nContent_Type:_application_x_www_form_urlencoded_r_nUser_Agent:_AKRip090_r_n
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push edi
call ebx
lea esi, [edi + eax]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100030d5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call ebx
add esi, eax
cmp dword [0x1000c4bc], 0
je 0x100030fc
push 0x1000c438
push str.Proxy_Authorization:_Basic__s_r_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
call ebx
add esi, eax
mov edx, dword [esp + 0x18]
push edx
call ebx
add eax, 2
push eax
push str.Content_Length:__d_r_n_r_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x24]
push eax
push esi
call dword [sym.imp.MSVCR100.dll_strcat]
push 0x1000739c
push esi
call dword [sym.imp.MSVCR100.dll_strcat]
add esp, 0x1c
push 0
push edi
call ebx
mov ecx, dword [esp + 0x18]
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [ebp + 0x10]
mov esi, dword [esp + 0x20]
push ebx
push 0
push esi
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
cmp ebx, 0x80
jl 0x1000317d
mov edx, dword [esp + 0x14]
push 0
push 0x80
push esi
push edx
call dword [sym.imp.WS2_32.dll_recv]
add dword [esp + 0x10], eax
add esi, eax
sub ebx, eax
test eax, eax
js 0x1000317d
jne 0x10003154
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1cc]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100060c4
mov esp, ebp
pop ebp
ret