Function at 0x140098524
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.140058ecc
lea rcx, [rsp + 0xa8]
mov edx, 5
call fcn.140061694
lea rcx, [rsp + 0x40]
mov edx, 0x14
call fcn.140061694
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 0x14009878f
mov edi, ecx
lea rdx, [rsp + 0x98]
lea rcx, str._super_r
mov r8d, 8
call fcn.14006402c
cmp al, r15b
jne 0x140098773
lea rdx, [rsp + 0x98]
lea rcx, [0x14011815c]
mov r8d, 2
call fcn.14006402c
cmp al, r15b
jne 0x140098773
lea rdx, [rsp + 0x98]
lea rcx, [0x14011daa0]
mov r8d, 6
call fcn.14006402c
cmp al, r15b
je 0x14009860c
mov sil, r15b
jmp 0x140098776
lea rdx, [rsp + 0x98]
lea rcx, str._quick
mov r8d, 6
call fcn.14006402c
cmp al, r15b
je 0x140098633
mov sil, 0xc0
jmp 0x140098776
lea rdx, [rsp + 0x98]
lea rcx, [0x140118944]
mov r8d, 2
call fcn.14006402c
cmp al, r15b
je 0x14009865e
mov r12, 0xffffffff80000003
jmp 0x140098776
lea rdx, [rsp + 0x98]
lea rcx, [0x14011dfc8]
mov r8d, 2
call fcn.14006402c
cmp al, r15b
je 0x140098685
mov r13b, 1
jmp 0x140098776
lea rdx, [rsp + 0x98]
lea rcx, [0x14011dfc4]
mov r8d, 3
call fcn.14006402c
cmp al, r15b
je 0x1400986ab
mov bl, 1
jmp 0x140098776
lea rdx, [rsp + 0x98]
lea rcx, str._wun
mov r8d, 4
call fcn.14006402c
cmp al, r15b
je 0x1400986d4
mov bl, 1
mov r13b, bl
jmp 0x140098776
lea rdx, [rsp + 0x98]
lea rcx, [0x14011dfb8]
mov r8d, 3
call fcn.14006402c
cmp al, r15b
je 0x1400986fb
mov bpl, 1
mov r13b, bpl
jmp 0x140098776
lea rdx, [rsp + 0x98]
lea rcx, [0x140118158]
mov r8d, 2
call fcn.14006402c
cmp al, r15b
je 0x14009871f
mov r14b, 1
jmp 0x140098776
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx]
cmp ax, r15w
je 0x140098764
mov edi, 0x20
mov edx, 9
cmp dx, ax
ja 0x140098745
cmp ax, 0xd
jbe 0x14009875f
cmp di, ax
je 0x14009875f
add rcx, 2
mov qword [rsp + 0x98], rcx
mov ax, word [rcx]
cmp ax, r15w
jne 0x140098735
mov edi, 0x2d
lea rcx, [rsp + 0x98]
call fcn.140058ecc
jmp 0x140098776
mov sil, 1
mov rax, qword [rsp + 0x98]
cmp di, word [rax]
je 0x14009859f
mov rdi, qword [rsp + 0x90]
mov ecx, 0x2a
cmp cx, word [rax]
jne 0x1400987b5
add rax, 2
lea rcx, [rsp + 0x98]
mov bpl, 1
mov qword [rsp + 0x98], rax
call fcn.140058ecc
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.1400524d0
mov r9d, r15d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x98]
xor r15d, r15d
mov rcx, rdi
mov word [rsp + 0x20], r15w
call fcn.1400524d0
mov rcx, qword [rsp + 0x40]
call fcn.14001b5a4
mov rdi, rax
call fcn.14005e440
cmp r14b, r15b
je 0x140098833
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa8]
or sil, 0x40
mov dl, sil
call fcn.140097f60
jmp 0x14009897d
cmp bpl, r15b
je 0x140098917
cmp word [rdi], r15w
jne 0x140098865
lea rcx, [rsp + 0x40]
call fcn.140058efc
lea rcx, [rsp + 0xa8]
call fcn.140058efc
mov rax, 0xffffffff80070057
jmp 0x140098a68
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.14005a1d0
mov ebx, eax
cmp eax, r15d
je 0x1400988c5
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 0x140098a4e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, [0x140132358]
lea rdx, str.Advapi32.DLL
lea rcx, str.RegSaveKeyExW
xor r9d, r9d
call fcn.14005a664
mov r11, qword [0x140132358]
cmp r11, r15
je 0x14009890a
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 0x14009897f
cmp word [rdi], r15w
jne 0x140098922
cmp sil, r15b
jl 0x140098969
cmp bl, r15b
jne 0x140098969
cmp word [rdi], r15w
je 0x140098945
mov rdx, qword [rsp + 0xa8]
mov r8, rdi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov ebx, eax
jmp 0x140098948
mov ebx, r15d
cmp sil, r15b
jl 0x140098a4e
mov rcx, qword [rsp + 0xa8]
xor r8d, r8d
mov dl, sil
call fcn.140097f60
jmp 0x140098a4e
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 0x140098a4e
cmp ebx, r15d
jne 0x140098a4e
cmp r13b, r15b
je 0x140098a4e
cmp word [rdi], r15w
je 0x140098a4e
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.1400037bc
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
jne 0x140098a42
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.1400037bc
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
jne 0x140098a42
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x20
cmp eax, ecx
je 0x140098a32
cmp eax, 0x21
jne 0x140098a4e
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400989bb
cmp rcx, 0xffffffffffffffff
je 0x140098a4e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
call fcn.140058efc
lea rcx, [rsp + 0xa8]
call fcn.140058efc
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