Function at 0x140106cb0
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 [0x1403fe1b0], 0
jne 0x140106d03
mov r8d, 0x104
lea rdx, [0x1403fe1b0]
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, [0x1403fe1b0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401070e9
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.1401e9030
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.14029b4d8
lea edx, [r13 + 0x2b]
lea rcx, [rsp + 0x50]
call fcn.1401ea290
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.1401ebc30
nop
cmp dword [rsp + 0x58], r13d
jle 0x140106dbe
mov rcx, qword [rsp + 0x50]
call fcn.140298600
lea rcx, [rsp + 0xa0]
call fcn.1401ee650
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 0x140106e16
mov ecx, 4
call fcn.14029806c
mov rbx, rax
test rax, rax
je 0x140106e08
mov dword [rax], r13d
mov qword [rsp + 0x70], rax
jmp 0x140106e10
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.1401e9030
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 4
lea r8, str.HEAD
mov rcx, qword [rsp + 0x40]
call fcn.14029b4d8
mov edx, 4
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
mov edx, dword [rsp + 0x4c]
lea rcx, [rdi + 0x68]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rsp + 0x4c]
lea rcx, [rdi + 0x68]
call fcn.1401ea290
nop
cmp dword [rsp + 0x48], 0
jle 0x140106ea1
mov rcx, qword [rsp + 0x40]
call fcn.140298600
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 0x140106f0f
mov rax, qword [rax]
call qword [rax + 8]
mov dword [r15], eax
test eax, eax
jle 0x140106ee0
cmp eax, r12d
setne al
mov byte [r14], al
mov rax, qword [0x1403fd770]
cmp qword [rax + 8], 0
je 0x140106f0f
mov eax, dword [r15]
cmp eax, 0x677fe8
je 0x140106eff
cmp eax, 0x76c6f8
jne 0x140106f0f
lea rcx, str.Skip_revert_to_build_138_n
call fcn.140298d38
mov byte [r14], 0
mov byte [rsp + 0x120], 1
cmp byte [r14], 0
jne 0x140107035
mov eax, dword [0x1403fe608]
test al, 1
jne 0x140106f59
or eax, 1
mov dword [0x1403fe608], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x1403fe5e0], rax
mov qword [0x1403fe5e8], 0xffffffff80000002
lea rcx, [0x1402de040]
call fcn.140299c6c
lea rdx, [0x140329c48]
lea rcx, [0x1403fe5e0]
call fcn.1400ec430
mov rsi, rax
test rax, rax
je 0x140107035
mov qword [rsp + 0x48], r13
mov edx, 0x13
lea rcx, [rsp + 0x40]
call fcn.1401e9030
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.14029b4d8
mov edx, 0x13
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
call fcn.140114940
mov rcx, rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x78]
call fcn.1400d3af0
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 0x140107016
mov rcx, qword [rsp + 0x78]
call fcn.140298600
nop
cmp dword [rsp + 0x48], 0
jle 0x140107027
mov rcx, qword [rsp + 0x40]
call fcn.140298600
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
test rbx, rbx
je 0x14010705f
mov eax, dword [rbx]
test eax, eax
jle 0x140107044
dec eax
mov dword [rbx], eax
cmp dword [rbx], 0
jne 0x14010705f
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rcx, rbx
call fcn.1402012c0
nop
lea rax, vtable.Core::Uri.0
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x140107080
call fcn.1402983dc
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x140107092
call fcn.1402983dc
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1401070a4
call fcn.1402983dc
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x1401070b6
call fcn.1402983dc
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x1401070c8
call fcn.1402983dc
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x1401070db
call fcn.1402983dc
nop
mov al, 1
jmp 0x1401070eb
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