Function at 0x14006beb0
Capabilities:
Create thread
Get disk size
Set registry value

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rcx, qword [0x1401e8710]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0xd0f
mov rbx, rax
call fcn.1400207e0
mov ecx, 0xd0e
mov qword [rbp - 0x68], rax
call fcn.1400207e0
mov ecx, 0xd10
mov qword [rbp - 0x60], rax
call fcn.1400207e0
mov qword [rbp - 0x58], rax
xorps xmm0, xmm0
lea rax, [rbp - 0x50]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x70], rax
lea r15, str..vhd
mov qword [rbp - 0x78], r15
movups xmmword [0x1401e5c10], xmm0
movups xmmword [0x1401e5c20], xmm0
movups xmmword [0x1401e5c30], xmm0
test ebx, ebx
js 0x14006c484
cmp qword [0x14019f548], 0
jne 0x14006c484
mov qword [rsp + 0x270], rsi
lea rcx, [0x14019f5e8]
mov qword [rsp + 0x278], rdi
lea r9, [0x14014f9f0]
movsxd rbx, ebx
mov edx, 0x80
imul rax, rbx, 0x38
mov qword [rsp + 0x280], r12
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x288], r14
mov rax, qword [rax + rcx]
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call fcn.140004960
mov rcx, qword [0x1401e8710]
xor r9d, r9d
mov r8, rbx
mov byte [rbp + 0x2f], 0
mov edx, 0x150
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
mov dword [0x1401e5c14], eax
call fcn.140005900
cmp dword [0x14019f534], 0
mov qword [0x1401e5c28], rax
je 0x14006bffe
cmp dword [0x1401e911c], 1
mov r11d, 3
je 0x14006c004
mov r11d, 2
mov rsi, qword [0x1401a03d0]
lea r12, str._NULL_
mov ecx, 1
mov qword [rsp + 0x78], r11
test rsi, rsi
mov dword [rsp + 0x50], 1
mov r9d, ecx
mov r14d, ecx
cmove rsi, r12
mov r10d, ecx
mov eax, ecx
nop word [rax + rax]
lea eax, [rax - 1]
mov r8, r12
mov rdi, qword [r15 + rax*8]
mov ebx, r11d
add rdi, 2
mov rax, rsi
cmovne r8, rdi
test rdi, rdi
cmovne r10d, ecx
sub r8, rsi
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14006c075
inc rax
test ecx, ecx
jne 0x14006c062
test edx, edx
je 0x14006c099
test rdi, rdi
cmovne r9d, r14d
inc r9d
mov dword [rsp + 0x50], r9d
mov eax, r9d
mov r10d, r9d
mov r14d, r9d
mov ecx, r9d
cmp r9d, r11d
jbe 0x14006c040
mov r14, qword [rsp + 0x288]
mov r12, qword [rsp + 0x280]
cmp r10d, ebx
jbe 0x14006c0b6
mov dword [rsp + 0x50], 2
xor edx, edx
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x78]
lea ecx, [rdx + 1]
call fcn.140052aa0
xor esi, esi
mov qword [0x1401e5c30], rax
mov r8, rax
test rax, rax
je 0x14006c445
mov rcx, qword [rsp + 0x78]
mov dword [rsp + 0x50], ecx
test ecx, ecx
je 0x14006c127
mov eax, ecx
nop
lea eax, [rax - 1]
mov rcx, r8
mov rdx, qword [r15 + rax*8]
inc rdx
call fcn.1400b3650
test rax, rax
jne 0x14006c11f
mov eax, dword [rsp + 0x50]
sub eax, 1
mov ecx, eax
mov dword [rsp + 0x50], eax
je 0x14006c123
mov r8, qword [0x1401e5c30]
jmp 0x14006c0f0
mov ecx, dword [rsp + 0x50]
test ecx, ecx
jne 0x14006c140
lea rcx, str.Warning:_Can_not_determine_image_type_from_extension___Saving_to_uncompressed_VHD.
call fcn.14004f910
mov dword [rsp + 0x50], 1
jmp 0x14006c295
lea eax, [rcx - 1]
mov rdi, qword [r15 + rax*8]
add rdi, 2
cmp qword [0x14019f500], rsi
mov qword [0x1401a03d0], rdi
je 0x14006c16f
mov rdx, rdi
lea rcx, str.PreferredSaveImageType
call fcn.140026ef0
jmp 0x14006c295
test rdi, rdi
jne 0x14006c179
mov rbx, rsi
jmp 0x14006c189
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], sil
jne 0x14006c180
mov edx, 0x5c
mov qword [rsp + 0x58], rsi
lea rcx, str.PreferredSaveImageType
mov qword [rsp + 0x60], rsi
call fcn.1400b35d4
test rax, rax
je 0x14006c1c2
mov r8d, 0x91
lea rdx, str.D:_a_rufus_rufus_src_registry.h
lea rcx, str.strchr_key_name_____NULL
call fcn.1400fc264
mov edx, 0x5c
lea rcx, str.PreferredSaveImageType
call fcn.1400b35d4
test rax, rax
jne 0x14006c295
lea rax, [rsp + 0x58]
mov r9d, 0x2001d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14006c209
mov qword [rsp + 0x58], rsi
jmp 0x14006c285
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rdx, str.SOFTWAREAkeo_ConsultingRufus
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 7
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14006c251
mov qword [rsp + 0x60], rsi
jmp 0x14006c275
mov rcx, qword [rsp + 0x60]
lea rdx, str.PreferredSaveImageType
mov dword [rsp + 0x28], ebx
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14006c285
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14006c295
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x50]
sub eax, 1
je 0x14006c2bb
cmp eax, 2
je 0x14006c2af
mov dword [0x1401e5c10], 3
jmp 0x14006c2c5
mov dword [0x1401e5c10], 0x63
jmp 0x14006c2c5
mov dword [0x1401e5c10], 2
cmp qword [0x1401e5c28], rsi
mov rax, qword [0x1401e9100]
mov qword [0x1401e5c20], rax
mov dword [0x1401e5c18], 0x2000000
je 0x14006c445
cmp qword [0x1401e5c30], rsi
je 0x14006c445
mov rcx, qword [0x1401e8a68]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1401e5c10], 2
mov dword [0x14019f0a0], esi
jne 0x14006c386
mov rcx, qword [0x1401e5c30]
lea rdx, [rbp + 0x30]
mov r8d, 0x104
mov qword [rsp + 0x68], rsi
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
test eax, eax
je 0x14006c386
xor r9d, r9d
lea rdx, [rsp + 0x68]
xor r8d, r8d
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x14006c386
mov rax, qword [0x1401e9100]
add rax, 0x200
cmp qword [rsp + 0x68], rax
jge 0x14006c386
lea rcx, str.The_VHD_size_is_too_large_for_the_target_drive
call fcn.14004f910
mov dword [0x14019f0a0], 0xc00300df
jmp 0x14006c42d
xor edx, edx
xor ecx, ecx
call fcn.140033600
mov ecx, 1
mov dword [0x14019f0a0], esi
call fcn.140066370
cmp dword [0x1401e5c10], 0x63
lea rax, [0x14006bd60]
lea r8, [0x14006b9b0]
mov qword [rsp + 0x28], rsi
cmove r8, rax
mov dword [rsp + 0x20], esi
xor edx, edx
lea r9, [0x1401e5c10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14019f548], rax
test rax, rax
je 0x14006c417
lea rcx, str._r_nSave_to_VHD_operation_started
call fcn.14004f910
xor edx, edx
mov r9d, 0xffffffff
xor r8d, r8d
lea ecx, [rdx + 1]
call fcn.140020c90
mov rcx, qword [0x1401e8a68]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8009
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14006c445
lea rcx, str.Unable_to_start_VHD_save_thread
call fcn.14004f910
mov dword [0x14019f0a0], 0xe0031205
mov rcx, qword [0x1401e8a68]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8000
call qword [sym.imp.USER32.dll_PostMessageW]
cmp qword [0x14019f548], rsi
mov rdi, qword [rsp + 0x278]
jne 0x14006c47c
mov rcx, qword [0x1401e5c28]
call fcn.1400e9080
mov rcx, qword [0x1401e5c30]
mov qword [0x1401e5c28], rsi
call fcn.1400e9080
mov qword [0x1401e5c30], rsi
mov rsi, qword [rsp + 0x270]
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400b1f80
add rsp, 0x250
pop r15
pop rbx
pop rbp
ret