Function at 0x140034820
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 8], ecx
push rbx
push rsi
push rdi
push r14
sub rsp, 0x298
mov qword [rsp + 0x1f0], 0xfffffffffffffffe
mov r14d, ecx
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x140034e5e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x190]
mov qword [rsp + 0x258], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x260], rax
xor ebx, ebx
mov qword [rsp + 0x1a0], rbx
mov qword [rsp + 0x1a8], rbx
mov qword [rsp + 0x1a0], rbx
mov qword [rsp + 0x1a8], 7
mov word [rsp + 0x190], bx
lea r8d, [rbx + 9]
lea rdx, str.stemp.reg
lea rcx, [rsp + 0x190]
call fcn.14000e6a0
nop
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x178], rbx
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x178], 7
mov word [rsp + 0x160], bx
lea r8d, [rbx + 6]
lea rdx, [0x14009a3a8]
lea rcx, [rsp + 0x160]
call fcn.14000e6a0
nop
lea r9, [rsp + 0x190]
mov r8d, 0x8a
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x30]
call fcn.14000ddd0
nop
lea rax, [rsp + 0x98]
mov qword [rsp + 0x270], rax
lea rdx, [0x14009a1e8]
lea rcx, [rsp + 0x40]
call fcn.14000c6f0
nop
lea rdx, str.regedit__s
lea rcx, [rsp + 0x68]
call fcn.14000c6f0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xa0]
call fcn.14000ba30
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14000ba30
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14005e3e0
nop
mov rcx, qword [rsp + 0xa0]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xa8], rcx
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x1400349d6
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xb0], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140034a05
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xb8], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140034a33
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x278], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x1b0], rax
mov rcx, qword [rsp + 0x20]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x1b8], rcx
call fcn.14000d070
mov qword [rsp + 0x1c0], rax
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rdx, str.unableToOpenImageInWindows10
lea rcx, [rsp + 0xc0]
call fcn.14000c6f0
nop
mov r8d, esi
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.14005c670
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x2c8], eax
test eax, eax
js 0x140034ae3
lea rdx, str.error
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x1c8], rax
mov rcx, qword [rsp + 0x20]
test rax, rax
je 0x140034ae3
sub rax, rcx
sar rax, 1
mov dword [rsp + 0x2d0], eax
test eax, eax
jns 0x140034baa
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x2d8], eax
test eax, eax
js 0x140034b25
lea rdx, str.Error
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x1d0], rax
mov rcx, qword [rsp + 0x20]
test rax, rax
je 0x140034b25
sub rax, rcx
sar rax, 1
mov dword [rsp + 0x94], eax
test eax, eax
jns 0x140034baa
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x180], eax
test eax, eax
js 0x140034b63
lea rdx, str.denied
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x1d8], rax
mov rcx, qword [rsp + 0x20]
test rax, rax
je 0x140034b63
sub rax, rcx
sar rax, 1
mov dword [rsp + 0x184], eax
test eax, eax
jns 0x140034baa
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x188], eax
test eax, eax
js 0x140034ca8
lea rdx, str.invalid
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x1e0], rax
test rax, rax
je 0x140034ca8
sub rax, qword [rsp + 0x20]
sar rax, 1
mov dword [rsp + 0x90], eax
test eax, eax
js 0x140034ca8
lea rdx, str.Error_occurred_during_code_execution
lea rcx, [rsp + 0x28]
call fcn.14000c480
lea rax, [rsp + 0x48]
mov qword [rsp + 0x1e8], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x238], rax
mov rbx, qword [rsp + 0x28]
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x1f8], rbx
mov rcx, rbx
call fcn.14000d070
mov qword [rsp + 0x200], rax
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, str.unableToOpenImageInWindows10
lea rcx, [rsp + 0xc8]
call fcn.14000c6f0
nop
mov r8d, esi
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14005c670
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x208], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x210], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x218], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0xd0]
call fcn.14000c6f0
mov rdi, rax
mov qword [rsp + 0x220], rbx
mov rcx, rbx
call fcn.14000d070
mov qword [rsp + 0x228], rax
lea rcx, [rax + 0x18]
mov qword [rsp + 0x50], rcx
lea rdx, str.Failure
lea rcx, [rsp + 0xd8]
call fcn.14000c6f0
nop
lea r8, [rsp + 0x50]
jmp 0x140034d1e
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x230], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x280], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x240], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0xe0]
call fcn.14000c6f0
mov rdi, rax
lea rdx, str.Necessary_changes_have_been_done.
lea rcx, [rsp + 0xe8]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.Success
lea rcx, [rsp + 0xf0]
call fcn.14000c6f0
nop
mov r8, rbx
mov r9, rdi
mov rdx, rax
mov ecx, r14d
call fcn.14005d170
lea rdx, [0x14009a1e8]
lea rcx, [rsp + 0x58]
call fcn.14000c6f0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf8]
call fcn.14000ba30
mov qword [rsp + 0x248], rax
mov rcx, qword [rax]
mov qword [rsp + 0x250], rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rcx, qword [rsp + 0xf8]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x100], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140034da1
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x58]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x108], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140034dd0
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x20]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x110], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140034dff
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x118], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140034e2e
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x140034e35
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140034e51
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x298
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000dd90
int3