Function at 0x675d20
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71fb03
mov eax, dword fs:[0]
push eax
mov eax, 0x1304
call fcn.0065d6b0
mov eax, dword [0x7b7fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1268], ecx
mov dword [ebp - 4], 0
call fcn.00676810
movzx eax, al
test eax, eax
jne 0x675d8c
mov dword [ebp - 0x12cc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00447100
mov eax, dword [ebp - 0x12cc]
jmp 0x67641f
mov ecx, dword [ebp - 0x1268]
mov edx, dword [ebp + 8]
mov dword [ecx + 0xb8], edx
mov dword [ebp - 0x12d4], 0x824
mov dword [ebp - 0x1094], 0x824
lea ecx, [ebp - 0x1090]
call fcn.00447280
mov byte [ebp - 4], 1
push 0x2000000
lea eax, [ebp - 0x1094]
push eax
lea ecx, [ebp - 0x1078]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00447060
push eax
call dword [sym.imp.SHLWAPI.dll_UrlEscapeW]
test eax, eax
je 0x675e17
mov dword [ebp - 0x12c8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1090]
call fcn.00447100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00447100
mov eax, dword [ebp - 0x12c8]
jmp 0x67641f
lea edx, [ebp - 0x1078]
push edx
lea ecx, [ebp - 0x1090]
call fcn.005494c0
mov eax, dword [str.http:__]
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x74de5c]
mov dword [ebp - 0x28], ecx
mov edx, dword [0x74de60]
mov dword [ebp - 0x24], edx
mov eax, dword [0x74de64]
mov dword [ebp - 0x20], eax
mov ecx, dword [str.www.]
mov dword [ebp - 0x1c], ecx
mov edx, dword [0x74de6c]
mov dword [ebp - 0x18], edx
mov ax, word [0x74de70]
mov word [ebp - 0x14], ax
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1090]
call fcn.00675b30
mov dword [ebp - 0x1290], eax
push 0
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x1090]
call fcn.00675b30
mov dword [ebp - 0x1288], eax
mov dword [ebp - 0x126c], 0
cmp dword [ebp - 0x1290], 0xffffffff
je 0x675f13
mov eax, dword [ebp - 0x1290]
mov dword [ebp - 0x126c], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1270], ecx
mov edx, dword [ebp - 0x1270]
add edx, 2
mov dword [ebp - 0x12c4], edx
mov eax, dword [ebp - 0x1270]
mov cx, word [eax]
mov word [ebp - 0x128a], cx
add dword [ebp - 0x1270], 2
cmp word [ebp - 0x128a], 0
jne 0x675ecc
mov edx, dword [ebp - 0x1270]
sub edx, dword [ebp - 0x12c4]
sar edx, 1
mov dword [ebp - 0x12c0], edx
mov eax, dword [ebp - 0x126c]
add eax, dword [ebp - 0x12c0]
mov dword [ebp - 0x126c], eax
cmp dword [ebp - 0x1288], 0xffffffff
je 0x675f89
mov ecx, dword [ebp - 0x126c]
cmp ecx, dword [ebp - 0x1288]
ja 0x675f89
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1274], edx
mov eax, dword [ebp - 0x1274]
add eax, 2
mov dword [ebp - 0x12bc], eax
mov ecx, dword [ebp - 0x1274]
mov dx, word [ecx]
mov word [ebp - 0x127e], dx
add dword [ebp - 0x1274], 2
cmp word [ebp - 0x127e], 0
jne 0x675f42
mov eax, dword [ebp - 0x1274]
sub eax, dword [ebp - 0x12bc]
sar eax, 1
mov dword [ebp - 0x12d0], eax
mov ecx, dword [ebp - 0x1288]
add ecx, dword [ebp - 0x12d0]
mov dword [ebp - 0x126c], ecx
mov edx, dword [ebp - 0x126c]
push edx
push 0x74de74
lea ecx, [ebp - 0x1090]
call fcn.00675b30
mov dword [ebp - 0x127c], eax
cmp dword [ebp - 0x127c], 0xffffffff
je 0x675fc5
lea ecx, [ebp - 0x1090]
call fcn.00447050
sub eax, 1
cmp dword [ebp - 0x127c], eax
jne 0x675ffd
mov dword [ebp - 0x12a0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1090]
call fcn.00447100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00447100
mov eax, dword [ebp - 0x12a0]
jmp 0x67641f
push 0xffffffffffffffff
mov eax, dword [ebp - 0x127c]
add eax, 1
push eax
lea ecx, [ebp - 0x12f8]
push ecx
lea ecx, [ebp - 0x1090]
call fcn.00446fd0
mov dword [ebp - 0x12a4], eax
mov edx, dword [ebp - 0x12a4]
push edx
mov ecx, dword [ebp - 0x1268]
add ecx, 0x40
call fcn.00447160
lea ecx, [ebp - 0x12f8]
call fcn.00447100
mov eax, dword [ebp - 0x127c]
sub eax, dword [ebp - 0x126c]
push eax
mov ecx, dword [ebp - 0x126c]
push ecx
lea edx, [ebp - 0x1310]
push edx
lea ecx, [ebp - 0x1090]
call fcn.00446fd0
mov dword [ebp - 0x12a8], eax
mov eax, dword [ebp - 0x12a8]
push eax
mov ecx, dword [ebp - 0x1268]
add ecx, 0x58
call fcn.00447160
lea ecx, [ebp - 0x1310]
call fcn.00447100
mov dword [ebp - 0x1278], 0
mov ecx, dword [ebp - 0x1268]
mov dword [ecx + 0x70], 0x50
push 0
push 0x74de78
mov ecx, dword [ebp - 0x1268]
add ecx, 0x58
call fcn.00675b30
mov dword [ebp - 0x1278], eax
cmp dword [ebp - 0x1278], 0xffffffff
je 0x67615f
mov ecx, dword [ebp - 0x1268]
add ecx, 0x58
call fcn.00447050
sub eax, 1
cmp dword [ebp - 0x1278], eax
je 0x67615f
mov ecx, dword [ebp - 0x1268]
add ecx, 0x58
call fcn.00447050
mov edx, dword [ebp - 0x1278]
add edx, 2
sub eax, edx
push eax
mov eax, dword [ebp - 0x1278]
add eax, 1
push eax
lea ecx, [ebp - 0x10d4]
push ecx
mov ecx, dword [ebp - 0x1268]
add ecx, 0x58
call fcn.00446fd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10d4]
call fcn.00447040
movzx edx, al
test edx, edx
jne 0x676150
push 0xa
push 0
lea eax, [ebp - 0x10d4]
push eax
call fcn.00676640
add esp, 0xc
mov ecx, dword [ebp - 0x1268]
mov dword [ecx + 0x70], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10d4]
call fcn.00447100
mov edx, 0x2f
mov word [ebp - 0x1280], dx
mov eax, 0x5c
mov word [ebp - 0x1282], ax
lea ecx, [ebp - 0x1280]
push ecx
lea edx, [ebp - 0x1282]
push edx
lea eax, [ebp - 0x12d8]
push eax
mov ecx, dword [ebp - 0x1268]
add ecx, 0x40
call fcn.00447070
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x12dc]
push edx
mov ecx, dword [ebp - 0x1268]
add ecx, 0x40
call fcn.00447090
mov eax, dword [eax]
push eax
call fcn.00449af0
add esp, 0x10
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1268]
add ecx, 0x58
call fcn.00447060
push eax
push 0x200
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1294], eax
push 0
mov ecx, dword [ebp - 0x1294]
add ecx, 1
push ecx
lea ecx, [ebp - 0x10ac]
call fcn.004a6380
push 0
push 0
mov edx, dword [ebp - 0x1294]
add edx, 1
push edx
push 0
lea ecx, [ebp - 0x10ac]
call fcn.00447330
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1268]
add ecx, 0x58
call fcn.00447060
push eax
push 0x200
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x12e0], eax
lea eax, [ebp - 0x1264]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea ecx, [ebp - 0x10ac]
call fcn.00441d60
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x1298], eax
cmp dword [ebp - 0x1298], 0
jne 0x6762b7
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x12ac], 0
lea ecx, [ebp - 0x10ac]
call fcn.004419f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1090]
call fcn.00447100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00447100
mov eax, dword [ebp - 0x12ac]
jmp 0x67641f
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x129c], eax
mov ecx, dword [ebp - 0x1268]
mov edx, dword [ebp - 0x129c]
mov dword [ecx + 0x74], edx
cmp dword [ebp - 0x129c], 0xffffffff
jne 0x676325
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x12b0], 2
lea ecx, [ebp - 0x10ac]
call fcn.004419f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1090]
call fcn.00447100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00447100
mov eax, dword [ebp - 0x12b0]
jmp 0x67641f
mov eax, 2
mov word [ebp - 0x10bc], ax
mov ecx, dword [ebp - 0x1298]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x10b8], ecx
mov edx, dword [ebp - 0x1268]
movzx eax, word [edx + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x10ba], ax
push 0x10
lea ecx, [ebp - 0x10bc]
push ecx
mov edx, dword [ebp - 0x1268]
mov eax, dword [edx + 0x74]
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x6763c6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp - 0x1268]
mov dword [ecx + 0xa4], eax
mov dword [ebp - 0x12b4], 2
lea ecx, [ebp - 0x10ac]
call fcn.004419f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1090]
call fcn.00447100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00447100
mov eax, dword [ebp - 0x12b4]
jmp 0x67641f
mov dword [ebp - 0x12b8], 4
lea ecx, [ebp - 0x10ac]
call fcn.004419f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1090]
call fcn.00447100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00447100
mov eax, dword [ebp - 0x12b8]
jmp 0x67641f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d40e
mov esp, ebp
pop ebp
ret 0x1c