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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5392c6
mov eax, dword fs:[0]
push eax
sub esp, 0x87c
mov eax, dword [0x58bc40]
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.0041b31a
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 0x411031
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 0x411004
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 0x41102a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x4113c8
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 0x4110a2
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 0x411075
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 0x41102a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x4113c8
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 0x4110f9
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x860], 1
call fcn.005149fc
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 0x4111cf
lea edx, [ebp - 0x850]
push edx
lea ecx, [ebp - 0x854]
call fcn.00402330
lea eax, [ebp - 0x854]
push 0x56a1cc
push eax
mov byte [ebp - 4], 4
call fcn.004137b0
add esp, 8
test al, al
jne 0x4111a9
push 0x56a1d4
lea ecx, [ebp - 0x854]
call fcn.004022e0
cmp dword [eax], 0
lea ecx, [ebp - 0x854]
jne 0x41118d
push 0x56a1dc
call fcn.004022e0
cmp dword [eax], 0
je 0x4111a9
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 0x4113c8
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 0x4111cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x888]
call fcn.004300a4
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.00430514
test eax, eax
jne 0x41125c
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 1
call fcn.004301d4
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 0x41122b
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 0x41102a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x4113c8
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 0x41130e
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [ebx]
mov eax, dword [ebp - 0x858]
test eax, eax
je 0x411339
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x888]
call fcn.0042fddb
cmp byte [ebp + 0x14], 0
je 0x4112ea
cmp dword [ebp - 0x860], 0
je 0x4112ea
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 + 0x460]
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 0x411290
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.0043003f
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 1
call fcn.004301d4
jmp 0x411192
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.0043003f
mov eax, dword [ebp - 0x868]
mov ecx, dword [eax + 0x460]
push 0
push 0
push 0x402
push ecx
call ebx
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 1
call fcn.004301d4
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 0x4113a0
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 0x4113c6
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.00513700
mov esp, ebp
pop ebp
ret 0x10