Function at 0x140107c90
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 [0x140431680], 0
jne 0x140107ce3
mov r8d, 0x104
lea rdx, [0x140431680]
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, [0x140431680]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401080c9
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.1402028a0
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.1402c06dc
lea edx, [r13 + 0x2b]
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.140205550
nop
cmp dword [rsp + 0x58], r13d
jle 0x140107d9e
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
lea rcx, [rsp + 0xa0]
call fcn.140207f00
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 0x140107df6
mov ecx, 4
call fcn.1402bcb4c
mov rbx, rax
test rax, rax
je 0x140107de8
mov dword [rax], r13d
mov qword [rsp + 0x70], rax
jmp 0x140107df0
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.1402028a0
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 4
lea r8, str.HEAD
mov rcx, qword [rsp + 0x40]
call fcn.1402c06dc
mov edx, 4
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
mov edx, dword [rsp + 0x4c]
lea rcx, [rdi + 0x68]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x4c]
lea rcx, [rdi + 0x68]
call fcn.140203bb0
nop
cmp dword [rsp + 0x48], 0
jle 0x140107e81
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
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 0x140107eef
mov rax, qword [rax]
call qword [rax + 8]
mov dword [r15], eax
test eax, eax
jle 0x140107ec0
cmp eax, r12d
setne al
mov byte [r14], al
mov rax, qword [0x140430c00]
cmp qword [rax + 8], 0
je 0x140107eef
mov eax, dword [r15]
cmp eax, 0x677fe8
je 0x140107edf
cmp eax, 0x76c6f8
jne 0x140107eef
lea rcx, str.Skip_revert_to_build_138_n
call fcn.1402bd818
mov byte [r14], 0
mov byte [rsp + 0x120], 1
cmp byte [r14], 0
jne 0x140108015
mov eax, dword [0x140431ac0]
test al, 1
jne 0x140107f39
or eax, 1
mov dword [0x140431ac0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x140431ac8], rax
mov qword [0x140431ad0], 0xffffffff80000002
lea rcx, [0x1403050b0]
call fcn.1402be804
lea rdx, [0x140352cb8]
lea rcx, [0x140431ac8]
call fcn.1400ece40
mov rsi, rax
test rax, rax
je 0x140108015
mov qword [rsp + 0x48], r13
mov edx, 0x13
lea rcx, [rsp + 0x40]
call fcn.1402028a0
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.1402c06dc
mov edx, 0x13
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
call fcn.1401167f0
mov rcx, rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x78]
call fcn.1400d83a0
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 0x140107ff6
mov rcx, qword [rsp + 0x78]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x48], 0
jle 0x140108007
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
test rbx, rbx
je 0x14010803f
mov eax, dword [rbx]
test eax, eax
jle 0x140108024
dec eax
mov dword [rbx], eax
cmp dword [rbx], 0
jne 0x14010803f
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rcx, rbx
call fcn.14021ae20
nop
lea rax, vtable.Core::Uri.0
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x140108060
call fcn.1402bcebc
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x140108072
call fcn.1402bcebc
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140108084
call fcn.1402bcebc
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x140108096
call fcn.1402bcebc
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x1401080a8
call fcn.1402bcebc
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x1401080bb
call fcn.1402bcebc
nop
mov al, 1
jmp 0x1401080cb
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