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

Disassembly:
jmp 0x1400ced00
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x162
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x818]
mov rax, qword [0x14031e940]
xor rax, rbp
mov qword [rbp + 0x7b0], rax
lea rcx, [0x140339aa8]
call fcn.1400bb791
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Key_Fetcher
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400cedd6
lea rdx, str.InternetOpen_failed:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400b85e1
mov qword [rbp + 0x798], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x7a0], eax
mov edx, dword [rbp + 0x7a0]
mov rcx, qword [rbp + 0x798]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov qword [rbp + 0x7a8], rax
lea rdx, [0x1400b8276]
mov rcx, qword [rbp + 0x7a8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
xor al, al
jmp 0x1400ceff0
mov rdx, qword [rbp + 0x7e0]
lea rcx, [rbp + 0x708]
call fcn.1400b9932
nop
lea rdx, [rbp + 0x708]
lea rcx, [rbp + 0x28]
call fcn.1400ba0cb
nop
lea rcx, [rbp + 0x708]
call fcn.1400b8a55
nop
lea rcx, [rbp + 0x28]
call fcn.1400b92ac
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1400ceebc
lea rdx, str.InternetOpenUrl_failed:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400b85e1
mov qword [rbp + 0x798], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x7a0], eax
mov edx, dword [rbp + 0x7a0]
mov rcx, qword [rbp + 0x798]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov qword [rbp + 0x7a8], rax
lea rdx, [0x1400b8276]
mov rcx, qword [rbp + 0x7a8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov byte [rbp + 0x744], 0
lea rcx, [rbp + 0x28]
call fcn.1400baf49
movzx eax, byte [rbp + 0x744]
jmp 0x1400ceff0
lea r9, [rbp + 0x4a4]
mov r8d, 0x3ff
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400cef2e
cmp dword [rbp + 0x4a4], 0
je 0x1400cef2e
mov eax, dword [rbp + 0x4a4]
mov qword [rbp + 0x768], rax
cmp qword [rbp + 0x768], 0x400
jae 0x1400cef03
jmp 0x1400cef09
call fcn.1400ba83c
nop
mov rax, qword [rbp + 0x768]
mov byte [rbp + rax + 0x90], 0
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x7e8]
call fcn.1400b96d5
nop
jmp 0x1400ceebc
cmp dword [rbp + 0x4a4], 0
jne 0x1400cef96
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400cef96
lea rdx, str.InternetReadFile_failed:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400b85e1
mov qword [rbp + 0x798], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x7a0], eax
mov edx, dword [rbp + 0x7a0]
mov rcx, qword [rbp + 0x798]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov qword [rbp + 0x7a8], rax
lea rdx, [0x1400b8276]
mov rcx, qword [rbp + 0x7a8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov r8, 0xffffffffffffffff
lea rdx, str.__n_r_t
mov rcx, qword [rbp + 0x7e8]
call fcn.1400b8690
inc rax
mov rdx, rax
mov rcx, qword [rbp + 0x7e8]
call fcn.1400bb539
nop
mov byte [rbp + 0x784], 1
lea rcx, [rbp + 0x28]
call fcn.1400baf49
movzx eax, byte [rbp + 0x784]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1402866d0]
call fcn.1400bae18
mov rax, rdi
mov rcx, qword [rbp + 0x7b0]
xor rcx, rbp
call fcn.1400b9adb
lea rsp, [rbp + 0x7c8]
pop rdi
pop rbp
ret