Function at 0x140003d10
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.140022cf0
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 0x140004171
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 0x140003dbc
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140004171
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 0x140003ebd
nop word [rax + rax]
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x140003ebd
mov ebx, eax
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rax, rdx
sub rax, rcx
cmp rbx, rax
ja 0x140003e79
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 fcn.140022d4a
mov byte [rdi + rbx], 0
jmp 0x140003e96
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0xf0]
mov rdx, rbx
lea rcx, [rsp + 0x98]
call fcn.14000adb0
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 0x140003e10
mov byte [rsp + 0x88], 0
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.140009b00
nop
mov qword [rsp + 0x78], r12
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xb8]
call fcn.14000a620
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.140009070
nop
cmp ebx, 9
ja case.0x140003f42.3
lea rdx, [0x140000000]
mov ecx, dword [rdx + rbx*4 + 0x41a4]
add rcx, rdx
jmp rcx
mov rax, qword [rdi + 8]
cmp qword [rdi], rax
jmp 0x140003f52
cmp qword [rdi + 8], 0
sete al
test al, al
je case.0x140003f42.3
movzx edx, bl
lea rcx, [rsp + 0x90]
call fcn.140009070
nop
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0x10
jb 0x140004171
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003fac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000413e
call fcn.140022074
jmp 0x140004171
cmp bl, 2
jne 0x1400040e0
xor edx, edx
lea rcx, [rsp + 0x88]
call fcn.140007410
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140007580
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.1400032e0
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xb8]
call fcn.14000cbe0
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.1400032e0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000cbe0
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.140007580
nop
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x30]
call fcn.140007580
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.140009070
nop
movzx edx, byte [rsp + 0xc8]
lea rcx, [rsp + 0xd0]
call fcn.140009070
nop
movzx edx, byte [rsp + 0xb8]
lea rcx, [rsp + 0xc0]
call fcn.140009070
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.140009070
nop
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0x10
jb 0x14000414a
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004145
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004145
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022074
mov al, 1
jmp 0x140004173
xor al, al
mov rcx, qword [rsp + 0x10f8]
xor rcx, rsp
call fcn.140021dc0
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