Function at 0x14009989c
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.1400591c8
lea rcx, [rsp + 0xa8]
mov edx, 5
call fcn.14006170c
lea rcx, [rsp + 0x40]
mov edx, 0x14
call fcn.14006170c
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 0x140099b07
mov edi, ecx
lea rdx, [rsp + 0x98]
lea rcx, str._super_r
mov r8d, 8
call fcn.1400640d4
cmp al, r15b
jne 0x140099aeb
lea rdx, [rsp + 0x98]
lea rcx, [0x14011b1ec]
mov r8d, 2
call fcn.1400640d4
cmp al, r15b
jne 0x140099aeb
lea rdx, [rsp + 0x98]
lea rcx, str._super
mov r8d, 6
call fcn.1400640d4
cmp al, r15b
je 0x140099984
mov sil, r15b
jmp 0x140099aee
lea rdx, [rsp + 0x98]
lea rcx, str._quick
mov r8d, 6
call fcn.1400640d4
cmp al, r15b
je 0x1400999ab
mov sil, 0xc0
jmp 0x140099aee
lea rdx, [rsp + 0x98]
lea rcx, [0x14011b9d4]
mov r8d, 2
call fcn.1400640d4
cmp al, r15b
je 0x1400999d6
mov r12, 0xffffffff80000003
jmp 0x140099aee
lea rdx, [rsp + 0x98]
lea rcx, [0x140121120]
mov r8d, 2
call fcn.1400640d4
cmp al, r15b
je 0x1400999fd
mov r13b, 1
jmp 0x140099aee
lea rdx, [rsp + 0x98]
lea rcx, [0x14012111c]
mov r8d, 3
call fcn.1400640d4
cmp al, r15b
je 0x140099a23
mov bl, 1
jmp 0x140099aee
lea rdx, [rsp + 0x98]
lea rcx, str._wun
mov r8d, 4
call fcn.1400640d4
cmp al, r15b
je 0x140099a4c
mov bl, 1
mov r13b, bl
jmp 0x140099aee
lea rdx, [rsp + 0x98]
lea rcx, [0x140121110]
mov r8d, 3
call fcn.1400640d4
cmp al, r15b
je 0x140099a73
mov bpl, 1
mov r13b, bpl
jmp 0x140099aee
lea rdx, [rsp + 0x98]
lea rcx, [0x14011b1e8]
mov r8d, 2
call fcn.1400640d4
cmp al, r15b
je 0x140099a97
mov r14b, 1
jmp 0x140099aee
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx]
cmp ax, r15w
je 0x140099adc
mov edi, 0x20
mov edx, 9
cmp dx, ax
ja 0x140099abd
cmp ax, 0xd
jbe 0x140099ad7
cmp di, ax
je 0x140099ad7
add rcx, 2
mov qword [rsp + 0x98], rcx
mov ax, word [rcx]
cmp ax, r15w
jne 0x140099aad
mov edi, 0x2d
lea rcx, [rsp + 0x98]
call fcn.1400591c8
jmp 0x140099aee
mov sil, 1
mov rax, qword [rsp + 0x98]
cmp di, word [rax]
je 0x140099917
mov rdi, qword [rsp + 0x90]
mov ecx, 0x2a
cmp cx, word [rax]
jne 0x140099b2d
add rax, 2
lea rcx, [rsp + 0x98]
mov bpl, 1
mov qword [rsp + 0x98], rax
call fcn.1400591c8
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.1400527c8
mov r9d, r15d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x98]
xor r15d, r15d
mov rcx, rdi
mov word [rsp + 0x20], r15w
call fcn.1400527c8
mov rcx, qword [rsp + 0x40]
call fcn.14001bb70
mov rdi, rax
call fcn.14005e6ac
cmp r14b, r15b
je 0x140099bab
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa8]
or sil, 0x40
mov dl, sil
call fcn.1400992d8
jmp 0x140099cf5
cmp bpl, r15b
je 0x140099c8f
cmp word [rdi], r15w
jne 0x140099bdd
lea rcx, [rsp + 0x40]
call fcn.1400591f8
lea rcx, [rsp + 0xa8]
call fcn.1400591f8
mov rax, 0xffffffff80070057
jmp 0x140099de0
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.14005a438
mov ebx, eax
cmp eax, r15d
je 0x140099c3d
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 0x140099dc6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, [0x140135348]
lea rdx, str.Advapi32.DLL
lea rcx, str.RegSaveKeyExW
xor r9d, r9d
call fcn.14005a8cc
mov r11, qword [0x140135348]
cmp r11, r15
je 0x140099c82
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 0x140099cf7
cmp word [rdi], r15w
jne 0x140099c9a
cmp sil, r15b
jl 0x140099ce1
cmp bl, r15b
jne 0x140099ce1
cmp word [rdi], r15w
je 0x140099cbd
mov rdx, qword [rsp + 0xa8]
mov r8, rdi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov ebx, eax
jmp 0x140099cc0
mov ebx, r15d
cmp sil, r15b
jl 0x140099dc6
mov rcx, qword [rsp + 0xa8]
xor r8d, r8d
mov dl, sil
call fcn.1400992d8
jmp 0x140099dc6
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 0x140099dc6
cmp ebx, r15d
jne 0x140099dc6
cmp r13b, r15b
je 0x140099dc6
cmp word [rdi], r15w
je 0x140099dc6
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.1400037fc
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
jne 0x140099dba
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.1400037fc
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
jne 0x140099dba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x20
cmp eax, ecx
je 0x140099daa
cmp eax, 0x21
jne 0x140099dc6
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140099d33
cmp rcx, 0xffffffffffffffff
je 0x140099dc6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
call fcn.1400591f8
lea rcx, [rsp + 0xa8]
call fcn.1400591f8
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