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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538ee6
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.0041f7a2
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
jne 0x410c11
mov byte [ebp - 4], al
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410be4
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 0x410c0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x410fa8
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 0x410c82
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
jg 0x410c55
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 0x410c0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x410fa8
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 0x410cd9
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x860], 1
call fcn.005145fc
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 0x410daf
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.00413390
add esp, 8
test al, al
jne 0x410d89
push 0x569a7c
lea ecx, [ebp - 0x854]
call fcn.004022e0
cmp dword [eax], 0
lea ecx, [ebp - 0x854]
jne 0x410d6d
push 0x569a84
call fcn.004022e0
cmp dword [eax], 0
je 0x410d89
lea ecx, [ebp - 0x854]
call fcn.004026a0
lea ecx, [ebp + 0xc]
call fcn.004026a0
lea ecx, [ebp + 0x10]
call fcn.004026a0
xor al, al
jmp 0x410fa8
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 0x410daf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x888]
call fcn.004282d2
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.00428742
test eax, eax
jne 0x410e3c
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 1
call fcn.00428402
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
jg 0x410e0b
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 0x410c0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x410fa8
lea ecx, [ebp - 0x858]
push ecx
push 0x400
lea edx, [ebp - 0x450]
push edx
push edi
mov dword [ebp - 0x858], esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x410eee
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [ebx]
mov eax, dword [ebp - 0x858]
test eax, eax
je 0x410f19
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x888]
call fcn.00428009
cmp byte [ebp + 0x14], 0
je 0x410eca
cmp dword [ebp - 0x860], 0
je 0x410eca
add esi, dword [ebp - 0x858]
xor edx, edx
mov eax, esi
imul eax, eax, 0x64
div dword [ebp - 0x864]
mov ecx, dword [ebp - 0x868]
mov edx, dword [ecx + 0x630]
push 0
push eax
push 0x402
push edx
call ebx
lea eax, [ebp - 0x858]
push eax
push 0x400
lea ecx, [ebp - 0x450]
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x410e70
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.0042826d
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 1
call fcn.00428402
jmp 0x410d72
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov edx, dword [ebp - 0x85c]
push edx
call esi
lea ecx, [ebp - 0x888]
call fcn.0042826d
mov eax, dword [ebp - 0x868]
mov ecx, dword [eax + 0x630]
push 0
push 0
push 0x402
push ecx
call ebx
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 1
call fcn.00428402
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
jg 0x410f80
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 0x410fa6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
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.005132f8
mov esp, ebp
pop ebp
ret 0x10