Function at 0x4193d0
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4792d6
mov eax, dword fs:[0]
push eax
mov eax, 0x1260
call fcn.0045c740
mov eax, dword [0x4eec64]
xor eax, esp
mov dword [esp + 0x1258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x1274]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1284]
mov eax, dword [eax]
mov ebx, dword [esp + 0x1288]
mov ebp, dword [esp + 0x128c]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
je 0x419439
lea edi, [eax + 4]
jmp 0x41943b
xor edi, edi
mov dword [esp + 0x2c], ecx
lea esi, [esp + 0x2c]
mov dword [esp + 0x127c], ecx
call fcn.0043cdd0
mov eax, esi
push eax
call fcn.0043ceb0
xor edx, edx
mov ecx, 0x1bb
mov dword [esp + 0x127c], 1
cmp word [esp + 0x48], cx
push 0
setne dl
push 0
push 0
push 0
push 0x48d670
dec edx
and edx, 0x800000
mov esi, edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, eax
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x4194df
mov dword [esp + 0x127c], 0xffffffff
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4194d5
mov eax, dword [ecx]
and eax, 0xff
cmp eax, 0x80
jae 0x4194c8
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [esp + 0x2c]
and eax, 0xff
test eax, eax
jne 0x4194d5
push ecx
call fcn.00402770
add esp, 4
mov eax, 4
jmp 0x419642
movzx eax, word [esp + 0x48]
push 0
push 0
push 3
push 0
push 0
push eax
lea eax, [esp + 0x184]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
je 0x419497
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
call fcn.00418ca0
mov eax, dword [eax]
test eax, eax
je 0x419521
add eax, 4
jmp 0x419523
xor eax, eax
push 0
push esi
push 0x4f0a38
push 0
push 0
push eax
push ebp
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [esp + 0x18]
mov esi, eax
test ecx, ecx
je 0x419575
mov eax, dword [ecx]
and eax, 0xff
cmp eax, 0x80
jae 0x419560
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [esp + 0x18]
and eax, 0xff
test eax, eax
jne 0x41956d
push ecx
call fcn.00402770
add esp, 4
mov dword [esp + 0x18], 0
test esi, esi
jne 0x419597
lea esi, [esp + 0x2c]
mov dword [esp + 0x127c], 0xffffffff
call fcn.004044b0
mov eax, 4
jmp 0x419642
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4195af
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4195a4
sub eax, edx
jmp 0x4195b1
xor eax, eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
push ecx
push edx
push eax
push edi
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov edi, eax
neg edi
sbb edi, edi
neg edi
sub edi, 1
mov dword [esp + 0x14], 0
jne 0x419615
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x419615
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x419615
mov ebx, dword [esp + 0x1c]
push 0
push eax
mov ecx, ebx
call fcn.0041a060
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov ecx, dword [esp + 0x24]
push ecx
call esi
lea esi, [esp + 0x2c]
mov dword [esp + 0x127c], 0xffffffff
call fcn.004044b0
mov eax, edi
mov ecx, dword [esp + 0x1274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1258]
xor ecx, esp
call fcn.0045c0ce
add esp, 0x126c
ret