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

Disassembly:
jmp 0x140025e00
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xc58
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x21a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc78]
mov rax, qword [0x140042040]
xor rax, rbp
mov qword [rbp + 0xc18], rax
lea rcx, [0x14004d122]
call fcn.140011ed3
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.KeyValidator
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140025e81
xor al, al
jmp 0x140026363
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0xc40]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140025ec6
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
xor al, al
jmp 0x140026363
mov edx, 0xf8
lea rcx, [rbp + 0x490]
call fcn.140011a3c
mov edx, 1
lea rcx, [rbp + 0x490]
call fcn.140011c5d
nop
lea r9, [rbp + 0x464]
mov r8d, 0x400
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140025f2e
cmp dword [rbp + 0x464], 0
jbe 0x140025f2e
mov eax, dword [rbp + 0x464]
lea rcx, [rbp + 0x4a0]
mov r8d, eax
lea rdx, [rbp + 0x50]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
nop
jmp 0x140025ee9
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rbp + 0x5a8]
call fcn.140011a73
nop
lea rcx, [rbp + 0x5e8]
call fcn.140011ebf
nop
lea rdx, [rbp + 0x5e8]
lea rcx, [rbp + 0x490]
call fcn.140011857
mov qword [rbp + 0xb88], rax
mov rax, qword [rbp + 0xb88]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rbp + 0xb88]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x14002632f
xor r8d, r8d
mov dl, 0x7c
lea rcx, [rbp + 0x5e8]
call fcn.140011816
mov qword [rbp + 0x628], rax
mov r8, 0xffffffffffffffff
mov dl, 0x7c
lea rcx, [rbp + 0x5e8]
call fcn.140011e74
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x648]
dec rax
mov r8, rax
mov dl, 0x7c
lea rcx, [rbp + 0x5e8]
call fcn.14001189d
mov qword [rbp + 0x668], rax
cmp qword [rbp + 0x628], 0xffffffffffffffff
je 0x14002632a
cmp qword [rbp + 0x648], 0xffffffffffffffff
je 0x14002632a
cmp qword [rbp + 0x668], 0xffffffffffffffff
je 0x14002632a
mov r9, qword [rbp + 0x628]
xor r8d, r8d
lea rdx, [rbp + 0x688]
lea rcx, [rbp + 0x5e8]
call fcn.14001178f
nop
mov rax, qword [rbp + 0x628]
mov rcx, qword [rbp + 0x668]
sub rcx, rax
mov rax, rcx
dec rax
mov rcx, qword [rbp + 0x628]
inc rcx
mov r9, rax
mov r8, rcx
lea rdx, [rbp + 0x6c8]
lea rcx, [rbp + 0x5e8]
call fcn.14001178f
nop
mov rax, qword [rbp + 0x668]
mov rcx, qword [rbp + 0x648]
sub rcx, rax
mov rax, rcx
dec rax
mov rcx, qword [rbp + 0x668]
inc rcx
mov r9, rax
mov r8, rcx
lea rdx, [rbp + 0x708]
lea rcx, [rbp + 0x5e8]
call fcn.14001178f
nop
mov rax, qword [rbp + 0x648]
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rbp + 0x748]
lea rcx, [rbp + 0x5e8]
call fcn.14001178f
nop
mov rdx, qword [rbp + 0xc48]
lea rcx, [rbp + 0x688]
call fcn.1400113b6
movzx eax, al
test eax, eax
je 0x1400262f6
lea rdx, [rbp + 0x5a8]
lea rcx, [rbp + 0x748]
call fcn.140011870
movzx eax, al
test eax, eax
je 0x1400261b0
lea rdx, str.Bu_key_ba
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400117a3
lea rdx, [0x14001171c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov byte [rbp + 0xba4], 0
lea rcx, [rbp + 0x748]
call fcn.14001128a
nop
lea rcx, [rbp + 0x708]
call fcn.14001128a
nop
lea rcx, [rbp + 0x6c8]
call fcn.14001128a
nop
lea rcx, [rbp + 0x688]
call fcn.14001128a
nop
lea rcx, [rbp + 0x5e8]
call fcn.14001128a
nop
lea rcx, [rbp + 0x5a8]
call fcn.14001128a
nop
lea rcx, [rbp + 0x490]
call fcn.14001126c
movzx eax, byte [rbp + 0xba4]
jmp 0x140026363
lea rcx, [rbp + 0x6c8]
call fcn.1400119c9
mov qword [rbp + 0x788], rax
xor ecx, ecx
call fcn.1400270d0
mov qword [rbp + 0x7a8], rax
mov rax, qword [rbp + 0x788]
cmp qword [rbp + 0x7a8], rax
jle 0x140026276
lea rdx, str.Key_s
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400117a3
lea rdx, [0x14001171c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov byte [rbp + 0xbc4], 0
lea rcx, [rbp + 0x748]
call fcn.14001128a
nop
lea rcx, [rbp + 0x708]
call fcn.14001128a
nop
lea rcx, [rbp + 0x6c8]
call fcn.14001128a
nop
lea rcx, [rbp + 0x688]
call fcn.14001128a
nop
lea rcx, [rbp + 0x5e8]
call fcn.14001128a
nop
lea rcx, [rbp + 0x5a8]
call fcn.14001128a
nop
lea rcx, [rbp + 0x490]
call fcn.14001126c
movzx eax, byte [rbp + 0xbc4]
jmp 0x140026363
lea rdx, [0x140039f70]
lea rcx, [rbp + 0x708]
call fcn.1400115d2
movzx eax, al
mov byte [rbp + 0xbe4], 1
lea rcx, [rbp + 0x748]
call fcn.14001128a
nop
lea rcx, [rbp + 0x708]
call fcn.14001128a
nop
lea rcx, [rbp + 0x6c8]
call fcn.14001128a
nop
lea rcx, [rbp + 0x688]
call fcn.14001128a
nop
lea rcx, [rbp + 0x5e8]
call fcn.14001128a
nop
lea rcx, [rbp + 0x5a8]
call fcn.14001128a
nop
lea rcx, [rbp + 0x490]
call fcn.14001126c
movzx eax, byte [rbp + 0xbe4]
jmp 0x140026363
lea rcx, [rbp + 0x748]
call fcn.14001128a
nop
lea rcx, [rbp + 0x708]
call fcn.14001128a
nop
lea rcx, [rbp + 0x6c8]
call fcn.14001128a
nop
lea rcx, [rbp + 0x688]
call fcn.14001128a
nop
jmp 0x140025f5e
mov byte [rbp + 0xc04], 0
lea rcx, [rbp + 0x5e8]
call fcn.14001128a
nop
lea rcx, [rbp + 0x5a8]
call fcn.14001128a
nop
lea rcx, [rbp + 0x490]
call fcn.14001126c
movzx eax, byte [rbp + 0xc04]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_VariantCopy
call fcn.140011c58
mov rax, rdi
mov rcx, qword [rbp + 0xc18]
xor rcx, rbp
call fcn.14001170d
lea rsp, [rbp + 0xc28]
pop rdi
pop rbp
ret