Function at 0x14009420c
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x50
mov rdi, rcx
lea rcx, [rax + 0x10]
call fcn.140057738
lea rcx, [rsp + 0xa8]
mov edx, 5
call fcn.14005fa8c
lea rcx, [rsp + 0x48]
mov edx, 0x14
call fcn.14005fa8c
mov rax, qword [rsp + 0x98]
xor r15d, r15d
lea ecx, [r15 + 0x2d]
mov rbp, 0xffffffff80000002
mov r12b, r15b
mov sil, 0xff
mov r13b, r15b
mov bl, r15b
cmp cx, word [rax]
jne 0x140094424
mov edi, ecx
lea rdx, [rsp + 0x98]
lea rcx, [0x140118cf0]
mov r8d, 8
call fcn.1400623c0
cmp al, r15b
je 0x1400942a6
mov sil, 1
jmp 0x14009440b
lea rdx, [rsp + 0x98]
lea rcx, [0x1401187f8]
mov r8d, 6
call fcn.1400623c0
cmp al, r15b
je 0x1400942cd
mov sil, r15b
jmp 0x14009440b
lea rdx, [rsp + 0x98]
lea rcx, [0x140118ce4]
mov r8d, 6
call fcn.1400623c0
cmp al, r15b
je 0x1400942f4
mov sil, 0xff
jmp 0x14009440b
lea rdx, [rsp + 0x98]
lea rcx, [0x1401137b4]
mov r8d, 2
call fcn.1400623c0
cmp al, r15b
je 0x14009431f
mov rbp, 0xffffffff80000003
jmp 0x14009440b
lea rdx, [rsp + 0x98]
lea rcx, [0x140118ce0]
mov r8d, 2
call fcn.1400623c0
cmp al, r15b
je 0x140094346
mov r13b, 1
jmp 0x14009440b
lea rdx, [rsp + 0x98]
lea rcx, [0x140118cdc]
mov r8d, 3
call fcn.1400623c0
cmp al, r15b
je 0x14009436c
mov bl, 1
jmp 0x14009440b
lea rdx, [rsp + 0x98]
lea rcx, [0x140118cd4]
mov r8d, 4
call fcn.1400623c0
cmp al, r15b
je 0x140094392
mov bl, 1
mov r13b, bl
jmp 0x14009440b
lea rdx, [rsp + 0x98]
lea rcx, [0x140118cd0]
mov r8d, 3
call fcn.1400623c0
cmp al, r15b
je 0x1400943b9
mov r12b, 1
mov r13b, r12b
jmp 0x14009440b
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx]
cmp ax, r15w
je 0x1400943fe
mov edi, 0x20
mov edx, 9
cmp dx, ax
ja 0x1400943df
cmp ax, 0xd
jbe 0x1400943f9
cmp di, ax
je 0x1400943f9
add rcx, 2
mov qword [rsp + 0x98], rcx
mov ax, word [rcx]
cmp ax, r15w
jne 0x1400943cf
mov edi, 0x2d
lea rcx, [rsp + 0x98]
call fcn.140057738
mov rax, qword [rsp + 0x98]
cmp di, word [rax]
je 0x14009427f
mov rdi, qword [rsp + 0x90]
mov ecx, 0x2a
cmp cx, word [rax]
jne 0x14009444a
add rax, 2
lea rcx, [rsp + 0x98]
mov r12b, 1
mov qword [rsp + 0x98], rax
call fcn.140057738
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x98]
mov r9d, 0x2c
mov rcx, rdi
mov word [rsp + 0x20], r15w
call fcn.140050d3c
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x98]
mov r9d, 0x2c
mov rcx, rdi
mov word [rsp + 0x20], r15w
call fcn.140050d3c
mov rcx, qword [rsp + 0x48]
call fcn.14001ae54
mov rdi, rax
call fcn.14005cafc
cmp r12b, r15b
je 0x140094585
cmp word [rdi], r15w
jne 0x1400944d3
lea rcx, [rsp + 0x48]
call fcn.140057768
lea rcx, [rsp + 0xa8]
call fcn.140057768
mov rax, 0xffffffff80070057
jmp 0x1400946c3
mov rdx, qword [rsp + 0xa8]
mov esi, 0x20019
lea r8, [rsp + 0x40]
mov r9d, esi
mov rcx, rbp
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x20], 4
call fcn.1400589d4
mov ebx, eax
cmp eax, r15d
je 0x140094530
mov rdx, qword [rsp + 0xa8]
lea rax, [rsp + 0x40]
mov r9d, esi
xor r8d, r8d
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
mov ebx, eax
cmp eax, r15d
jne 0x1400946a9
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea r8, [0x14012d338]
lea rdx, [0x14010f800]
lea rcx, [0x140118cc0]
xor r9d, r9d
call fcn.140058e24
mov r11, qword [0x14012d338]
cmp r11, r15
je 0x140094578
mov rcx, qword [rsp + 0x40]
mov r9d, 4
xor r8d, r8d
mov rdx, rdi
call r11
mov ebx, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
jmp 0x1400945da
cmp word [rdi], r15w
je 0x1400945c4
cmp bl, r15b
jne 0x1400945c4
mov rdx, qword [rsp + 0xa8]
mov r8, rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.DLL_RegLoadKeyW]
cmp sil, r15b
mov ebx, eax
jl 0x1400946a9
lea rcx, [rsp + 0xa8]
mov dl, sil
call fcn.14009400c
jmp 0x1400946a9
mov rdx, qword [rsp + 0xa8]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.DLL_RegUnLoadKeyW]
mov r12b, 0x10
mov ebx, eax
cmp r12b, r15b
je 0x1400946a9
cmp ebx, r15d
jne 0x1400946a9
cmp r13b, r15b
je 0x1400946a9
cmp word [rdi], r15w
je 0x1400946a9
xor ecx, ecx
mov qword [rsp + 0x40], 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 + 0x40]
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r15
call fcn.1400037e8
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
jne 0x14009469d
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r15
call fcn.1400037e8
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
jne 0x14009469d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, 0x20
cmp eax, ecx
je 0x14009468d
cmp eax, 0x21
jne 0x1400946a9
mov ecx, 1
call qword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x140094616
cmp rcx, 0xffffffffffffffff
je 0x1400946a9
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea rcx, [rsp + 0x48]
call fcn.140057768
lea rcx, [rsp + 0xa8]
call fcn.140057768
movsxd rax, ebx
add rsp, 0x50
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret