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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538e16
mov eax, dword fs:[0]
push eax
sub esp, 0x87c
mov eax, dword [0x58bcc0]
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]
mov dword [ebp - 0x868], eax
mov esi, 1
mov dword [ebp - 4], esi
call fcn.0041f6c1
mov eax, dword [eax + 0x10]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x85c], ebx
test ebx, ebx
je 0x410e91
mov ecx, dword [ebp + 0xc]
push 0
push 0x80000100
push 0
push 0
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], esi
mov edi, eax
xor esi, esi
cmp edi, esi
jne 0x410c03
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x410ea8
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push esi
lea edx, [ebp - 0x86c]
push edx
lea eax, [ebp - 0x50]
push eax
push 5
mov dword [ebp - 0x864], esi
mov dword [ebp - 0x860], esi
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push edi
mov dword [ebp - 0x86c], 0x20
call esi
test eax, eax
je 0x410c5a
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x860], 1
call fcn.0051453c
add esp, 4
mov dword [ebp - 0x864], eax
lea edx, [ebp - 0x874]
push edx
lea eax, [ebp - 0x870]
push eax
lea ecx, [ebp - 0x850]
push ecx
push 0x13
push edi
mov dword [ebp - 0x874], 0
mov dword [ebp - 0x870], 0x200
call esi
test eax, eax
je 0x410e91
lea edx, [ebp - 0x850]
push edx
lea ecx, [ebp - 0x854]
call fcn.00402330
lea eax, [ebp - 0x854]
push 0x569a74
push eax
mov byte [ebp - 4], 4
call fcn.004132d0
add esp, 8
test al, al
jne 0x410d08
push 0x569a7c
lea ecx, [ebp - 0x854]
call fcn.004022e0
cmp dword [eax], 0
lea ecx, [ebp - 0x854]
jne 0x410cee
push 0x569a84
call fcn.004022e0
cmp dword [eax], 0
je 0x410d08
lea ecx, [ebp - 0x854]
call fcn.004026a0
lea ecx, [ebp + 0xc]
call fcn.004026a0
lea ecx, [ebp + 0x10]
call fcn.004026a0
jmp 0x410eda
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x854]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410d2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x888]
call fcn.004281f1
xor esi, esi
push esi
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x10]
push 0x1021
push ecx
lea ecx, [ebp - 0x888]
call fcn.00428661
test eax, eax
je 0x410e25
lea edx, [ebp - 0x858]
push edx
push 0x400
lea eax, [ebp - 0x450]
push eax
push edi
mov dword [ebp - 0x858], esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x410e0e
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [ebx]
mov eax, dword [ebp - 0x858]
test eax, eax
je 0x410e39
push eax
lea ecx, [ebp - 0x450]
push ecx
lea ecx, [ebp - 0x888]
call fcn.00427f28
cmp byte [ebp + 0x14], 0
je 0x410dea
cmp dword [ebp - 0x860], 0
je 0x410dea
add esi, dword [ebp - 0x858]
xor edx, edx
mov eax, esi
imul eax, eax, 0x64
div dword [ebp - 0x864]
mov edx, dword [ebp - 0x868]
push 0
push eax
mov eax, dword [edx + 0x630]
push 0x402
push eax
call ebx
lea ecx, [ebp - 0x858]
push ecx
push 0x400
lea edx, [ebp - 0x450]
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x410d90
mov ebx, dword [ebp - 0x85c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
lea ecx, [ebp - 0x888]
call fcn.0042818c
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 1
call fcn.00428321
jmp 0x410cf3
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov eax, dword [ebp - 0x85c]
push eax
call esi
lea ecx, [ebp - 0x888]
call fcn.0042818c
mov ecx, dword [ebp - 0x868]
mov edx, dword [ecx + 0x630]
push 0
push 0
push 0x402
push edx
call ebx
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 1
call fcn.00428321
lea ecx, [ebp + 0xc]
call fcn.004026a0
lea ecx, [ebp + 0x10]
call fcn.004026a0
mov al, 1
jmp 0x410edc
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410eb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410eda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
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.00513242
mov esp, ebp
pop ebp
ret 0x10