Function at 0x1802ac958
Capabilities:
Delete file
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
mov eax, 0x1cc8
call fcn.1801907a0
sub rsp, rax
mov qword [rsp + 0x1a8], 0xfffffffffffffffe
lea rcx, [rsp + 0xe8]
call fcn.180073cf0
nop
lea rcx, [rsp + 0x130]
call fcn.180073cf0
nop
cmp qword [rsp + 0x1ce8], 0
je 0x1802aca68
mov rdx, qword [rsp + 0x1ce8]
lea rcx, [rsp + 0x218]
call fcn.1801ec300
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x258]
call fcn.1802b0ed4
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0xe8]
call fcn.180073df0
lea rcx, [rsp + 0x258]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x218]
call fcn.180073fc0
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x1f8]
call fcn.1802b0fac
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x130]
call fcn.180073df0
lea rcx, [rsp + 0x1f8]
call fcn.180073fc0
cmp qword [rsp + 0x1ce8], 0
je 0x1802aca8a
lea rcx, [rsp + 0x130]
call fcn.180074060
mov qword [rsp + 0x80], rax
jmp 0x1802aca96
mov qword [rsp + 0x80], 0
xor r9d, r9d
mov r8, qword [0x1803babf0]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x2a0]
call fcn.1802c2e00
nop
mov eax, dword [rsp + 0x1cd0]
and eax, 0x20000000
test eax, eax
jne 0x1802acad3
lea rcx, [rsp + 0x2a0]
call fcn.1802ad118
cmp qword [rsp + 0x1ce8], 0
jne 0x1802acb8c
mov r8d, 0x104
lea rdx, [rsp + 0x5e0]
mov rcx, qword [0x1803babf0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1802acb12
lea rdx, [0x1803ab920]
mov ecx, 0xff
call fcn.1802ae0f0
lea rdx, [rsp + 0x5e0]
lea rcx, [rsp + 0x1d8]
call fcn.1801ec300
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x1b8]
call fcn.1802b0ed4
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0xe8]
call fcn.180073df0
lea rcx, [rsp + 0x1b8]
call fcn.180073fc0
nop
lea rcx, [rsp + 0x1d8]
call fcn.180073fc0
mov qword [rsp + 0x58], 0
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x51], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1803aa990]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1802acbf1
cmp qword [rsp + 0x58], 0
jne 0x1802acc52
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1803aa990]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1802acc48
cmp qword [rsp + 0x58], 0
jne 0x1802acc52
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x51], 1
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x7c], 1
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x1802acd0e
movzx eax, byte [rsp + 0x51]
test eax, eax
jne 0x1802acd0e
lea rdx, [0x1803ab9d0]
mov rcx, qword [rsp + 0x58]
call fcn.1801df7a0
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x1802accc5
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1803ab9d0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rdx, [0x1803ab998]
mov rcx, qword [rsp + 0x58]
call fcn.1801df7a0
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x1802acd0e
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1803ab998]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x118]
call fcn.1800740e0
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0xe8]
call fcn.180074060
xor edx, edx
mov rcx, rax
call fcn.1802bf510
lea rcx, [rsp + 0xe8]
call fcn.180074060
mov rcx, qword [rsp + 0x1cf0]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x118]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x1ce0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1cd8]
mov r8b, byte [rsp + 0x51]
mov dl, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.1802b2098
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea rcx, [rsp + 0xee0]
call fcn.1801600c0
mov qword [rsp + 0x190], rax
lea r8, [rsp + 0xee0]
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x410]
call fcn.1801a2710
mov qword [rsp + 0x1a0], rax
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x118]
call fcn.1800742b0
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x1802ace09
xor r8d, r8d
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0x68]
call fcn.180075fe0
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x118]
call fcn.1800742e0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1800755a0
mov byte [rsp + 0x55], al
movzx eax, byte [rsp + 0x55]
test eax, eax
je 0x1802acf7a
lea rcx, [rsp + 0x68]
call fcn.1800760f0
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.180074060
xor edx, edx
mov rcx, rax
call fcn.1802bf450
lea rcx, [rsp + 0x68]
call fcn.1800760f0
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.180074060
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1802ace96
jmp 0x1802acdf4
lea rcx, [rsp + 0x370]
call fcn.1800a5fd0
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x370], 2
lea rcx, [rsp + 0x68]
call fcn.1800760f0
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.180074060
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0x238]
call fcn.1801eb5b0
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x3d0]
call fcn.180073190
lea rcx, [rsp + 0x238]
call fcn.180073360
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x4c0]
call fcn.1801a3350
mov qword [rsp + 0x178], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x4c0]
call fcn.1801a05f0
mov byte [rsp + 0x52], al
mov al, byte [rsp + 0x52]
mov byte [rsp + 0x60], al
lea rcx, [rsp + 0x4c0]
call fcn.18005cce0
nop
lea rcx, [rsp + 0x370]
call fcn.1800a6370
jmp 0x1802acdf4
lea rcx, [rsp + 0x410]
call fcn.1801a2640
nop
lea rcx, [rsp + 0xee0]
call fcn.1801601b0
nop
lea rcx, [rsp + 0x118]
call fcn.1800748f0
nop
jmp 0x1802acfa6
jmp 0x1802acfda
mov eax, dword [rsp + 0x1cd0]
and eax, 0x40000
test eax, eax
je 0x1802ad0d8
mov edx, 0x202
lea rcx, [rsp + 0x15d0]
call fcn.1801600c0
nop
lea rdx, [0x1803aba00]
lea rcx, [rsp + 0x150]
call fcn.1800730e0
nop
lea rcx, [0x1803dbdc8]
call fcn.180003ba0
test rax, rax
je 0x1802ad094
lea rcx, [0x1803dbdc8]
call fcn.180073860
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x150]
call fcn.180073860
mov rcx, qword [rsp + 0xd0]
mov r9, rcx
mov r8, rax
lea rdx, [0x1803ab9f8]
lea rcx, [rsp + 0x278]
call fcn.1801e9200
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.180073190
lea rcx, [rsp + 0x278]
call fcn.180073360
lea rcx, [rsp + 0x150]
call fcn.180073860
mov r9b, 1
mov r8, rax
lea rdx, [rsp + 0x15d0]
lea rcx, [rsp + 0x2a0]
call fcn.180167ce0
nop
lea rcx, [rsp + 0x150]
call fcn.180073360
nop
lea rcx, [rsp + 0x15d0]
call fcn.1801601b0
mov byte [rsp + 0x54], 1
lea rcx, [rsp + 0x2a0]
call fcn.1802c2d70
nop
lea rcx, [rsp + 0x130]
call fcn.180073fc0
nop
lea rcx, [rsp + 0xe8]
call fcn.180073fc0
mov al, byte [rsp + 0x54]
add rsp, 0x1cc8
ret