Function at 0x140097914
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rdi, rcx
lea rcx, [rax + 0x10]
call fcn.14005aec8
lea rcx, [rsp + 0xa8]
mov edx, 5
call fcn.140063314
lea rcx, [rsp + 0x40]
mov edx, 0x14
call fcn.140063314
mov rax, qword [rsp + 0x98]
xor r15d, r15d
lea ecx, [r15 + 0x2d]
mov r12, 0xffffffff80000002
mov bpl, r15b
mov sil, 0xc0
mov r13b, r15b
mov bl, r15b
mov r14b, r15b
cmp cx, word [rax]
jne 0x140097b7f
mov edi, ecx
lea rdx, [rsp + 0x98]
lea rcx, str._super_r
mov r8d, 8
call fcn.140065d7c
cmp al, r15b
jne 0x140097b63
lea rdx, [rsp + 0x98]
lea rcx, [0x1401222dc]
mov r8d, 2
call fcn.140065d7c
cmp al, r15b
jne 0x140097b63
lea rdx, [rsp + 0x98]
lea rcx, str._super
mov r8d, 6
call fcn.140065d7c
cmp al, r15b
je 0x1400979fc
mov sil, r15b
jmp 0x140097b66
lea rdx, [rsp + 0x98]
lea rcx, str._quick
mov r8d, 6
call fcn.140065d7c
cmp al, r15b
je 0x140097a23
mov sil, 0xc0
jmp 0x140097b66
lea rdx, [rsp + 0x98]
lea rcx, [0x140122ab4]
mov r8d, 2
call fcn.140065d7c
cmp al, r15b
je 0x140097a4e
mov r12, 0xffffffff80000003
jmp 0x140097b66
lea rdx, [rsp + 0x98]
lea rcx, [0x140128108]
mov r8d, 2
call fcn.140065d7c
cmp al, r15b
je 0x140097a75
mov r13b, 1
jmp 0x140097b66
lea rdx, [rsp + 0x98]
lea rcx, [0x140128104]
mov r8d, 3
call fcn.140065d7c
cmp al, r15b
je 0x140097a9b
mov bl, 1
jmp 0x140097b66
lea rdx, [rsp + 0x98]
lea rcx, str._wun
mov r8d, 4
call fcn.140065d7c
cmp al, r15b
je 0x140097ac4
mov bl, 1
mov r13b, bl
jmp 0x140097b66
lea rdx, [rsp + 0x98]
lea rcx, [0x1401280f8]
mov r8d, 3
call fcn.140065d7c
cmp al, r15b
je 0x140097aeb
mov bpl, 1
mov r13b, bpl
jmp 0x140097b66
lea rdx, [rsp + 0x98]
lea rcx, [0x1401222d8]
mov r8d, 2
call fcn.140065d7c
cmp al, r15b
je 0x140097b0f
mov r14b, 1
jmp 0x140097b66
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx]
cmp ax, r15w
je 0x140097b54
mov edi, 0x20
mov edx, 9
cmp dx, ax
ja 0x140097b35
cmp ax, 0xd
jbe 0x140097b4f
cmp di, ax
je 0x140097b4f
add rcx, 2
mov qword [rsp + 0x98], rcx
mov ax, word [rcx]
cmp ax, r15w
jne 0x140097b25
mov edi, 0x2d
lea rcx, [rsp + 0x98]
call fcn.14005aec8
jmp 0x140097b66
mov sil, 1
mov rax, qword [rsp + 0x98]
cmp di, word [rax]
je 0x14009798f
mov rdi, qword [rsp + 0x90]
mov ecx, 0x2a
cmp cx, word [rax]
jne 0x140097ba5
add rax, 2
lea rcx, [rsp + 0x98]
mov bpl, 1
mov qword [rsp + 0x98], rax
call fcn.14005aec8
xor eax, eax
mov r15d, 0x2c
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x98]
mov rcx, rdi
mov r9d, r15d
mov word [rsp + 0x20], ax
call fcn.140054460
mov r9d, r15d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x98]
xor r15d, r15d
mov rcx, rdi
mov word [rsp + 0x20], r15w
call fcn.140054460
mov rcx, qword [rsp + 0x40]
call fcn.14001be60
mov rdi, rax
call fcn.140060300
cmp r14b, r15b
je 0x140097c23
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa8]
or sil, 0x40
mov dl, sil
call fcn.140097350
jmp 0x140097d6d
cmp bpl, r15b
je 0x140097d07
cmp word [rdi], r15w
jne 0x140097c55
lea rcx, [rsp + 0x40]
call fcn.14005aef8
lea rcx, [rsp + 0xa8]
call fcn.14005aef8
mov rax, 0xffffffff80070057
jmp 0x140097e58
mov rdx, qword [rsp + 0xa8]
mov esi, 0x20019
lea r8, [rsp + 0x48]
mov r14d, 4
mov r9d, esi
mov rcx, r12
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x20], r14d
call fcn.14005c0e8
mov ebx, eax
cmp eax, r15d
je 0x140097cb5
mov rdx, qword [rsp + 0xa8]
lea rax, [rsp + 0x48]
mov r9d, esi
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
cmp eax, r15d
jne 0x140097e3e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, [0x14013d388]
lea rdx, str.Advapi32.DLL
lea rcx, str.RegSaveKeyExW
xor r9d, r9d
call fcn.14005c57c
mov r11, qword [0x14013d388]
cmp r11, r15
je 0x140097cfa
mov rcx, qword [rsp + 0x48]
mov r9d, r14d
xor r8d, r8d
mov rdx, rdi
call r11
mov ebx, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140097d6f
cmp word [rdi], r15w
jne 0x140097d12
cmp sil, r15b
jl 0x140097d59
cmp bl, r15b
jne 0x140097d59
cmp word [rdi], r15w
je 0x140097d35
mov rdx, qword [rsp + 0xa8]
mov r8, rdi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov ebx, eax
jmp 0x140097d38
mov ebx, r15d
cmp sil, r15b
jl 0x140097e3e
mov rcx, qword [rsp + 0xa8]
xor r8d, r8d
mov dl, sil
call fcn.140097350
jmp 0x140097e3e
mov rdx, qword [rsp + 0xa8]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
mov bpl, 0x10
mov ebx, eax
cmp bpl, r15b
je 0x140097e3e
cmp ebx, r15d
jne 0x140097e3e
cmp r13b, r15b
je 0x140097e3e
cmp word [rdi], r15w
je 0x140097e3e
xor ecx, ecx
mov qword [rsp + 0x48], r15
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x80000000
mov ebp, 3
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x2000000
lea rcx, [rsp + 0x48]
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r15
call fcn.140003888
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
jne 0x140097e32
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
lea rcx, [rsp + 0x48]
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r15
call fcn.140003888
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
jne 0x140097e32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x20
cmp eax, ecx
je 0x140097e22
cmp eax, 0x21
jne 0x140097e3e
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140097dab
cmp rcx, 0xffffffffffffffff
je 0x140097e3e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
call fcn.14005aef8
lea rcx, [rsp + 0xa8]
call fcn.14005aef8
movsxd rax, ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret