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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, 0x1100
call fcn.140022af0
sub rsp, rax
mov rax, qword [0x140030010]
xor rax, rsp
mov qword [rsp + 0x10f8], rax
mov r15, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.AutoUpdater
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
test rax, rax
je 0x1400040a1
lea rdx, [0x140031160]
cmp qword [0x140031178], 0x10
cmovae rdx, qword [0x140031160]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rsi, rax
test rax, rax
jne 0x140003cec
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400040a1
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xb0], 0xf
mov byte [rsp + 0x98], r12b
lea r9, [rsp + 0x80]
mov r8d, 0x1000
lea rdx, [rsp + 0xf0]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140003ded
nop word [rax + rax]
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x140003ded
mov ebx, eax
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rax, rdx
sub rax, rcx
cmp rbx, rax
ja 0x140003da9
lea rax, [rcx + rbx]
mov qword [rsp + 0xa8], rax
lea rdi, [rsp + 0x98]
cmp rdx, 0x10
cmovae rdi, qword [rsp + 0x98]
add rdi, rcx
mov r8d, ebx
lea rdx, [rsp + 0xf0]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x140003dc6
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0xf0]
mov rdx, rbx
lea rcx, [rsp + 0x98]
call fcn.14000afb0
lea r9, [rsp + 0x80]
mov r8d, 0x1000
lea rdx, [rsp + 0xf0]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140003d40
mov byte [rsp + 0x88], 0
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.140009d10
nop
mov qword [rsp + 0x78], r12
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xb8]
call fcn.14000a830
movzx edx, byte [rsp + 0x88]
movzx ebx, byte [rax]
mov byte [rsp + 0x88], bl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rax, qword [rsp + 0x90]
mov rdi, qword [rcx]
mov qword [rsp + 0x90], rdi
mov qword [rcx], rax
call fcn.140009280
nop
cmp ebx, 9
ja case.0x140003e72.3
lea rdx, [0x140000000]
mov ecx, dword [rdx + rbx*4 + 0x40d4]
add rcx, rdx
jmp rcx
mov rax, qword [rdi + 8]
cmp qword [rdi], rax
jmp 0x140003e82
cmp qword [rdi + 8], 0
sete al
test al, al
je case.0x140003e72.3
movzx edx, bl
lea rcx, [rsp + 0x90]
call fcn.140009280
nop
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0x10
jb 0x1400040a1
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003edc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000406e
call fcn.140021e74
jmp 0x1400040a1
cmp bl, 2
jne 0x140004010
xor edx, edx
lea rcx, [rsp + 0x88]
call fcn.140007470
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.1400075e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xe0], r12
mov r8d, 6
lea rdx, str.commit
lea rcx, [rsp + 0xc8]
call fcn.140003240
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xb8]
call fcn.14000ce10
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, 6
lea rdx, str.author
lea rcx, [rsp + 0x40]
call fcn.140003240
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000ce10
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.1400075e0
nop
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x30]
call fcn.1400075e0
movzx edx, byte [r15]
movzx ecx, byte [rax]
mov byte [r15], cl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rdx, qword [r15 + 8]
mov r8, qword [rcx]
mov qword [r15 + 8], r8
mov qword [rcx], rdx
movzx edx, byte [rax]
call fcn.140009280
nop
movzx edx, byte [rsp + 0xc8]
lea rcx, [rsp + 0xd0]
call fcn.140009280
nop
movzx edx, byte [rsp + 0xb8]
lea rcx, [rsp + 0xc0]
call fcn.140009280
nop
movzx ebx, byte [rsp + 0x88]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
movzx edx, bl
lea rcx, [rsp + 0x90]
call fcn.140009280
nop
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0x10
jb 0x14000407a
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004075
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004075
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021e74
mov al, 1
jmp 0x1400040a3
xor al, al
mov rcx, qword [rsp + 0x10f8]
xor rcx, rsp
call fcn.140021bc0
lea r11, [rsp + 0x1100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret