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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480e44
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x49a400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x808], eax
mov dword [ebp - 0x800], eax
mov dword [ebp - 0x800], eax
mov dword [ebp - 0x800], 1
push 0
push 0
push 0
push 1
push str.Mozilla_5.0
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
xorps xmm0, xmm0
mov dword [ebp - 0x7e8], 0xf
mov edi, eax
xor esi, esi
movups xmmword [ebp - 0x7fc], xmm0
mov dword [ebp - 0x800], edi
mov dword [ebp - 0x7ec], esi
mov byte [ebp - 0x7fc], 0
mov byte [ebp - 4], 1
test edi, edi
je 0x4224ed
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
push esi
cmova eax, dword [ebp + 8]
push esi
push esi
push esi
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x804], eax
test eax, eax
je 0x4224ed
lea ecx, [ebp - 0x7e4]
push ecx
push 0x7d0
lea ecx, [ebp - 0x7e0]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x7e8]
mov eax, ecx
mov edi, dword [ebp - 0x7e4]
sub eax, esi
push edi
cmp edi, eax
ja 0x422311
lea eax, [edi + esi]
cmp ecx, 0xf
mov dword [ebp - 0x7ec], eax
lea eax, [ebp - 0x7fc]
cmova eax, dword [ebp - 0x7fc]
add esi, eax
lea eax, [ebp - 0x7e0]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x422331
lea eax, [ebp - 0x7e0]
mov byte [ebp - 0x83c], 0
push eax
push dword [ebp - 0x83c]
lea ecx, [ebp - 0x7fc]
push edi
call fcn.00414320
push 0x7d0
lea eax, [ebp - 0x7e0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebp - 0x7e4], 0
je 0x422361
mov esi, dword [ebp - 0x7ec]
mov eax, dword [ebp - 0x804]
jmp 0x4222b1
push dword [ebp - 0x800]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x804]
call esi
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x828], 0
push 0x49267c
lea ecx, [ebp - 0x838]
mov dword [ebp - 0x824], 0
movups xmmword [ebp - 0x838], xmm0
call fcn.00414480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x820]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x810], 0
push 0x492680
movups xmmword [ebp - 0x820], xmm0
mov dword [ebp - 0x80c], 0
call fcn.00414480
lea eax, [ebp - 0x838]
mov byte [ebp - 4], 3
push eax
sub esp, 0x18
lea eax, [ebp - 0x7fc]
mov ecx, esp
lea esi, [ebp - 0x820]
push eax
call fcn.00410640
mov edx, esi
mov esi, dword [ebp - 0x808]
mov ecx, esi
call fcn.00422120
mov ecx, dword [ebp - 0x80c]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x422449
mov edx, dword [ebp - 0x820]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42243f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4224e7
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov ecx, dword [ebp - 0x824]
cmp ecx, 0xf
jbe 0x42247f
mov edx, dword [ebp - 0x838]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x422475
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4224e7
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov ecx, dword [ebp - 0x7e8]
cmp ecx, 0xf
jbe 0x4224b5
mov edx, dword [ebp - 0x7fc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4224ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4224e7
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x422647
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42263d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42263d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x810], 0
push 0x49267c
lea ecx, [ebp - 0x820]
mov dword [ebp - 0x80c], 0
movups xmmword [ebp - 0x820], xmm0
call fcn.00414480
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x838]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x828], 0
push 0x492680
movups xmmword [ebp - 0x838], xmm0
mov dword [ebp - 0x824], 0
call fcn.00414480
lea eax, [ebp - 0x820]
mov byte [ebp - 4], 5
push eax
sub esp, 0x18
lea eax, [ebp - 0x7fc]
mov ecx, esp
lea esi, [ebp - 0x838]
push eax
call fcn.00410640
mov edx, esi
mov esi, dword [ebp - 0x808]
mov ecx, esi
call fcn.00422120
mov ecx, dword [ebp - 0x824]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x4225c6
mov edx, dword [ebp - 0x838]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4225bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4224e7
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov ecx, dword [ebp - 0x80c]
cmp ecx, 0xf
jbe 0x422600
mov edx, dword [ebp - 0x820]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4225f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4224e7
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov ecx, dword [ebp - 0x7e8]
cmp ecx, 0xf
jbe 0x4224b5
mov edx, dword [ebp - 0x7fc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4224ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4224e7
jmp 0x4224ab
push ecx
push edx
call fcn.0047d8e4
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d5a0
mov esp, ebp
pop ebp
ret