Function at 0x14001b2d0
Capabilities:
Accept command line arguments
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x14002a010]
xor rax, rsp
mov qword [rbp + 0x318], rax
xor esi, esi
lea rdx, [rbp + 0x130]
mov rcx, r8
mov dword [rbp + 0x130], esi
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea rbx, [rsi - 1]
xorps xmm0, xmm0
mov r15, rax
mov qword [rbp + 0x148], rsi
mov r14d, esi
movdqu xmmword [rbp + 0x138], xmm0
cmp dword [rbp + 0x130], esi
jle 0x14001b410
mov rdi, rax
nop
mov rdx, qword [rdi]
mov r8, rbx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
nop dword [rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x14001b360
lea rcx, [rsp + 0x40]
call fcn.140010e80
mov rdx, qword [rbp + 0x140]
cmp rdx, qword [rbp + 0x148]
je 0x14001b3a9
movups xmm0, xmmword [rsp + 0x40]
mov word [rsp + 0x40], si
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add qword [rbp + 0x140], 0x20
mov edx, 7
jmp 0x14001b3bf
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x138]
call fcn.14000f930
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001b3fc
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b3f7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b7d8
call fcn.14001f1ac
inc r14d
add rdi, 8
cmp r14d, dword [rbp + 0x130]
jl 0x14001b340
mov rcx, r15
mov qword [rsp + 0x450], r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r8d, 5
mov qword [rsp + 0x60], rsi
lea rdx, str.mount
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], 7
call fcn.140010e80
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x2f8]
call fcn.14001afb0
mov r8d, 4
mov qword [rbp - 0x80], rsi
lea rdx, str.type
mov qword [rbp - 0x70], rsi
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x68], 7
call fcn.140010e80
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x150]
call fcn.14001afb0
mov r8d, 4
mov qword [rbp - 0x60], rsi
lea rdx, str.size
mov qword [rbp - 0x50], rsi
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x48], 7
call fcn.140010e80
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x238]
call fcn.14001afb0
mov r8d, 5
mov qword [rbp - 0x40], rsi
lea rdx, str.image
mov qword [rbp - 0x30], rsi
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x28], 7
call fcn.140010e80
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x178]
call fcn.14001afb0
mov r8d, 3
mov qword [rbp - 0x20], rsi
lea rdx, [0x1400247b8]
mov qword [rbp - 0x10], rsi
lea rcx, [rbp - 0x20]
mov qword [rbp - 8], 7
call fcn.140010e80
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x218]
call fcn.14001afb0
mov r8d, 6
mov qword [rbp], rsi
lea rdx, str.cipher
mov qword [rbp + 0x10], rsi
lea rcx, [rbp]
mov qword [rbp + 0x18], 7
call fcn.140010e80
lea r8, [rbp]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x258]
call fcn.14001afb0
mov r8d, 6
mov qword [rbp + 0x20], rsi
lea rdx, str.format
mov qword [rbp + 0x30], rsi
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x38], 7
call fcn.140010e80
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x2d8]
call fcn.14001afb0
mov qword [rbp + 0x40], rsi
mov r8d, 6
mov qword [rbp + 0x50], rsi
lea rdx, str.params
mov qword [rbp + 0x58], 7
lea rcx, [rbp + 0x40]
call fcn.140010e80
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x2b8]
call fcn.14001afb0
mov r8d, 7
mov qword [rbp + 0x60], rsi
lea rdx, str.new_key
mov qword [rbp + 0x70], rsi
lea rcx, [rbp + 0x60]
mov qword [rbp + 0x78], 7
call fcn.140010e80
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x1f8]
call fcn.14001afb0
mov r8d, 6
mov qword [rbp + 0x80], rsi
lea rdx, str.backup
mov qword [rbp + 0x90], rsi
lea rcx, [rbp + 0x80]
mov qword [rbp + 0x98], 7
call fcn.140010e80
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x1d8]
call fcn.14001afb0
mov r8d, 7
mov qword [rbp + 0xa0], rsi
lea rdx, str.restore
mov qword [rbp + 0xb0], rsi
lea rcx, [rbp + 0xa0]
mov qword [rbp + 0xb8], 7
call fcn.140010e80
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x1b8]
call fcn.14001afb0
mov r8d, 5
mov qword [rbp + 0xc0], rsi
lea rdx, str.proxy
mov qword [rbp + 0xd0], rsi
lea rcx, [rbp + 0xc0]
mov qword [rbp + 0xd8], 7
call fcn.140010e80
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x298]
call fcn.14001afb0
mov r8d, 5
mov qword [rbp + 0xe0], rsi
lea rdx, str.event
mov qword [rbp + 0xf0], rsi
lea rcx, [rbp + 0xe0]
mov qword [rbp + 0xf8], 7
call fcn.140010e80
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x278]
call fcn.14001afb0
mov r8d, 7
mov qword [rbp + 0x100], rsi
lea rdx, str.section
mov qword [rbp + 0x110], rsi
lea rcx, [rbp + 0x100]
mov qword [rbp + 0x118], 7
call fcn.140010e80
lea r8, [rbp + 0x100]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x198]
call fcn.14001afb0
cmp qword [rbp + 0x248], rsi
jne 0x14001b7df
mov r14d, 0x80000000
jmp 0x14001b7ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp qword [rbp + 0x250], 8
lea rcx, [rbp + 0x238]
cmovae rcx, qword [rbp + 0x238]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi64]
mov r14, rax
cmp qword [rbp + 0x168], 8
lea rcx, [rbp + 0x150]
lea rdx, str.virtual
cmovae rcx, qword [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov r12d, 1
test eax, eax
je 0x14001b9e6
cmp qword [rbp + 0x168], 8
lea rcx, [rbp + 0x150]
lea rdx, [0x140024860]
cmovae rcx, qword [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14001b9e6
cmp qword [rbp + 0x168], 8
lea rcx, [rbp + 0x150]
lea rdx, str.physical
cmovae rcx, qword [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14001b995
cmp qword [rbp + 0x168], 8
lea rcx, [rbp + 0x150]
lea rdx, [0x140024880]
cmovae rcx, qword [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14001b995
cmp qword [rbp + 0x168], 8
lea rcx, [rbp + 0x150]
lea rdx, str.image
cmovae rcx, qword [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14001b916
cmp qword [rbp + 0x168], 8
lea rcx, [rbp + 0x150]
lea rdx, [0x140024888]
cmovae rcx, qword [rbp + 0x150]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14001b916
lea rcx, str.Invalid_disk_type._n
call fcn.14000f040
jmp 0x14001bf23
mov ecx, 0x10
call fcn.14001ef20
mov rdi, rax
mov ecx, 0x30
mov qword [rax + 8], rsi
lea rax, vtable.CImageFileIO.0
mov qword [rdi], rax
call fcn.14001ef20
lea rcx, [rbp + 0x178]
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov qword [rax + 0x20], rsi
mov qword [rax + 0x28], rbx
mov qword [rdi + 8], rax
cmp rax, rcx
je 0x14001b98c
cmp qword [rbp + 0x190], 8
lea rdx, [rbp + 0x178]
mov r8, qword [rbp + 0x188]
mov rcx, rax
cmovae rdx, qword [rbp + 0x178]
call fcn.140010e80
mov rax, qword [rdi + 8]
mov qword [rax + 0x20], r14
jmp 0x14001ba70
mov ecx, 0x10
call fcn.14001ef20
mov rdi, rax
mov ecx, 0x50
mov qword [rax + 8], rsi
lea rax, vtable.CPhysicalMemoryIO.0
mov qword [rdi], rax
call fcn.14001ef20
xorps xmm0, xmm0
mov qword [rax + 0x20], rsi
mov qword [rax + 0x28], rsi
mov qword [rax + 0x40], rsi
mov qword [rax + 0x48], rsi
mov qword [rdi + 8], rax
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x14001ba21
mov ecx, 0x10
call fcn.14001ef20
mov rdi, rax
mov ecx, 0x30
mov qword [rax + 8], rsi
lea rax, vtable.CVirtualMemoryIO.0
mov qword [rdi], rax
call fcn.14001ef20
xorps xmm0, xmm0
mov qword [rax + 0x28], rsi
mov qword [rdi + 8], rax
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov rax, qword [rdi + 8]
mov qword [rax], r14
mov rax, qword [rdi + 8]
mov dword [rax + 0x10], 0x14
mov rdx, qword [rdi + 8]
cmp dword [rdx + 0x10], 0xc
jge 0x14001ba48
mov dword [rdx + 0x10], 0xc
mov rdx, qword [rdi + 8]
cmp dword [rdx + 0x10], 0x1e
jle 0x14001ba59
mov dword [rdx + 0x10], 0x1e
mov rdx, qword [rdi + 8]
mov ecx, dword [rdx + 0x10]
mov eax, r12d
shl eax, cl
mov dword [rdx + 8], eax
mov rcx, qword [rdi + 8]
mov eax, dword [rcx + 8]
dec eax
mov dword [rcx + 0xc], eax
cmp qword [rbp + 0x1e8], rsi
je 0x14001bbbe
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov r15d, eax
test eax, eax
jne 0x14001bd0a
mov edx, 0x800
lea r9d, [rax + 4]
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x14001bd12
mov edx, 0x800
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualLock]
mov rax, qword [rdi]
xor r9d, r9d
mov r8d, 0x800
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x38]
test al, al
jne 0x14001bb3c
lea r8d, [r15 + 0x30]
mov rcx, rbx
lea rdx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jne 0x14001bb21
cmp qword [rbp + 0x100], rbx
jne 0x14001bb21
cmp qword [rbp + 0x108], rbx
jne 0x14001bb21
mov rdx, qword [rbp + 0x118]
xor eax, eax
mov rcx, rdx
mov rdi, rbx
rep stosb byte [rdi], al
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualUnlock]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov ebx, 2
jmp 0x14001bf23
cmp qword [rbp + 0x1f0], 8
lea rcx, [rbp + 0x1d8]
mov qword [rsp + 0x30], rsi
mov r8d, r12d
cmovae rcx, qword [rbp + 0x1d8]
mov edx, 0xc0000000
xor r9d, r9d
mov dword [rsp + 0x28], 0xa0000000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001bcab
lea r9, [rbp + 0x170]
mov qword [rsp + 0x20], rsi
mov r8d, 0x800
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r14d, 2
mov rcx, rdi
test eax, eax
cmove r15d, r14d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001bcb1
cmp qword [rbp + 0x1c8], rsi
je 0x14001bd28
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov r15d, eax
test eax, eax
jne 0x14001bd0a
mov edx, 0x800
lea r9d, [rax + 4]
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x14001bd12
mov edx, 0x800
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualLock]
cmp qword [rbp + 0x1d0], 8
lea rcx, [rbp + 0x1b8]
mov qword [rsp + 0x30], rsi
mov r8d, r12d
cmovae rcx, qword [rbp + 0x1b8]
mov edx, 0xc0000000
xor r9d, r9d
mov dword [rsp + 0x28], 0xa0000000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14001bcab
lea r9, [rbp + 0x170]
mov qword [rsp + 0x20], rsi
mov r8d, 0x800
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r14d, 2
mov rcx, r12
test eax, eax
cmove r15d, r14d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
jne 0x14001bcb1
mov rax, qword [rdi]
xor r9d, r9d
mov r8d, 0x800
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x30]
test al, al
cmove r15d, r14d
jmp 0x14001bcb1
mov r15d, 2
mov r8d, 0x30
lea rdx, [rbp + 0x100]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jne 0x14001bcf9
cmp qword [rbp + 0x100], rbx
jne 0x14001bcf9
cmp qword [rbp + 0x108], rbx
jne 0x14001bcf9
mov rdx, qword [rbp + 0x118]
xor eax, eax
mov rcx, rdx
mov rdi, rbx
rep stosb byte [rdi], al
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualUnlock]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov ebx, r15d
jmp 0x14001bf23
lea rcx, str.Malloc_Failed_n
call fcn.14000f040
mov ebx, 0xd
jmp 0x14001bf23
mov r14d, 2
cmp qword [rbp + 0x1a8], rsi
je 0x14001bd7c
cmp qword [rbp + 0x1b0], 8
lea r8, [rbp + 0x198]
cmovae r8, qword [rbp + 0x198]
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test rax, rax
je 0x14001bd7c
xor r9d, r9d
mov qword [rsp + 0x20], 0x1000
xor r8d, r8d
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
cmp qword [rbp + 0x228], 0
jne 0x14001bde1
cmp qword [rbp + 0x268], 0
je 0x14001be54
test rsi, rsi
jne 0x14001bda1
lea ebx, [rsi + 5]
jmp 0x14001bf23
mov ecx, 0x18
call fcn.14001ef20
xor ecx, ecx
lea r9, [rbp + 0x258]
xorps xmm0, xmm0
mov r8, rsi
mov rdx, rdi
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov rcx, rax
call fcn.140010170
xor edx, edx
mov r8d, 0x1000
mov rcx, rsi
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
jmp 0x14001be23
mov ecx, 0x18
call fcn.14001ef20
xor ecx, ecx
lea r8, [rbp + 0x218]
cmp qword [rbp + 0x230], 8
lea r9, [rbp + 0x258]
xorps xmm0, xmm0
mov rdx, rdi
cmovae r8, qword [rbp + 0x218]
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov rcx, rax
call fcn.140010170
mov rdi, rax
cmp qword [rbp + 0x208], 0
je 0x14001be54
cmp qword [rbp + 0x210], 8
lea rdx, [rbp + 0x1f8]
mov rax, qword [rdi]
mov rcx, rdi
cmovae rdx, qword [rbp + 0x1f8]
call qword [rax + 0x48]
mov ebx, eax
jmp 0x14001bf23
test rdi, rdi
je 0x14001bf20
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov r12d, eax
test eax, eax
jne 0x14001bf20
lea ecx, [rax + 0x18]
call fcn.14001ef20
mov rcx, rax
call fcn.14001c010
lea rdx, [rbp + 0x2b8]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x2d8]
mov rdx, rdi
lea r8, [rbp + 0x2f8]
call fcn.14001c090
cmp qword [rbp + 0x2a8], 0
mov rdi, rax
je 0x14001bebf
lea rdx, [rbp + 0x298]
mov rcx, rax
call fcn.14001c330
cmp qword [rbp + 0x288], 0
je 0x14001bef7
lea rcx, [rbp + 0x278]
call fcn.14000f730
mov r8, rax
xor edx, edx
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_OpenEventW]
test rax, rax
je 0x14001bef7
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001bef7
mov qword [rcx + 0x88], rax
test rsi, rsi
je 0x14001bf07
mov r8, rsi
mov rcx, rdi
call fcn.14001c360
xor edx, edx
mov ecx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov rcx, rdi
call fcn.14001c9c0
mov ebx, eax
jmp 0x14001bf23
mov ebx, r12d
lea rcx, [rbp + 0x198]
call fcn.14000f740
lea rcx, [rbp + 0x278]
call fcn.14000f740
lea rcx, [rbp + 0x298]
call fcn.14000f740
lea rcx, [rbp + 0x1b8]
call fcn.14000f740
lea rcx, [rbp + 0x1d8]
call fcn.14000f740
lea rcx, [rbp + 0x1f8]
call fcn.14000f740
lea rcx, [rbp + 0x2b8]
call fcn.14000f740
lea rcx, [rbp + 0x2d8]
call fcn.14000f740
lea rcx, [rbp + 0x258]
call fcn.14000f740
lea rcx, [rbp + 0x218]
call fcn.14000f740
lea rcx, [rbp + 0x178]
call fcn.14000f740
lea rcx, [rbp + 0x238]
call fcn.14000f740
lea rcx, [rbp + 0x150]
call fcn.14000f740
lea rcx, [rbp + 0x2f8]
call fcn.14000f740
lea rcx, [rbp + 0x138]
call fcn.14001c020
mov r12, qword [rsp + 0x450]
mov eax, ebx
mov rcx, qword [rbp + 0x318]
xor rcx, rsp
call fcn.14001ef00
mov rbx, qword [rsp + 0x458]
add rsp, 0x420
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret