Function at 0x411260
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 0x411559
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 0x4112c6
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
call fcn.0040352c
jmp 0x4112da
cmp dword [ebp - 8], 2
jne 0x4112da
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.0040352c
xor eax, eax
push ebp
push 0x411340
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 1
push 0x41156c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x411336
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 0x411336
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41152b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x411354
xor eax, eax
push ebp
push 0x4113e9
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 0x41136a
mov eax, dword [ebp - 0x14]
call fcn.004036f0
test eax, eax
jne 0x4113df
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41152b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4113f3
xor eax, eax
push ebp
push 0x41143b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 1
jne 0x411431
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 0x41152b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x411445
xor eax, eax
push ebp
push 0x41146c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40bac8]
call fcn.00402af4
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x411480
xor eax, eax
push ebp
push 0x4114e5
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.0040d45c
mov eax, dword [ebp - 0x10]
call fcn.0040d468
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.0040d6b8
mov eax, dword [ebp - 0x10]
call fcn.00402b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4114f7
xor eax, eax
push ebp
push 0x411521
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 0x41152b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411560
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