Function at 0x14001a8e0
Capabilities:
Get disk information
Set registry value
Write file on windows

Disassembly:
push rbp
push r13
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [0x1400a3080]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor r13d, r13d
lea r9, [rsp + 0x78]
mov dword [rsp + 0x38], r13d
lea rcx, [0x14008b418]
mov qword [rsp + 0x30], r13
xor r8d, r8d
mov qword [rsp + 0x28], r13
xor edx, edx
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x14001a950
lea rdx, str.Failed_to_get_volume_serial_number.
lea rcx, [0x1400a5930]
call fcn.14001b780
mov rcx, rax
call fcn.14001ba50
jmp 0x14001afa2
mov edx, dword [rsp + 0x78]
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x138], r14
call fcn.1400189e0
mov rdx, qword [rbp - 0x20]
lea r14, [rbp - 0x38]
mov rcx, qword [rbp - 0x38]
cmp rdx, 7
mov rsi, qword [rbp - 0x28]
movabs rdi, 0x7ffffffffffffffe
cmova r14, rcx
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
cmp rsi, rdi
ja 0x14001afc5
mov r8d, 0xa
cmp rsi, 7
ja 0x14001a9d9
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 7
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x80], xmm0
jmp 0x14001aa3a
mov rbx, rsi
or rbx, 7
cmp rbx, rdi
jbe 0x14001a9ea
mov rbx, rdi
jmp 0x14001a9f1
cmp rbx, r8
cmovb rbx, r8
inc rbx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x60], rbx
call fcn.140013e70
lea rcx, [rbx - 1]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x68], rcx
lea r8, [rsi*2 + 2]
mov rcx, rax
mov qword [rbp - 0x70], rsi
mov rdx, r14
call fcn.140079cc0
mov rdx, qword [rbp - 0x20]
mov r8d, 0xa
mov rcx, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x28]
mov rax, rdi
sub rax, rsi
cmp rax, 0xc
jb 0x14001afc5
mov qword [rsp + 0x140], r12
lea r14, [rbp - 0x58]
cmp rdx, 7
mov qword [rsp + 0x130], r15
lea r12, [rbp - 0x38]
mov qword [rbp - 0x48], r13
lea r15, [rsi + 0xc]
mov qword [rbp - 0x40], r13
mov ebx, 7
cmova r12, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
cmp r15, rbx
jbe 0x14001aabc
mov rax, r15
or rax, rbx
cmp rax, rdi
ja 0x14001aa9d
cmp rax, 0xa
mov rdi, rax
cmovb rdi, r8
lea rbx, [rdi + 1]
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x60], rbx
lea rcx, [rbp - 0x58]
call fcn.140013e70
mov r14, rax
mov qword [rbp - 0x58], rax
dec rbx
mov qword [rbp - 0x40], rbx
mov rdx, r12
lea rbx, [rsi + rsi]
mov qword [rbp - 0x48], r15
mov r8, rbx
mov rcx, r14
call fcn.140079cc0
movups xmm0, xmmword [str.DefaultIcon]
lea rdx, str.AAABAAEAAAAAAAEAIACTjwAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAIAAAACAAgGAAAA9HjUgAAAAFzUkdCAK7OHOkAAAAEZ0FNQQAAsY8L_GEFAAAACXBIWXMAAA7DAAAOwwHHb6hkAACPKElEQVR4Xu3dB1hVV_oGrkzE6WKUqSdTi8C0uy99y5It2HFgtg1YqxYY29xd6wYe8VEVEERUQEiYQEY2LURM299_sOMH_D7ImKRznlzfP8HjMmE3Wvtdf3rr3XXusf9Nc_yf8DAOWK78MSFU3YVJZYiKRSywkdaQiaSepjbSXXCwfLpfKYUyQKFVLGB7CNnSYpMJnskl8h_pr__QyFT_LfyWv6tXhHxT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xdID1tbWQRQCrKk_41RBUEcIAKA2lOf3GxoaupuamobZWNnE8WEcpm8gPwhMOACqCPJPWZTCJLk9hK1lpZWfU3MTHxob5tTPAkANQJAgCoDeX5_TRgdqGBc69cLH9AM6nfqPjzJ1eYYOmKPpKQCJ_Rf03TyqSHqMHaavr29DfRxPAkCdIABAueN3_hWNjIxcqlatGiy2FShwfO2QqJc8MffAsNsgDqjnel_FUqkd4T2YrWWVW16mdiYsK7BvJBQngSAOoAAQDKHQGxpUrV25HM_tvJJaIVX8xu9TaQDFzB80VdGTAKn8JQXaHJlYdkRkLQoyNDSsSv2dPxEUuhcAviQEACg33PeMjY2dqxSpUp3GyubhbyzGhV3t0P7_xBW7ymEPALhYC7UrH0
mov r8d, 0xbf8c
xorps xmm1, xmm1
lea rcx, [rbp]
movups xmmword [rbx + r14], xmm0
movsd xmm0, qword [0x14008b5b8]
movsd qword [rbx + r14 + 0x10], xmm0
xorps xmm0, xmm0
mov word [r14 + r15*2], r13w
movups xmmword [rbp], xmm0
movdqu xmmword [rbp + 0x10], xmm1
call fcn.14001bae0
xorps xmm0, xmm0
mov qword [rsp + 0x60], r13
lea r14, str.C:Windows7766.ico
mov qword [rsp + 0x68], r13
mov rdx, r14
lea rcx, [rsp + 0x50]
mov r8d, 0x13
movups xmmword [rsp + 0x50], xmm0
call fcn.140013c40
xorps xmm0, xmm0
lea rdx, [rbp]
xor eax, eax
lea rcx, [rbp - 0x18]
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rax
call fcn.14001a6c0
mov rbx, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
mov r15, qword [rsp + 0x130]
mov r12, qword [rsp + 0x140]
cmp rbx, rsi
jne 0x14001ad25
lea rdx, str.Failed_to_decode_BASE64_data.
lea rcx, [0x1400a5930]
call fcn.14001b780
mov rcx, rax
call fcn.14001ba50
test rbx, rbx
je 0x14001abd6
mov rdx, qword [rbp - 8]
mov rax, rbx
sub rdx, rbx
cmp rdx, 0x1000
jb 0x14001abce
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001afbf
mov rcx, rbx
call fcn.14004e604
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14001ac18
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ac13
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001afcb
call fcn.14004e604
cmp qword [rbp - 0x68], 7
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], r13
lea rdx, [rbp - 0x80]
cmova rdx, qword [rbp - 0x80]
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r13
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001ae23
mov rcx, qword [rsp + 0x70]
lea rax, str.NON_STOP
mov dword [rsp + 0x28], 0x12
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp - 0x40], 7
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], r13
lea rdx, [rbp - 0x58]
cmova rdx, qword [rbp - 0x58]
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r13
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001adfc
mov rcx, qword [rsp + 0x70]
lea r9d, [rax + 1]
mov dword [rsp + 0x28], 0x28
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.Registry_entries_added_successfully.
lea rcx, [0x1400a56e0]
call fcn.14001b780
jmp 0x14001ae50
cmp qword [rsp + 0x68], 7
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], r13
mov edx, 0x40000000
cmova rcx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001ad9b
lea rdx, str.Failed_to_create_file:
lea rcx, [0x1400a5930]
call fcn.14001b780
cmp qword [rsp + 0x68], 7
lea rdx, [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rax
cmova rdx, qword [rsp + 0x50]
call fcn.14001c4f0
jmp 0x14001ab95
sub esi, ebx
mov qword [rsp + 0x20], r13
mov r8d, esi
lea r9, [rbp - 0x60]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14001abd6
mov rdx, qword [rbp - 8]
mov rax, rbx
sub rdx, rbx
cmp rdx, 0x1000
jb 0x14001abce
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001afbf
jmp 0x14001abce
lea rdx, str.Failed_to_create_or_open_the_registry_key:
lea rcx, [0x1400a5930]
call fcn.14001b780
cmp qword [rbp - 0x40], 7
lea rdx, [rbp - 0x58]
mov r8, qword [rbp - 0x48]
cmova rdx, qword [rbp - 0x58]
jmp 0x14001ae48
lea rdx, str.Failed_to_create_or_open_the_registry_key:
lea rcx, [0x1400a5930]
call fcn.14001b780
cmp qword [rbp - 0x68], 7
lea rdx, [rbp - 0x80]
mov r8, qword [rbp - 0x70]
cmova rdx, qword [rbp - 0x80]
mov rcx, rax
call fcn.14001c4f0
mov rcx, rax
call fcn.14001ba50
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x14001ae93
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ae8e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001afb9
call fcn.14004e604
mov rdx, qword [rbp - 0x40]
movdqa xmm0, xmmword [0x140097e60]
mov byte [rbp], r13b
movdqu xmmword [rbp + 0x10], xmm0
cmp rdx, 7
jbe 0x14001aee4
mov rcx, qword [rbp - 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aedf
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001afb9
call fcn.14004e604
mov rdx, qword [rbp - 0x68]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r13w
cmp rdx, 7
jbe 0x14001af35
mov rcx, qword [rbp - 0x80]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001af30
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001afb9
call fcn.14004e604
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r13w
cmp rdx, 7
jbe 0x14001af82
mov rcx, qword [rbp - 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001af7d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001afb9
call fcn.14004e604
mov rdi, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x160]
mov r14, qword [rsp + 0x138]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14004dfe0
add rsp, 0x148
pop r13
pop rbp
ret
call fcn.140054e14
int3
call fcn.140054e14
int3
call fcn.1400052f0
int3
call fcn.140054e14
int3