Function at 0x405f80
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431e56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push edi
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
push 0x73
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_74.0.3729.169_Safari_537.36
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
call fcn.00403fb0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 0x2c]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp edx, 8
jb 0x406028
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40601e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40614f
push edx
push ecx
call fcn.0041414e
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test ebx, ebx
je 0x406154
push esi
push eax
push 0x80000100
push eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x406186
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0xd]
mov dword [ebp - 4], 3
push eax
push 0x400
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
call fcn.00405cb0
mov ebx, dword [ebp + 8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
push 0x400
push edi
push esi
mov dword [ebp - 0x18], 1
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4060fd
nop dword [eax + eax]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4060fd
push dword [ebp - 0x1c]
add eax, edi
mov ecx, ebx
push eax
push edi
push dword [ebx + 4]
call fcn.00405b40
lea eax, [ebp - 0x14]
push eax
push 0x400
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4060d0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
pop esi
test edi, edi
je 0x40613d
mov ecx, dword [ebp - 0x20]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x406133
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4061bf
push ecx
push edi
call fcn.0041414e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0041866f
push str.Couldnt_open_Internet_
lea ecx, [ebp - 0x58]
call fcn.004010d0
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00406c10
push eax
lea ecx, [ebp - 0x28]
call fcn.00405e10
push 0x440a88
lea eax, [ebp - 0x28]
push eax
call fcn.0041511f
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.Couldnt_open_URL_
lea ecx, [ebp - 0x70]
call fcn.004010d0
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00406c10
push eax
lea ecx, [ebp - 0x34]
call fcn.00405e10
push 0x440a88
lea eax, [ebp - 0x34]
push eax
call fcn.0041511f
call fcn.0041866f
int3