Function at 0x47a3d8
Capabilities:
Connect to http server
Create http request
Reference http user-agent string
Send data
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffbc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1044], ebx
mov dword [ebp - 0x1040], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404a64
mov eax, dword [ebp - 8]
call fcn.00404a64
mov eax, dword [ebp - 0xc]
call fcn.00404a64
mov eax, dword [ebp + 0x2c]
call fcn.00404a64
mov eax, dword [ebp + 0x28]
call fcn.00404a64
mov eax, dword [ebp + 0x24]
call fcn.00404a64
xor eax, eax
push ebp
push 0x47aa2f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x47a9cd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0x24], 0
je 0x47a4a2
push 0
push 0
lea eax, [ebp - 0x1040]
mov ecx, dword [ebp + 0x24]
mov edx, 0x47aa48
call fcn.004048c0
mov eax, dword [ebp - 0x1040]
call fcn.00404a74
push eax
push 3
push 0x47aa50
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
jmp 0x47a4b7
push 0
push 0
push 0
push 0
push 0x47aa50
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47a4c7
call fcn.00404018
jmp 0x47a9d4
mov eax, dword [ebp - 4]
call fcn.0047a038
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x22]
push eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0047a28c
test al, al
jne 0x47a4f3
call fcn.00404018
jmp 0x47a9d4
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0047a0fc
push 0
push 0x80000000
push 3
push 0
push 0
mov ax, word [ebp - 0x22]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404a74
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x47a538
call fcn.00404018
jmp 0x47a9d4
cmp word [ebp - 0x22], 0x1bb
jne 0x47a547
mov esi, 0x84e81000
jmp 0x47a54c
mov esi, 0x6c8200
push 0
push esi
push 0
push 0
push 0x47aa5c
mov eax, dword [ebp - 0x20]
call fcn.00404a74
push eax
mov eax, dword [ebp + 0x2c]
call fcn.00404a74
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x47a586
call fcn.00404018
jmp 0x47a9d4
lea eax, [ebp - 0x28]
mov edx, 0x47aa70
call fcn.0040464c
cmp byte [ebp + 0x10], 0
je 0x47a5b3
push dword [ebp - 0x28]
push 0x47aa88
push 0x47aab0
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404934
push dword [ebp - 0x28]
push 0x47aabc
push 0x47aab0
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404934
cmp dword [ebp - 0xc], 0
je 0x47a5f0
push dword [ebp - 0x28]
push 0x47aadc
push dword [ebp - 0xc]
push 0x47aab0
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404934
push dword [ebp - 0x28]
push 0x47aaf0
push 0x47aab0
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404934
push dword [ebp - 0x28]
push 0x47ab4c
push dword [ebp - 0x1c]
push 0x47aab0
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404934
push dword [ebp - 0x28]
push 0x47ab5c
push 0x47aab0
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404934
test ebx, ebx
je 0x47a65b
push dword [ebp - 0x28]
push ebx
push 0x47aab0
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404934
mov eax, dword [ebp + 0x2c]
mov edx, 0x47ab7c
call fcn.004049c0
jne 0x47a6b7
push dword [ebp - 0x28]
push 0x47ab8c
mov eax, dword [ebp + 0x28]
call fcn.00404874
lea edx, [ebp - 0x1044]
call fcn.00408a28
push dword [ebp - 0x1044]
push 0x47aab0
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404934
push dword [ebp - 0x28]
push 0x47aba8
push 0x47aab0
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404934
cmp dword [ebp - 8], 0
je 0x47a6f1
push dword [ebp - 0x28]
push 0x47abe0
push 0x47aab0
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404934
push dword [ebp - 0x28]
push dword [ebp - 8]
push 0x47aab0
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404934
jmp 0x47a70b
push dword [ebp - 0x28]
push 0x47abe0
push 0x47aab0
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404934
cmp dword [ebp + 0x24], 0
je 0x47a72b
push dword [ebp - 0x28]
push 0x47abfc
push 0x47aab0
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404934
push 0
mov eax, dword [ebp - 0x28]
call fcn.00404874
push eax
mov eax, dword [ebp - 0x28]
call fcn.00404a74
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
test eax, eax
jne 0x47a756
call fcn.00404018
jmp 0x47a9d4
mov eax, dword [ebp + 0x2c]
mov edx, 0x47ab7c
call fcn.004049c0
jne 0x47a792
cmp dword [ebp + 0x28], 0
je 0x47a792
mov eax, dword [ebp + 0x28]
call fcn.00404874
push eax
mov eax, dword [ebp + 0x28]
call fcn.00404a74
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpSendRequestA
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x47a7a9
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpSendRequestA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x47a854
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x2f05
jne 0x47a854
mov dword [ebp - 0x3c], 4
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x1f
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetQueryOptionA
or dword [ebp - 0x38], 0x100
or dword [ebp - 0x38], 0x2000
or dword [ebp - 0x38], 0x1000
push 4
lea eax, [ebp - 0x38]
push eax
push 0x1f
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [ebp + 0x2c]
mov edx, 0x47ab7c
call fcn.004049c0
jne 0x47a83d
cmp dword [ebp + 0x28], 0
je 0x47a83d
mov eax, dword [ebp + 0x28]
call fcn.00404874
push eax
mov eax, dword [ebp + 0x28]
call fcn.00404a74
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpSendRequestA
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x47a854
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpSendRequestA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x47a862
call fcn.00404018
jmp 0x47a9d4
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0x16
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp dword [ebp - 0x30], 0
jne 0x47a8a4
push 0x1378
lea eax, [ebp - 0x2c]
mov ecx, 1
mov edx, dword [0x47a3b0]
call fcn.004058bc
add esp, 4
jmp 0x47a8c1
mov eax, dword [ebp - 0x30]
lea eax, [eax + eax*2]
push eax
lea eax, [ebp - 0x2c]
mov ecx, 1
mov edx, dword [0x47a3b0]
call fcn.004058bc
add esp, 4
xor eax, eax
push ebp
push 0x47a938
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0x16
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpQueryInfoA
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp - 0x2c]
mov edx, ebx
call fcn.004047ac
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
push 0x13
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpQueryInfoA
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x2c]
call fcn.004047ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a93f
push 0
lea eax, [ebp - 0x2c]
mov ecx, 1
mov edx, dword [0x47a3b0]
call fcn.004058bc
add esp, 4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47aa36
lea eax, [ebp - 0x1044]
mov edx, 2
call fcn.004045d8
lea eax, [ebp - 0x2c]
mov edx, dword [0x47a3b0]
call fcn.004058c8
lea eax, [ebp - 0x28]
call fcn.004045b4
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004045d8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004045d8
lea eax, [ebp + 0x24]
mov edx, 3
call fcn.004045d8
ret