Function at 0x100036c4
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x478
mov eax, 0x100eee9a
call fcn.100deb00
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x484], esi
mov edi, 0x3ff
push edi
xor ebx, ebx
lea eax, [ebp - 0x40f]
inc ebx
push esi
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 0x410], 0
call fcn.100ab9a0
mov ecx, dword [ebp - 0x474]
add esp, 0xc
mov dword [ebp - 0x478], ebx
call fcn.10002d18
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x484], ebx
call fcn.1000315c
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 2
call fcn.1000315c
push esi
push esi
push esi
push ebx
push str.interall
mov byte [ebp - 4], 3
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x480], eax
cmp eax, esi
jne 0x100037bc
push 3
lea eax, [ebp - 0x470]
push 0xffffffffffffffff
push eax
call fcn.1008b390
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 4
call fcn.1000304d
push esi
push ebx
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 3
call fcn.100031be
lea ecx, [ebp - 0x470]
call fcn.10002740
lea ecx, [ebp - 0x450]
call fcn.10082ce0
push eax
lea eax, [ebp - 0x430]
push str.InternetOpenA_failed__s
push eax
call fcn.10086430
add esp, 0xc
jmp 0x100038bc
cmp dword [ebp + 0x24], 0x10
mov ecx, dword [ebp + 0x10]
jae 0x100037c8
lea ecx, [ebp + 0x10]
push esi
push 0x4000000
push esi
push esi
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x47c], eax
cmp eax, esi
jne 0x1000384c
push 3
lea eax, [ebp - 0x470]
push 0xffffffffffffffff
push eax
call fcn.1008b390
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 5
call fcn.1000304d
push esi
push ebx
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 3
call fcn.100031be
lea ecx, [ebp - 0x470]
call fcn.10002740
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x450]
call fcn.10082ce0
push eax
lea eax, [ebp - 0x430]
push str.InternetOpenUrlA_failed__s
push eax
call fcn.10086430
add esp, 0xc
jmp 0x1000389e
push 0x400
lea eax, [ebp - 0x410]
push esi
push eax
call fcn.100ab9a0
add esp, 0xc
lea eax, [ebp - 0x478]
push eax
push edi
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0x478], esi
je 0x1000389e
mov ecx, dword [ebp - 0x474]
lea eax, [ebp - 0x410]
push eax
call fcn.10002600
cmp dword [ebp - 0x478], esi
jne 0x1000384c
push dword [ebp - 0x480]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
cmp dword [ebp - 0x47c], esi
je 0x100038bc
push dword [ebp - 0x47c]
call edi
push str.CHttp::Get_
push ebx
push dword [0x101466d8]
call fcn.10081400
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp dword [ebp + 0x24], 0x10
jae 0x100038dc
lea eax, [ebp + 0x10]
push eax
push str._url:__s_
push ebx
push dword [0x101466d8]
call fcn.100814a0
add esp, 0x10
lea ecx, [ebp - 0x430]
call fcn.100825c0
test al, al
je 0x10003928
mov edi, dword [ebp - 0x474]
cmp dword [edi + 0x18], 0x10
jb 0x10003911
mov eax, dword [edi + 4]
jmp 0x10003914
lea eax, [edi + 4]
push eax
push str._result:_s
push ebx
push dword [0x101466d8]
call fcn.100814a0
jmp 0x10003955
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
jae 0x1000393d
lea eax, [ebp - 0x42c]
push eax
push 0x1012afc4
push ebx
push dword [0x101466d8]
call fcn.10081400
mov edi, dword [ebp - 0x474]
add esp, 0x10
push 0x1012afd8
push ebx
push dword [0x101466d8]
call fcn.10081400
add esp, 0xc
push esi
push ebx
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 2
call fcn.100031be
lea ecx, [ebp - 0x450]
call fcn.10002740
push esi
push ebx
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], bl
call fcn.100031be
lea ecx, [ebp - 0x430]
call fcn.10002740
push esi
push ebx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.100015c0
lea ecx, [ebp + 0xc]
call fcn.10002740
mov eax, edi
call fcn.100deb60
ret 0x24