Function at 0x434736
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 ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470dd6
mov eax, dword fs:[0]
push eax
mov eax, 0x2578
call fcn.00448ed0
mov eax, dword [0x49d5f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dl, byte [0x49d0fe]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x24d4], eax
mov eax, dword [0x4f0eac]
inc eax
mov dword [ebp - 0x24e0], edi
mov dword [ebp - 0x24dc], eax
mov dword [0x4f0eac], eax
test dl, dl
je 0x4347b6
cmp dword [esi + 0x14], 0x10
jb 0x4347a1
mov ecx, dword [esi]
jmp 0x4347a3
mov ecx, esi
push ecx
push eax
movzx eax, dl
push str.httpGetString_requestId_d_URL_s
push eax
call fcn.00410c9b
add esp, 0x10
lea ecx, [ebp - 0x24c4]
call fcn.0042b606
push 2
lea ecx, [ebp - 0x24c4]
call fcn.0042bc38
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0040eefc
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x4347e2
mov eax, dword [eax]
push edi
push eax
lea ecx, [ebp - 0x24c4]
call fcn.0042b515
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.0040905f
cmp dword [ebp - 0x74], 3
push edi
push edi
push edi
push edi
push 0x47da68
sete byte [ebp - 0x24c5]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x24e4], esi
mov dword [ebp - 4], edi
test esi, esi
jne 0x43482d
push str.httpGetString___InternetOpen_ERROR
call fcn.00415882
push edi
push edi
push 3
lea eax, [ebp - 0x217e]
push eax
lea eax, [ebp - 0x2280]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x2482]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
mov dword [ebp - 0x24e8], ebx
mov byte [ebp - 4], 1
test ebx, ebx
jne 0x434867
push str.httpGetString___InternetConnect_ERROR
jmp 0x434828
lea eax, [ebp - 0x207c]
push eax
lea ecx, [ebp - 0x24cc]
call fcn.0040df50
lea eax, [ebp - 0x107a]
mov byte [ebp - 4], 2
push eax
call fcn.0040e5d2
pop ecx
push eax
lea eax, [ebp - 0x107a]
push eax
lea ecx, [ebp - 0x24cc]
call fcn.0040e097
push edi
xor eax, eax
mov ecx, 0x800000
cmp byte [ebp - 0x24c5], al
cmovne eax, ecx
push eax
push edi
push 0x473c90
push str.HTTP_1.0
push dword [ebp - 0x24cc]
push 0x47dfd8
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [ebp - 0x24ec], edi
mov byte [ebp - 4], 3
test edi, edi
jne 0x4348e6
push str.httpGetString___HttpOpenRequest_ERROR
jmp 0x434828
push str.httpGetString___HttpSendRequest_ERROR
lea ecx, [ebp - 0x28]
call fcn.00403e06
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push eax
call fcn.00415830
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040900a
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 1
push 2
lea ecx, [ebp - 0x2584]
mov byte [ebp - 4], 5
call fcn.0042e4f2
mov byte [ebp - 4], 6
push 0
push 0
lea eax, [ebp - 0x24d0]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x43496f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4349ee
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43493e
mov eax, dword [ebp - 0x24d0]
test eax, eax
je 0x4349f8
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cmp eax, ecx
jae 0x43498f
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00430d1b
push str.InternetReadFile_failed
lea ecx, [ebp - 0x40]
call fcn.00403e06
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x24d8]
push eax
push dword [ebp - 0x24d0]
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
push eax
call fcn.00415830
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.0040900a
push 0
push dword [ebp - 0x24d8]
lea ecx, [ebp - 0x2584]
push dword [ebp - 0x1c]
call fcn.00416012
jmp 0x43493e
push str.httpGetString___InternetQueryDataAvailable_ERROR
jmp 0x434828
cmp byte [0x49d0fe], 0
je 0x434a48
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2584]
call fcn.0043686b
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 8
jb 0x434a1c
mov eax, dword [eax]
push eax
push dword [ebp - 0x24dc]
movzx eax, byte [0x49d0fe]
push str.httpGetString_requestId_d_returning___s_
push eax
call fcn.00410c9b
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
push 0
push 1
call fcn.0040900a
push dword [ebp - 0x24d4]
lea ecx, [ebp - 0x2584]
call fcn.0043686b
lea ecx, [ebp - 0x2584]
call fcn.0042f81a
lea ecx, [ebp - 0x1c]
call fcn.004140ad
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
mov ecx, dword [ebp - 0x24cc]
add ecx, 0xfffffff0
call fcn.0040e4ea
push ebx
call edi
push esi
call edi
mov eax, dword [ebp - 0x24d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448d6b
mov esp, ebp
pop ebp
ret