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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1120
call fcn.14008b510
sub rsp, rax
mov rax, qword [0x140103040]
xor rax, rsp
mov qword [rsp + 0x1118], rax
mov qword [rsp + 0x40], r8
mov rdi, rdx
mov qword [rsp + 0xa8], rdx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov r14d, 1
mov edx, r14d
lea rcx, str.Updater
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r13, rax
test rax, rax
jne 0x14000c8ca
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000c8b6
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000c8b1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cd60
mov rcx, r8
call fcn.14008a954
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x14000cd98
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000c8d7
mov rdx, qword [rdi]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
jne 0x14000c909
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14000c87c
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], 0xf
mov byte [rsp + 0xb8], 0
lea r9, [rsp + 0xb0]
mov r8d, 0x1000
lea rdx, [rsp + 0x110]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000ca0f
nop word [rax + rax]
mov eax, dword [rsp + 0xb0]
test eax, eax
je 0x14000ca0d
mov esi, eax
mov rcx, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd0]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14000c9c9
lea rax, [rsi + rcx]
mov qword [rsp + 0xc8], rax
lea rbx, [rsp + 0xb8]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0xb8]
add rbx, rcx
mov r8d, esi
lea rdx, [rsp + 0x110]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x14000c9e6
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x110]
mov rdx, rsi
lea rcx, [rsp + 0xb8]
call fcn.140023320
lea r9, [rsp + 0xb0]
mov r8d, 0x1000
lea rdx, [rsp + 0x110]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14000c960
xor ebx, ebx
mov byte [rsp + 0xd8], 0
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.14001be50
nop
mov qword [rsp + 0xa0], rbx
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0xe8]
call fcn.140021ca0
movzx edx, byte [rsp + 0xd8]
movzx r12d, byte [rax]
mov byte [rsp + 0xd8], r12b
mov byte [rax], dl
lea rcx, [rax + 8]
mov rax, qword [rsp + 0xe0]
mov rsi, qword [rcx]
mov qword [rsp + 0xe0], rsi
mov qword [rcx], rax
call fcn.14001d010
nop
cmp r12d, 9
ja case.0x14000ca9b.3
lea rdx, [0x140000000]
mov ecx, dword [rdx + r12*4 + 0xcdc8]
add rcx, rdx
jmp rcx
mov rax, qword [rsi + 8]
cmp qword [rsi], rax
jmp 0x14000caab
cmp qword [rsi + 8], 0
sete al
test al, al
je case.0x14000ca9b.3
movzx edx, r12b
lea rcx, [rsp + 0xe0]
call fcn.14001d010
nop
mov rdx, qword [rsp + 0xd0]
cmp rdx, 0xf
jbe 0x14000cb07
inc rdx
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cb02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ccef
call fcn.14008a954
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], 0xf
mov byte [rsp + 0xb8], 0
jmp 0x14000c87c
cmp r12b, 2
jne 0x14000cc90
mov rbx, qword [rsi + 8]
mov rdx, qword [rsi]
mov rcx, rbx
sub rcx, rdx
sar rcx, 4
test rcx, rcx
jne 0x14000cb8d
mov rax, qword [rsi + 0x10]
sub rax, rdx
sar rax, 4
cmp rax, 1
jae 0x14000cb63
mov rcx, rsi
call fcn.14002bb10
jmp 0x14000cb8d
sub r14, rcx
je 0x14000cb89
nop dword [rax + rax]
mov byte [rbx], 0
lea rcx, [rbx + 8]
xor edx, edx
call fcn.14001be50
nop
add rbx, 0x10
sub r14, 1
jne 0x14000cb70
mov qword [rsi + 8], rbx
mov rdx, qword [rsi]
lea rcx, [rsp + 0xe8]
call fcn.140019ac0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor esi, esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea r8d, [rsi + 6]
lea rdx, str.commit
lea rcx, [rsp + 0x48]
call fcn.140006f40
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xe8]
call fcn.140027940
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rsi
lea r8d, [rsi + 6]
lea rdx, str.author
lea rcx, [rsp + 0x68]
call fcn.140006f40
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.140027940
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.140019ac0
nop
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x30]
call fcn.140019ac0
mov r9, qword [rsp + 0x40]
movzx edx, byte [r9]
movzx ecx, byte [rax]
mov byte [r9], cl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rdx, qword [r9 + 8]
mov r8, qword [rcx]
mov qword [r9 + 8], r8
mov qword [rcx], rdx
movzx edx, byte [rax]
call fcn.14001d010
nop
movzx edx, byte [rsp + 0xf8]
lea rcx, [rsp + 0x100]
call fcn.14001d010
nop
movzx edx, byte [rsp + 0xe8]
lea rcx, [rsp + 0xf0]
call fcn.14001d010
nop
xor ebx, ebx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
movzx edx, r12b
lea rcx, [rsp + 0xe0]
call fcn.14001d010
nop
mov rdx, qword [rsp + 0xd0]
cmp rdx, 0xf
jbe 0x14000ccfb
inc rdx
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ccf6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ccf6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a954
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], 0xf
mov byte [rsp + 0xb8], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000cd4d
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000cd48
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cd60
mov rcx, r8
call fcn.14008a954
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov al, 1
jmp 0x14000cd9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movzx edx, byte [rsp + 0xd8]
lea rcx, [rsp + 0xe0]
call fcn.14001d010
nop
lea rcx, [rsp + 0xb8]
call fcn.14001a8e0
nop
mov rcx, qword [rsp + 0xa8]
call fcn.14001a8e0
xor al, al
mov rcx, qword [rsp + 0x1118]
xor rcx, rsp
call fcn.14008a5e0
lea r11, [rsp + 0x1120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret