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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 0x20]
lea esi, [ebp - 0x424]
xor eax, eax
push ebp
push 0x4113d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00403494
mov eax, dword [ebp - 0xc]
call fcn.00403494
cmp dword [ebp - 8], 1
jne 0x41113e
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
call fcn.0040352c
jmp 0x411152
cmp dword [ebp - 8], 2
jne 0x411152
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.0040352c
xor eax, eax
push ebp
push 0x4111b8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 1
push 0x4113e4
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4111ae
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.004038b4
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4111ae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4113a3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4111cc
xor eax, eax
push ebp
push 0x411261
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00403494
mov eax, esi
xor ecx, ecx
mov edx, 0x400
call fcn.00402888
push ebx
push 0x400
push esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetReadFile
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, esi
mov ecx, 0x400
call fcn.0040357c
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebx]
mov edx, 1
call fcn.004038f8
mov edx, dword [ebp - 0x428]
lea eax, [ebp - 0x14]
call fcn.004036f8
cmp dword [ebx], 0
jne 0x4111e2
mov eax, dword [ebp - 0x14]
call fcn.004036f0
test eax, eax
jne 0x411257
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4113a3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41126b
xor eax, eax
push ebp
push 0x4112b3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 1
jne 0x4112a9
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.004034e8
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4113a3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4112bd
xor eax, eax
push ebp
push 0x4112e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40b9a8]
call fcn.00402af4
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4112f8
xor eax, eax
push ebp
push 0x41135d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.004036f0
mov edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx]
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0040d33c
mov eax, dword [ebp - 0x10]
call fcn.0040d348
push eax
lea eax, [ebp - 0x14]
call fcn.004038c0
mov edx, eax
mov eax, dword [ebp - 0x10]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp - 0x10]
call fcn.0040d598
mov eax, dword [ebp - 0x10]
call fcn.00402b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41136f
xor eax, eax
push ebp
push 0x411399
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4113a3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4113d8
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.004034b8
lea eax, [ebp - 0x24]
call fcn.00403494
lea eax, [ebp - 0x14]
call fcn.00403494
ret