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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x473140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push 0
push 1
push str.HTTPGET
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x410b78
cmp dword [esi + 0x14], 0xf
jbe 0x410955
mov esi, dword [esi]
push 0
push 0x80000000
push 0
push 0
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
je 0x410b8c
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], 0
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x410b4f
nop dword [eax]
nop dword [eax + eax]
mov edi, dword [ebp - 0x408]
test edi, edi
je 0x410b4f
mov edx, dword [ebx + 0x14]
mov eax, edx
mov esi, dword [ebx + 0x10]
sub eax, esi
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x410], edx
cmp edi, eax
ja 0x410a03
lea eax, [edi + esi]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0xf
jbe 0x4109e7
mov eax, dword [ebx]
add esi, eax
lea eax, [ebp - 0x404]
push edi
push eax
push esi
call fcn.0042d580
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x410b27
mov eax, 0x7fffffff
sub eax, esi
cmp eax, edi
jb 0x410b73
lea ecx, [edi + esi]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x410a27
mov ecx, 0x7fffffff
jmp 0x410a54
mov eax, edx
shr eax, 1
mov dword [ebp - 0x40c], eax
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x40c]
cmp edx, eax
jbe 0x410a47
mov ecx, 0x7fffffff
jmp 0x410a54
mov eax, dword [ebp - 0x40c]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], ecx
push eax
push ebx
call fcn.004013c0
lea ecx, [edi + esi]
mov dword [ebp - 0x418], eax
mov dword [ebx + 0x10], ecx
add esp, 8
mov ecx, dword [ebp - 0x40c]
mov dword [ebx + 0x14], ecx
lea ecx, [esi + eax]
mov dword [ebp - 0x40c], ecx
add ecx, edi
cmp dword [ebp - 0x410], 0xf
mov dword [ebp - 0x414], ecx
jbe 0x410af8
push dword [ebp - 0x41c]
mov esi, dword [ebx]
push esi
push eax
call fcn.0042d580
push edi
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x40c]
call fcn.0042d580
mov eax, dword [ebp - 0x414]
add esp, 0x18
mov ecx, dword [ebp - 0x410]
inc ecx
mov byte [eax], 0
cmp ecx, 0x1000
jb 0x410aec
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x410ba0
mov esi, edx
push ecx
push esi
call fcn.0042bd50
add esp, 8
jmp 0x410b1f
push esi
push ebx
push eax
call fcn.0042d580
push edi
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x40c]
call fcn.0042d580
mov eax, dword [ebp - 0x414]
add esp, 0x18
mov byte [eax], 0
mov eax, dword [ebp - 0x418]
mov dword [ebx], eax
mov esi, dword [ebp - 0x420]
lea eax, [ebp - 0x408]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4109b0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x424]
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bd5e
mov esp, ebp
pop ebp
ret
call fcn.004015b0
sub esp, 8
mov ecx, esp
push str.Verification_failed.__1_
call fcn.0040dc50
call fcn.004108b0
sub esp, 8
mov ecx, esp
push str.Verification_failed.__2_
call fcn.0040dc50
call fcn.004108b0
call fcn.004377bf
int3