Function at 0x1401066b0
Capabilities:
Check http status code
Get file size
Set registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov qword [rax - 0x90], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r15, rdx
mov r14, rcx
mov byte [rsp + 0x120], 0
cmp word [0x14042c5a0], 0
jne 0x140106703
mov r8d, 0x104
lea rdx, [0x14042c5a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov byte [r14], 0
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r13 + 1]
lea rcx, [0x14042c5a0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140106ae9
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r12d, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rsp + 0x58], r13
lea edx, [r13 + 0x2b]
lea rcx, [rsp + 0x50]
call fcn.1401ff260
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r9d, [r13 + 0x2b]
lea r8, str.http:__files.surfright.nl_HitmanPro_x64.exe
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
lea edx, [r13 + 0x2b]
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.140201f10
nop
cmp dword [rsp + 0x58], r13d
jle 0x1401067be
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
lea rcx, [rsp + 0xa0]
call fcn.140204930
mov rdi, rax
lea rax, vtable.Core::SharedPtr_class_Core::Net::HttpWebRequest_.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
mov rbx, r13
mov qword [rsp + 0x70], rbx
test rdi, rdi
je 0x140106816
mov ecx, 4
call fcn.1402b968c
mov rbx, rax
test rax, rax
je 0x140106808
mov dword [rax], r13d
mov qword [rsp + 0x70], rax
jmp 0x140106810
mov rbx, r13
mov qword [rsp + 0x70], rbx
mov dword [rbx], 1
mov qword [rsp + 0x48], r13
mov edx, 4
lea rcx, [rsp + 0x40]
call fcn.1401ff260
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 4
lea r8, str.HEAD
mov rcx, qword [rsp + 0x40]
call fcn.1402bd21c
mov edx, 4
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
mov edx, dword [rsp + 0x4c]
lea rcx, [rdi + 0x68]
call fcn.1401ff260
movsxd r9, dword [rsp + 0x4c]
mov eax, dword [rdi + 0x70]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x40]
mov rcx, qword [rdi + 0x68]
call fcn.1402bd21c
mov edx, dword [rsp + 0x4c]
lea rcx, [rdi + 0x68]
call fcn.140200570
nop
cmp dword [rsp + 0x48], 0
jle 0x1401068a1
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
mov rax, qword [rdi + 0xb0]
mov dword [rax], 0x1a0b
mov dword [rdi + 0x78], 0x1a0b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rcx, rax
cmp dword [rax + 0x40], 0xc8
jne 0x14010690f
mov rax, qword [rax]
call qword [rax + 8]
mov dword [r15], eax
test eax, eax
jle 0x1401068e0
cmp eax, r12d
setne al
mov byte [r14], al
mov rax, qword [0x14042bb20]
cmp qword [rax + 8], 0
je 0x14010690f
mov eax, dword [r15]
cmp eax, 0x677fe8
je 0x1401068ff
cmp eax, 0x76c6f8
jne 0x14010690f
lea rcx, str.Skip_revert_to_build_138_n
call fcn.1402ba358
mov byte [r14], 0
mov byte [rsp + 0x120], 1
cmp byte [r14], 0
jne 0x140106a35
mov eax, dword [0x14042c9e0]
test al, 1
jne 0x140106959
or eax, 1
mov dword [0x14042c9e0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x14042c9e8], rax
mov qword [0x14042c9f0], 0xffffffff80000002
lea rcx, [0x1403017d0]
call fcn.1402bb344
lea rdx, [0x14034ee50]
lea rcx, [0x14042c9e8]
call fcn.1400eb8d0
mov rsi, rax
test rax, rax
je 0x140106a35
mov qword [rsp + 0x48], r13
mov edx, 0x13
lea rcx, [rsp + 0x40]
call fcn.1401ff260
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 0x13
lea r8, str.yyyy_MM_dd_HH:mm:ss
mov rcx, qword [rsp + 0x40]
call fcn.1402bd21c
mov edx, 0x13
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
call fcn.140114e00
mov rcx, rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x78]
call fcn.1400d6f20
mov rcx, rax
mov eax, dword [rax + 0xc]
mov rcx, qword [rcx]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.LastCFU
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rsp + 0x80], 0
jle 0x140106a16
mov rcx, qword [rsp + 0x78]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x48], 0
jle 0x140106a27
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
test rbx, rbx
je 0x140106a5f
mov eax, dword [rbx]
test eax, eax
jle 0x140106a44
dec eax
mov dword [rbx], eax
cmp dword [rbx], 0
jne 0x140106a5f
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rcx, rbx
call fcn.1402177e0
nop
lea rax, vtable.Core::Uri.0
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x140106a80
call fcn.1402b99fc
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x140106a92
call fcn.1402b99fc
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140106aa4
call fcn.1402b99fc
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x140106ab6
call fcn.1402b99fc
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140106ac8
call fcn.1402b99fc
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x140106adb
call fcn.1402b99fc
nop
mov al, 1
jmp 0x140106aeb
xor al, al
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret