Function at 0x140097714
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.14005b154
lea rcx, [rsp + 0xa8]
mov edx, 5
call fcn.140063694
lea rcx, [rsp + 0x40]
mov edx, 0x14
call fcn.140063694
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 0x14009797f
mov edi, ecx
lea rdx, [rsp + 0x98]
lea rcx, str._super_r
mov r8d, 8
call fcn.1400660ac
cmp al, r15b
jne 0x140097963
lea rdx, [rsp + 0x98]
lea rcx, [0x1401222fc]
mov r8d, 2
call fcn.1400660ac
cmp al, r15b
jne 0x140097963
lea rdx, [rsp + 0x98]
lea rcx, [0x140127cd8]
mov r8d, 6
call fcn.1400660ac
cmp al, r15b
je 0x1400977fc
mov sil, r15b
jmp 0x140097966
lea rdx, [rsp + 0x98]
lea rcx, str._quick
mov r8d, 6
call fcn.1400660ac
cmp al, r15b
je 0x140097823
mov sil, 0xc0
jmp 0x140097966
lea rdx, [rsp + 0x98]
lea rcx, [0x140122ad4]
mov r8d, 2
call fcn.1400660ac
cmp al, r15b
je 0x14009784e
mov r12, 0xffffffff80000003
jmp 0x140097966
lea rdx, [rsp + 0x98]
lea rcx, [0x1401280d8]
mov r8d, 2
call fcn.1400660ac
cmp al, r15b
je 0x140097875
mov r13b, 1
jmp 0x140097966
lea rdx, [rsp + 0x98]
lea rcx, [0x1401280d4]
mov r8d, 3
call fcn.1400660ac
cmp al, r15b
je 0x14009789b
mov bl, 1
jmp 0x140097966
lea rdx, [rsp + 0x98]
lea rcx, str._wun
mov r8d, 4
call fcn.1400660ac
cmp al, r15b
je 0x1400978c4
mov bl, 1
mov r13b, bl
jmp 0x140097966
lea rdx, [rsp + 0x98]
lea rcx, [0x1401280c8]
mov r8d, 3
call fcn.1400660ac
cmp al, r15b
je 0x1400978eb
mov bpl, 1
mov r13b, bpl
jmp 0x140097966
lea rdx, [rsp + 0x98]
lea rcx, [0x1401222f8]
mov r8d, 2
call fcn.1400660ac
cmp al, r15b
je 0x14009790f
mov r14b, 1
jmp 0x140097966
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx]
cmp ax, r15w
je 0x140097954
mov edi, 0x20
mov edx, 9
cmp dx, ax
ja 0x140097935
cmp ax, 0xd
jbe 0x14009794f
cmp di, ax
je 0x14009794f
add rcx, 2
mov qword [rsp + 0x98], rcx
mov ax, word [rcx]
cmp ax, r15w
jne 0x140097925
mov edi, 0x2d
lea rcx, [rsp + 0x98]
call fcn.14005b154
jmp 0x140097966
mov sil, 1
mov rax, qword [rsp + 0x98]
cmp di, word [rax]
je 0x14009778f
mov rdi, qword [rsp + 0x90]
mov ecx, 0x2a
cmp cx, word [rax]
jne 0x1400979a5
add rax, 2
lea rcx, [rsp + 0x98]
mov bpl, 1
mov qword [rsp + 0x98], rax
call fcn.14005b154
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.1400545f8
mov r9d, r15d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x98]
xor r15d, r15d
mov rcx, rdi
mov word [rsp + 0x20], r15w
call fcn.1400545f8
mov rcx, qword [rsp + 0x40]
call fcn.14001be14
mov rdi, rax
call fcn.140060698
cmp r14b, r15b
je 0x140097a23
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa8]
or sil, 0x40
mov dl, sil
call fcn.140097150
jmp 0x140097b6d
cmp bpl, r15b
je 0x140097b07
cmp word [rdi], r15w
jne 0x140097a55
lea rcx, [rsp + 0x40]
call fcn.14005b104
lea rcx, [rsp + 0xa8]
call fcn.14005b104
mov rax, 0xffffffff80070057
jmp 0x140097c58
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.14005c394
mov ebx, eax
cmp eax, r15d
je 0x140097ab5
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 0x140097c3e
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.14005c828
mov r11, qword [0x14013d388]
cmp r11, r15
je 0x140097afa
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 0x140097b6f
cmp word [rdi], r15w
jne 0x140097b12
cmp sil, r15b
jl 0x140097b59
cmp bl, r15b
jne 0x140097b59
cmp word [rdi], r15w
je 0x140097b35
mov rdx, qword [rsp + 0xa8]
mov r8, rdi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov ebx, eax
jmp 0x140097b38
mov ebx, r15d
cmp sil, r15b
jl 0x140097c3e
mov rcx, qword [rsp + 0xa8]
xor r8d, r8d
mov dl, sil
call fcn.140097150
jmp 0x140097c3e
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 0x140097c3e
cmp ebx, r15d
jne 0x140097c3e
cmp r13b, r15b
je 0x140097c3e
cmp word [rdi], r15w
je 0x140097c3e
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.140003864
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
jne 0x140097c32
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.140003864
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
jne 0x140097c32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x20
cmp eax, ecx
je 0x140097c22
cmp eax, 0x21
jne 0x140097c3e
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140097bab
cmp rcx, 0xffffffffffffffff
je 0x140097c3e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
call fcn.14005b104
lea rcx, [rsp + 0xa8]
call fcn.14005b104
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