Function at 0x47d3ec
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x47d3f5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404b3c
xor eax, eax
push ebp
push 0x47d616
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebx + 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp + 0xc]
call fcn.0040468c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0047d67c
mov esi, 0x84000000
mov eax, dword [ebp - 0x14]
mov edx, 0x47d634
call fcn.00404a98
jne 0x47d465
mov esi, 0x80f000
cmp byte [ebx + 0xc], 0
jne 0x47d471
or esi, 0x200000
push 0
push 0
push 3
push 0x47d63c
push 0x47d63c
mov ax, word [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404b4c
push eax
mov eax, dword [ebx + 0x18]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x10], eax
push 0
push esi
push 0
push 0x47d63c
push 0x47d640
mov eax, dword [ebp - 0x1c]
call fcn.00404b4c
push eax
push 0x47d64c
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0xc], eax
push 4
lea eax, [ebx + 0x10]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebx + 0x10]
push eax
push 5
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebx + 0x10]
push eax
push 6
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
lea eax, [ebp - 0x20]
call fcn.0040468c
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x47d570
inc eax
mov dword [ebp - 0x2c], eax
xor esi, esi
lea ecx, [ebp - 0x24]
mov edx, esi
mov eax, edi
call fcn.00417b90
push dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
mov edx, esi
mov eax, edi
call fcn.00417018
push dword [ebp - 0x30]
push 0x47d65c
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.0047de48
push dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404a0c
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp esi, eax
jge 0x47d56a
lea eax, [ebp - 0x20]
mov edx, 0x47d668
call fcn.00404954
inc esi
dec dword [ebp - 0x2c]
jne 0x47d511
mov eax, dword [ebp - 0x20]
call fcn.0040494c
mov edx, dword [ebx + 4]
mov dword [edx + 0x2c], eax
mov ecx, 0x47d674
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0047d818
xor eax, eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404b4c
push eax
push 0
push 0x47d63c
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
jne 0x47d5c0
call sub.kernel32.dll_GetLastError_1
mov dword [ebx + 0x14], eax
jmp 0x47d5e6
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0047dc60
mov byte [ebp - 5], al
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d61d
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004046b0
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.004046b0
lea eax, [ebp - 4]
call fcn.0040468c
ret