Function at 0x140001510
Capabilities:
Get common file path
Get disk information
Terminate process

Disassembly:
jmp 0x140001518
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword gs:[0x30]
lea rdx, [0x1400014d4]
xor ecx, ecx
mov qword [0x1400143e8], rax
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
lea rcx, [rsp + 0x40]
mov qword [0x1400143e0], rax
call fcn.140001968
mov edx, 0x104
mov byte [rbp - 0x40], 0
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
and dword [rsp + 0x38], 0
lea r9, [rbp + 0x308]
and qword [rsp + 0x30], 0
lea rcx, [rbp - 0x40]
and qword [rsp + 0x28], 0
xor r8d, r8d
and qword [rsp + 0x20], 0
xor edx, edx
and dword [rbp + 0x308], 0
mov byte [rbp - 0x3d], 0
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rdx, [0x1400113f4]
lea rcx, [rsp + 0x40]
call fcn.140001990
lea rcx, [rbp + 0x300]
call fcn.1400011ac
mov r8d, dword [rbp + 0x308]
lea rcx, [rsp + 0x40]
mov rdx, rax
call fcn.140001a70
mov eax, 0x30
xor r9d, r9d
mov word [rbp + 0xd0], ax
xor r8d, r8d
lea rax, [rbp + 0xd0]
mov edx, 0x801a
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140001642
lea r8, [rbp - 0x70]
xor edx, edx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x140001642
lea rcx, [rbp + 0x300]
call fcn.1400012d0
mov r9d, dword [rbp - 0x6c]
lea rcx, [rsp + 0x40]
mov r8d, dword [rbp - 0x68]
mov rdx, rax
call fcn.140001a70
lea rcx, [rbp + 0x300]
call fcn.140001130
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001990
mov ebx, 0x7007
mov dword [rsp + 0x50], 0x7066706c
mov ecx, 0xa
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x54], 0x70707054
mov dword [rsp + 0x5c], 0x85c77007
call fcn.1400026b0
lea r8, [rsp + 0x50]
mov rdx, rax
sub r8, rax
mov r9d, 5
mov ecx, ebx
xor cx, word [r8 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r9, 1
jne 0x140001697
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001990
lea rdx, [0x1400113f8]
lea rcx, [rsp + 0x40]
call fcn.140001990
lea rcx, [rbp + 0x300]
call fcn.14000123c
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001990
mov ecx, 0xc
mov dword [rsp + 0x60], 0x706a704d
mov dword [rsp + 0x64], 0x70787067
mov ebx, 0x700b
mov dword [rsp + 0x68], 0x700b706e
mov dword [rsp + 0x6c], 0x85c7700b
call fcn.1400026b0
lea r10, [rsp + 0x60]
mov r8, rax
sub r10, rax
mov r9d, 6
mov ecx, ebx
xor cx, word [r10 + r8]
mov word [r8], cx
lea r8, [r8 + 2]
sub r9, 1
jne 0x140001722
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001990
lea rdx, [0x1400113f8]
lea rcx, [rsp + 0x40]
call fcn.140001990
lea rcx, [rsp + 0x40]
call fcn.1400031c4
lea rbx, [0x140011400]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140001990
lea rcx, [rsp + 0x40]
call fcn.1400073fc
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140001990
lea rcx, [rsp + 0x40]
call fcn.140009ac8
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140001990
lea rcx, [rsp + 0x40]
call fcn.14000b424
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140001990
lea rcx, [rsp + 0x40]
call fcn.14000dc08
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140001990
lea rcx, [rsp + 0x40]
call fcn.14000c378
lea rdx, [0x140011404]
lea rcx, [rsp + 0x40]
call fcn.140001990
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp + 0x310]
and qword [rbp + 0x310], 0
call fcn.14000e8a0
lea rcx, [rsp + 0x70]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov bl, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rdi, rax
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [rsp + 0x78]
movzx eax, word [rsp + 0x7c]
movzx edx, word [rbp - 0x78]
sub edx, ecx
movzx ecx, word [rsp + 0x7a]
imul r8d, edx, 0x3c
sub r8d, ecx
movzx ecx, word [rbp - 0x76]
add r8d, ecx
imul ecx, r8d, 0x3c
sub ecx, eax
movzx eax, word [rbp - 0x74]
add ecx, eax
cmp ecx, 0x5a
jg 0x140001879
cmp bl, 1
je 0x140001879
mov edx, 0x4e20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140001826
lea rcx, [rbp + 0x300]
xor bl, bl
call fcn.140001000
mov r8d, dword [rbp + 0x310]
mov rcx, rax
mov rdx, rsi
call fcn.14000250c
test al, al
jne 0x1400018dd
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [rbp + 0x300]
call fcn.1400013a4
mov r8d, dword [rbp + 0x310]
mov rcx, rax
mov rdx, rsi
call fcn.14000250c
test al, al
jne 0x1400018dd
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
jmp 0x140001826
lea rcx, [rsp + 0x40]
call fcn.14000195c
mov rcx, qword [0x1400143e0]
call qword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
xor edx, edx
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rsp + 0x418]
xor eax, eax
add rsp, 0x3e0
pop rdi
pop rsi
pop rbp
ret