Function at 0x14000c980
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, 0x1110
call fcn.14008b7c0
sub rsp, rax
mov rax, qword [0x140103040]
xor rax, rsp
mov qword [rsp + 0x1108], rax
mov qword [rsp + 0x50], r8
mov rdi, rdx
mov qword [rsp + 0x98], 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 0x14000ca3a
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000ca26
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000ca21
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000ced1
mov rcx, r8
call fcn.14008aad4
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x14000cf09
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000ca47
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 0x14000ca79
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14000c9ec
xorps xmm0, xmm0
movups xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xc0], 0xf
mov byte [rsp + 0xa8], 0
lea r9, [rsp + 0xa0]
mov r8d, 0x1000
lea rdx, [rsp + 0x100]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000cb7f
nop word [rax + rax]
mov eax, dword [rsp + 0xa0]
test eax, eax
je 0x14000cb7d
mov esi, eax
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14000cb39
lea rax, [rsi + rcx]
mov qword [rsp + 0xb8], rax
lea rbx, [rsp + 0xa8]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0xa8]
add rbx, rcx
mov r8d, esi
lea rdx, [rsp + 0x100]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x14000cb56
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x100]
mov rdx, rsi
lea rcx, [rsp + 0xa8]
call fcn.140023920
lea r9, [rsp + 0xa0]
mov r8d, 0x1000
lea rdx, [rsp + 0x100]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14000cad0
xor ebx, ebx
mov byte [rsp + 0xc8], 0
xor edx, edx
lea rcx, [rsp + 0xd0]
call fcn.14001c160
nop
mov qword [rsp + 0x90], rbx
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0xd8]
call fcn.140022330
movzx edx, byte [rsp + 0xc8]
movzx r12d, byte [rax]
mov byte [rsp + 0xc8], r12b
mov byte [rax], dl
lea rcx, [rax + 8]
mov rax, qword [rsp + 0xd0]
mov rsi, qword [rcx]
mov qword [rsp + 0xd0], rsi
mov qword [rcx], rax
call fcn.14001d480
nop
cmp r12d, 9
ja case.0x14000cc0b.3
lea rdx, [0x140000000]
mov ecx, dword [rdx + r12*4 + 0xcf38]
add rcx, rdx
jmp rcx
mov rax, qword [rsi + 8]
cmp qword [rsi], rax
jmp 0x14000cc1b
cmp qword [rsi + 8], 0
sete al
test al, al
je case.0x14000cc0b.3
movzx edx, r12b
lea rcx, [rsp + 0xd0]
call fcn.14001d480
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 0xf
jbe 0x14000cc77
inc rdx
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cc72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ce60
call fcn.14008aad4
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xc0], 0xf
mov byte [rsp + 0xa8], 0
jmp 0x14000c9ec
cmp r12b, 2
jne 0x14000ce01
mov rbx, qword [rsi + 8]
mov rdx, qword [rsi]
mov rcx, rbx
sub rcx, rdx
sar rcx, 4
test rcx, rcx
jne 0x14000ccfd
mov rax, qword [rsi + 0x10]
sub rax, rdx
sar rax, 4
cmp rax, 1
jae 0x14000ccd3
mov rcx, rsi
call fcn.14002c060
jmp 0x14000ccfd
sub r14, rcx
je 0x14000ccf9
nop dword [rax + rax]
mov byte [rbx], 0
lea rcx, [rbx + 8]
xor edx, edx
call fcn.14001c160
nop
add rbx, 0x10
sub r14, 1
jne 0x14000cce0
mov qword [rsi + 8], rbx
mov rdx, qword [rsi]
lea rcx, [rsp + 0xd8]
call fcn.140019da0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor esi, esi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov r8d, 6
lea rdx, str.commit
lea rcx, [rsp + 0x58]
call fcn.1400072c0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xd8]
call fcn.140027df0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r8d, 6
lea rdx, str.author
lea rcx, [rsp + 0x30]
call fcn.1400072c0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140027df0
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.140019da0
nop
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x30]
call fcn.140019da0
mov r9, qword [rsp + 0x50]
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.14001d480
nop
movzx edx, byte [rsp + 0xe8]
lea rcx, [rsp + 0xf0]
call fcn.14001d480
nop
movzx edx, byte [rsp + 0xd8]
lea rcx, [rsp + 0xe0]
call fcn.14001d480
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 + 0xd0]
call fcn.14001d480
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 0xf
jbe 0x14000ce6c
inc rdx
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ce67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008aad4
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xc0], 0xf
mov byte [rsp + 0xa8], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000cebe
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000ceb9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000ced1
mov rcx, r8
call fcn.14008aad4
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov al, 1
jmp 0x14000cf0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movzx edx, byte [rsp + 0xc8]
lea rcx, [rsp + 0xd0]
call fcn.14001d480
nop
lea rcx, [rsp + 0xa8]
call fcn.1400105e0
nop
mov rcx, qword [rsp + 0x98]
call fcn.1400105e0
xor al, al
mov rcx, qword [rsp + 0x1108]
xor rcx, rsp
call fcn.14008a760
lea r11, [rsp + 0x1110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret