Function at 0x14001160e
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
jmp 0x140018a00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x488]
mov rax, qword [0x14002b040]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x14003210c]
call fcn.14001181b
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.tena
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140018aa6
lea rdx, str.Failed_to_validate_key.__1_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110fa
mov qword [rbp + 0x3f8], rax
lea rdx, [0x14001105f]
mov rcx, qword [rbp + 0x3f8]
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]
xor al, al
jmp 0x140018e73
xor r9d, r9d
mov r8w, 0x1bb
lea rdx, str.raw.githubusercontent.com
mov rcx, qword [rbp + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140018b09
lea rdx, str.Failed_to_validate_key._2
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110fa
mov qword [rbp + 0x3f8], rax
lea rdx, [0x14001105f]
mov rcx, qword [rbp + 0x3f8]
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]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
jmp 0x140018e73
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str._Iratethisname10_Code_refs_heads_main_tk.json
lea rdx, [0x140026960]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140018b92
lea rdx, str.Failed_to_validate_key.__3_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110fa
mov qword [rbp + 0x3f8], rax
lea rdx, [0x14001105f]
mov rcx, qword [rbp + 0x3f8]
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]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
jmp 0x140018e73
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
je 0x140018bd6
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140018c29
lea rdx, str.Failed_to_validate_key.__4_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110fa
mov qword [rbp + 0x3f8], rax
lea rdx, [0x14001105f]
mov rcx, qword [rbp + 0x3f8]
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]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
jmp 0x140018e73
lea rcx, [rbp + 0xc8]
call fcn.14001180c
nop
mov dword [rbp + 0x84], 0
lea rdx, [rbp + 0x84]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140018d31
cmp dword [rbp + 0x84], 0
jne 0x140018c67
jmp 0x140018d3e
mov eax, dword [rbp + 0x84]
inc eax
mov eax, eax
mov ecx, eax
call fcn.140011366
mov qword [rbp + 0x2e8], rax
mov rax, qword [rbp + 0x2e8]
mov qword [rbp + 0x108], rax
mov eax, dword [rbp + 0x84]
inc eax
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rbp + 0x108]
call fcn.140011640
lea r9, [rbp + 0xa4]
mov r8d, dword [rbp + 0x84]
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140018ce7
mov eax, dword [rbp + 0xa4]
mov r8d, eax
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0xc8]
call fcn.14001187f
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x308], rax
mov rcx, qword [rbp + 0x308]
call fcn.1400113d9
cmp qword [rbp + 0x308], 0
jne 0x140018d18
mov qword [rbp + 0x3f8], 0
jmp 0x140018d31
mov qword [rbp + 0x108], 0x8123
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x3f8], rax
cmp dword [rbp + 0x84], 0
ja 0x140018c36
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdx, qword [rbp + 0x440]
lea rcx, [rbp + 0x128]
call fcn.140011384
nop
lea r8, [rbp + 0x128]
lea rdx, [0x1400269bc]
lea rcx, [rbp + 0x348]
call fcn.140011069
mov qword [rbp + 0x3f8], rax
mov rax, qword [rbp + 0x3f8]
mov qword [rbp + 0x400], rax
lea r8, [0x1400269bc]
mov rdx, qword [rbp + 0x400]
lea rcx, [rbp + 0x388]
call fcn.140011780
mov qword [rbp + 0x408], rax
xor r8d, r8d
mov rdx, qword [rbp + 0x408]
lea rcx, [rbp + 0xc8]
call fcn.14001122b
cmp rax, 0xffffffffffffffff
je 0x140018de8
mov dword [rbp + 0x410], 1
jmp 0x140018df2
mov dword [rbp + 0x410], 0
movzx eax, byte [rbp + 0x410]
mov byte [rbp + 0x324], al
lea rcx, [rbp + 0x388]
call fcn.14001117c
nop
lea rcx, [rbp + 0x348]
call fcn.14001117c
movzx eax, byte [rbp + 0x324]
test eax, eax
je 0x140018e4c
mov byte [rbp + 0x3c4], 1
lea rcx, [rbp + 0x128]
call fcn.14001117c
nop
lea rcx, [rbp + 0xc8]
call fcn.14001117c
movzx eax, byte [rbp + 0x3c4]
jmp 0x140018e73
mov byte [rbp + 0x3e4], 0
lea rcx, [rbp + 0x128]
call fcn.14001117c
nop
lea rcx, [rbp + 0xc8]
call fcn.14001117c
movzx eax, byte [rbp + 0x3e4]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400261f0]
call fcn.1400116c2
mov rax, rdi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.1400113ed
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret