Function at 0x140105450
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 [0x1404295c0], 0
jne 0x1401054a3
mov r8d, 0x104
lea rdx, [0x1404295c0]
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, [0x1404295c0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140105889
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.1401fcb40
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.1402ba94c
lea edx, [r13 + 0x2b]
lea rcx, [rsp + 0x50]
call fcn.1401fde50
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.1401ff7f0
nop
cmp dword [rsp + 0x58], r13d
jle 0x14010555e
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
lea rcx, [rsp + 0xa0]
call fcn.140202210
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 0x1401055b6
mov ecx, 4
call fcn.1402b6dbc
mov rbx, rax
test rax, rax
je 0x1401055a8
mov dword [rax], r13d
mov qword [rsp + 0x70], rax
jmp 0x1401055b0
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.1401fcb40
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 4
lea r8, str.HEAD
mov rcx, qword [rsp + 0x40]
call fcn.1402ba94c
mov edx, 4
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
mov edx, dword [rsp + 0x4c]
lea rcx, [rdi + 0x68]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rsp + 0x4c]
lea rcx, [rdi + 0x68]
call fcn.1401fde50
nop
cmp dword [rsp + 0x48], 0
jle 0x140105641
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
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 0x1401056af
mov rax, qword [rax]
call qword [rax + 8]
mov dword [r15], eax
test eax, eax
jle 0x140105680
cmp eax, r12d
setne al
mov byte [r14], al
mov rax, qword [0x140428b40]
cmp qword [rax + 8], 0
je 0x1401056af
mov eax, dword [r15]
cmp eax, 0x677fe8
je 0x14010569f
cmp eax, 0x76c6f8
jne 0x1401056af
lea rcx, str.Skip_revert_to_build_138_n
call fcn.1402b7a88
mov byte [r14], 0
mov byte [rsp + 0x120], 1
cmp byte [r14], 0
jne 0x1401057d5
mov eax, dword [0x140429a18]
test al, 1
jne 0x1401056f9
or eax, 1
mov dword [0x140429a18], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x1404299f0], rax
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
lea rdx, [0x14034ce18]
lea rcx, [0x1404299f0]
call fcn.1400ea630
mov rsi, rax
test rax, rax
je 0x1401057d5
mov qword [rsp + 0x48], r13
mov edx, 0x13
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
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.1402ba94c
mov edx, 0x13
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
call fcn.140113b80
mov rcx, rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x78]
call fcn.1400d6eb0
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 0x1401057b6
mov rcx, qword [rsp + 0x78]
call fcn.1402b7350
nop
cmp dword [rsp + 0x48], 0
jle 0x1401057c7
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
test rbx, rbx
je 0x1401057ff
mov eax, dword [rbx]
test eax, eax
jle 0x1401057e4
dec eax
mov dword [rbx], eax
cmp dword [rbx], 0
jne 0x1401057ff
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rcx, rbx
call fcn.1402150f0
nop
lea rax, vtable.Core::Uri.0
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x140105820
call fcn.1402b712c
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x140105832
call fcn.1402b712c
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140105844
call fcn.1402b712c
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x140105856
call fcn.1402b712c
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140105868
call fcn.1402b712c
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x14010587b
call fcn.1402b712c
nop
mov al, 1
jmp 0x14010588b
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