Function at 0x1800480b0
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x8f8
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x910]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x180048147
mov rax, qword [rsp + 0x3d0]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x910]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x170], rax
lea r8, str.RegisterEventProvider
mov edx, 1
mov rcx, qword [rsp + 0x170]
call fcn.180057160
lea rax, [rsp + 0x660]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov qword [rsp + 0x660], 0
mov dword [rsp + 0x668], 0
mov qword [rsp + 0x670], 0
mov r9d, 0xf003f
lea r8, [0x1800d6a30]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x660]
call fcn.1800629e0
mov dword [rsp + 0x658], eax
cmp dword [rsp + 0x658], 0
je 0x180048413
mov rax, qword [rsp + 0x910]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x1800483ef
mov rax, qword [rsp + 0x3d8]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x910]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x198], rax
lea rax, [rsp + 0x610]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
lea rcx, [0x1800d69f8]
mov qword [rax], rcx
xor eax, eax
test eax, eax
je 0x180048291
lea rax, [0x1800d69f8]
mov qword [rsp + 0x270], rax
mov qword [rsp + 0xc0], 0xffffffffffffffff
inc qword [rsp + 0xc0]
mov rax, qword [rsp + 0x270]
mov rcx, qword [rsp + 0xc0]
cmp byte [rax + rcx], 0
jne 0x180048261
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xf8], rax
jmp 0x1800482df
mov rax, qword [rsp + 0x3e0]
mov qword [rsp + 0xf8], rax
lea rax, [0x1800d69f8]
mov qword [rsp + 0x278], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x60]
cmp word [rax + rcx*2], 0
jne 0x1800482b9
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x178]
mov rcx, qword [rsp + 0xf8]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x3c0]
mov rdi, rax
mov rsi, qword [rsp + 0x180]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x410]
lea rcx, [rsp + 0x3c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x3e8]
mov qword [rsp + 0x188], rax
lea rax, [0x1800d6aa0]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x3f0]
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x658]
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x3b0]
lea rcx, [rsp + 0x410]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x3a0]
lea rcx, [rsp + 0x3b0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x390]
lea rcx, [rsp + 0x3a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x190]
lea r8, [rsp + 0x390]
mov edx, 4
mov rcx, qword [rsp + 0x198]
call fcn.180057ab0
mov dword [rsp + 0xc8], 0
lea rcx, [rsp + 0x660]
call fcn.180062510
mov eax, dword [rsp + 0xc8]
jmp 0x18004950f
lea rax, [rsp + 0x678]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov qword [rsp + 0x678], 0
mov dword [rsp + 0x680], 0
mov qword [rsp + 0x688], 0
mov rax, qword [rsp + 0x660]
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1800d6b08]
mov rdx, qword [rsp + 0x280]
lea rcx, [rsp + 0x678]
call fcn.180062560
mov dword [rsp + 0x654], eax
cmp dword [rsp + 0x654], 0
je 0x18004879c
mov rax, qword [rsp + 0x910]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x180048728
mov rax, qword [rsp + 0x3f8]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x910]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x1c8], rax
lea rax, [rsp + 0x5d0]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
lea rcx, str.___Failed_to_Open_Create_.
mov qword [rax], rcx
xor eax, eax
test eax, eax
je 0x180048581
lea rax, str.___Failed_to_Open_Create_.
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x18004855a
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x100], rax
jmp 0x1800485cf
mov rax, qword [rsp + 0x400]
mov qword [rsp + 0x100], rax
lea rax, str.___Failed_to_Open_Create_.
mov qword [rsp + 0x298], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x70]
cmp word [rax + rcx*2], 0
jne 0x1800485a9
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x100]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x380]
mov rdi, rax
mov rsi, qword [rsp + 0x1a8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x370]
lea rcx, [rsp + 0x380]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x498]
mov qword [rsp + 0x1b0], rax
lea rax, [0x1800d6b10]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x420]
mov qword [rsp + 0x1b8], rax
lea rax, [0x1800d6b30]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x428]
mov qword [rsp + 0x1c0], rax
lea rax, [rsp + 0x654]
mov qword [rsp + 0x1c0], rax
lea rax, [rsp + 0x360]
lea rcx, [rsp + 0x370]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x4a0]
lea rcx, [rsp + 0x360]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x4b0]
lea rcx, [rsp + 0x4a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x4c0]
lea rcx, [rsp + 0x4b0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1c0]
lea r8, [rsp + 0x4c0]
mov edx, 4
mov rcx, qword [rsp + 0x1c8]
call fcn.180057d80
mov dword [rsp + 0xcc], 0
cmp qword [rsp + 0x660], 0
je 0x18004875f
mov rcx, qword [rsp + 0x660]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0xcc], eax
mov qword [rsp + 0x660], 0
mov dword [rsp + 0x668], 0
mov dword [rsp + 0xd0], 0
lea rcx, [rsp + 0x678]
call fcn.180062510
nop
lea rcx, [rsp + 0x660]
call fcn.180062510
mov eax, dword [rsp + 0xd0]
jmp 0x18004950f
mov dword [rsp + 0x54], 0
lea rax, [rsp + 0x6a8]
mov qword [rsp + 0x2a0], rax
movzx edx, byte [rsp + 0x48]
mov rcx, qword [rsp + 0x2a0]
call fcn.180003970
lea rax, [rsp + 0x6a8]
mov qword [rsp + 0x430], rax
lea rcx, [rsp + 0x6a8]
call fcn.180002c20
nop
lea rdx, [rsp + 0x6a8]
mov rcx, qword [rsp + 0x910]
call fcn.18004dbd0
test eax, eax
je 0x1800489cc
mov rax, qword [rsp + 0x910]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x180048870
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x910]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x1d0], rax
lea r8, str.___Failed_to_get_epp_install_path._use_current_process_folder
mov edx, 3
mov rcx, qword [rsp + 0x1d0]
call fcn.1800571e0
lea rcx, [rsp + 0x620]
call fcn.1800041d0
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x2d0], rax
lea rax, [0x1800d6b18]
mov qword [rsp + 0x2b8], rax
mov qword [rsp + 0x90], 0xffffffffffffffff
inc qword [rsp + 0x90]
mov rax, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x90]
cmp word [rax + rcx*2], 0
jne 0x1800488b0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x2c0], rax
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x2c8], rax
mov r8, qword [rsp + 0x2c8]
lea rdx, [0x1800d6b18]
mov rcx, qword [rsp + 0x2d0]
call fcn.1800043e0
mov qword [rsp + 0x2d8], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x2e0], rax
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0x590]
call fcn.180002a10
mov eax, dword [rsp + 0x44]
or eax, 2
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x590]
mov qword [rsp + 0x1d8], rax
lea rax, [rsp + 0x6a8]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x2e8], rax
mov rax, qword [rsp + 0x2e8]
cmp qword [rsp + 0x1e0], rax
je 0x1800489b1
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r8d, byte [rsp + 0x40]
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1e0]
call fcn.18000ad80
lea rcx, [rsp + 0x590]
call fcn.1800029a0
nop
lea rcx, [rsp + 0x620]
call fcn.1800029a0
lea rax, [0x1800d5a54]
mov qword [rsp + 0x340], rax
lea rax, [0x1800d5a54]
mov qword [rsp + 0x2f0], rax
mov qword [rsp + 0xa8], 0xffffffffffffffff
inc qword [rsp + 0xa8]
mov rax, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0xa8]
cmp word [rax + rcx*2], 0
jne 0x1800489f6
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x348], rax
lea rax, [0x1800d6c90]
mov qword [rsp + 0x350], rax
lea rax, [0x1800d6c90]
mov qword [rsp + 0x300], rax
mov qword [rsp + 0xb0], 0xffffffffffffffff
inc qword [rsp + 0xb0]
mov rax, qword [rsp + 0x300]
mov rcx, qword [rsp + 0xb0]
cmp word [rax + rcx*2], 0
jne 0x180048a5f
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x308]
mov qword [rsp + 0x358], rax
lea r8, [rsp + 0x340]
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x6a8]
call fcn.180002630
mov rax, qword [rsp + 0x910]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x180048cad
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x910]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0x310], rax
mov rax, qword [rsp + 0x310]
mov qword [rsp + 0x200], rax
lea rax, [rsp + 0x5e0]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
lea rcx, str.epp_path:_
mov qword [rax], rcx
xor eax, eax
test eax, eax
je 0x180048b98
lea rax, str.epp_path:_
mov qword [rsp + 0x318], rax
mov qword [rsp + 0xb8], 0xffffffffffffffff
inc qword [rsp + 0xb8]
mov rax, qword [rsp + 0x318]
mov rcx, qword [rsp + 0xb8]
cmp byte [rax + rcx], 0
jne 0x180048b68
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xe8], rax
jmp 0x180048be6
mov rax, qword [rsp + 0x448]
mov qword [rsp + 0xe8], rax
lea rax, str.epp_path:_
mov qword [rsp + 0x320], rax
mov qword [rsp + 0x78], 0xffffffffffffffff
inc qword [rsp + 0x78]
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x78]
cmp word [rax + rcx*2], 0
jne 0x180048bc0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0xe8]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x4d0]
mov rdi, rax
mov rsi, qword [rsp + 0x1f0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x4e0]
lea rcx, [rsp + 0x4d0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x450]
mov qword [rsp + 0x1f8], rax
lea rax, [rsp + 0x6a8]
mov qword [rsp + 0x1f8], rax
lea rax, [rsp + 0x4f0]
lea rcx, [rsp + 0x4e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x500]
lea rcx, [rsp + 0x4f0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0x1f8]
lea r8, [rsp + 0x500]
mov edx, 1
mov rcx, qword [rsp + 0x200]
call fcn.180058770
lea rax, str.EventMessageFile
mov qword [rsp + 0x648], rax
mov dword [rsp + 0x690], 0x104
lea rax, [rsp + 0x6d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea r9, [rsp + 0x690]
lea r8, [rsp + 0x6d0]
mov rdx, qword [rsp + 0x648]
lea rcx, [rsp + 0x678]
call fcn.180062b20
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0
jne 0x180048d58
lea rdx, [rsp + 0x6d0]
lea rcx, [rsp + 0x5b0]
call fcn.180002a40
nop
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
lea rdx, [rsp + 0x5b0]
lea rcx, [rsp + 0x6a8]
call fcn.180002650
movzx eax, al
test eax, eax
je 0x180048d58
mov dword [rsp + 0x58], 0
jmp 0x180048d60
mov dword [rsp + 0x58], 1
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x41], al
mov eax, dword [rsp + 0x44]
and eax, 1
test eax, eax
je 0x180048d86
and dword [rsp + 0x44], 0xfffffffe
lea rcx, [rsp + 0x5b0]
call fcn.1800029a0
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x180049092
mov rax, qword [rsp + 0x458]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x6a8]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x18], 8
jb 0x180048ddc
mov dword [rsp + 0x5c], 1
jmp 0x180048de4
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x42], al
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x180048e19
mov rax, qword [rsp + 0x108]
mov rax, qword [rax]
mov qword [rsp + 0x328], rax
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x330], rax
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x648]
mov qword [rsp + 0x338], rax
mov r9d, 2
mov r8, qword [rsp + 0x148]
mov rdx, qword [rsp + 0x338]
lea rcx, [rsp + 0x678]
call fcn.180063150
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 0
je 0x180049092
mov rax, qword [rsp + 0x910]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x180049080
mov rax, qword [rsp + 0x460]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x910]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x600]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
lea rcx, [0x1800d6cc0]
mov qword [rax], rcx
xor eax, eax
test eax, eax
je 0x180048f5e
lea rax, [0x1800d6cc0]
mov qword [rsp + 0x218], rax
mov qword [rsp + 0x80], 0xffffffffffffffff
inc qword [rsp + 0x80]
mov rax, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x80]
cmp byte [rax + rcx], 0
jne 0x180048f2e
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x110], rax
jmp 0x180048fb8
mov rax, qword [rsp + 0x468]
mov qword [rsp + 0x110], rax
lea rax, [0x1800d6cc0]
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x88], 0xffffffffffffffff
inc qword [rsp + 0x88]
mov rax, qword [rsp + 0x220]
mov rcx, qword [rsp + 0x88]
cmp word [rax + rcx*2], 0
jne 0x180048f89
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x110]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x510]
mov rdi, rax
mov rsi, qword [rsp + 0x160]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x520]
lea rcx, [rsp + 0x510]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x470]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x648]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x530]
lea rcx, [rsp + 0x520]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x540]
lea rcx, [rsp + 0x530]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0x120]
lea r8, [rsp + 0x540]
mov edx, 4
mov rcx, qword [rsp + 0x128]
call fcn.180058550
nop
lea rcx, [rsp + 0x6a8]
call fcn.1800029a0
jmp 0x18004945e
lea rax, str.TypesSupported
mov qword [rsp + 0x640], rax
mov dword [rsp + 0x240], 7
mov dword [rsp + 0x650], 0
mov rax, qword [rsp + 0x640]
mov qword [rsp + 0x228], rax
xor eax, eax
test eax, eax
jne 0x1800490c7
mov dword [rsp + 0x6a4], 4
lea rax, [rsp + 0x6a4]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x650]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6a0]
xor r8d, r8d
mov rdx, qword [rsp + 0x228]
mov rcx, qword [rsp + 0x678]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x180049128
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x4c], eax
jmp 0x180049144
cmp dword [rsp + 0x6a0], 4
je 0x18004913c
mov dword [rsp + 0x4c], 0xd
jmp 0x180049144
mov dword [rsp + 0x4c], 0
cmp dword [rsp + 0x4c], 0
jne 0x180049159
cmp dword [rsp + 0x650], 7
je 0x1800493d4
mov dword [rsp + 0x698], 7
mov rax, qword [rsp + 0x640]
mov qword [rsp + 0x230], rax
xor eax, eax
test eax, eax
jne 0x180049174
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x698]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x230]
mov rcx, qword [rsp + 0x678]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 0
je 0x1800493d4
mov rax, qword [rsp + 0x910]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x1800493c2
mov rax, qword [rsp + 0x478]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x910]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x5f0]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
lea rcx, str.___Failed_to_write_.
mov qword [rax], rcx
xor eax, eax
test eax, eax
je 0x1800492a0
lea rax, str.___Failed_to_write_.
mov qword [rsp + 0x248], rax
mov qword [rsp + 0x98], 0xffffffffffffffff
inc qword [rsp + 0x98]
mov rax, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x98]
cmp byte [rax + rcx], 0
jne 0x180049270
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x118], rax
jmp 0x1800492fa
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0x118], rax
lea rax, str.___Failed_to_write_.
mov qword [rsp + 0x250], rax
mov qword [rsp + 0xa0], 0xffffffffffffffff
inc qword [rsp + 0xa0]
mov rax, qword [rsp + 0x250]
mov rcx, qword [rsp + 0xa0]
cmp word [rax + rcx*2], 0
jne 0x1800492cb
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x118]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x550]
mov rdi, rax
mov rsi, qword [rsp + 0x138]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x560]
lea rcx, [rsp + 0x550]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x488]
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x640]
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x570]
lea rcx, [rsp + 0x560]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x580]
lea rcx, [rsp + 0x570]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0x140]
lea r8, [rsp + 0x580]
mov edx, 4
mov rcx, qword [rsp + 0x158]
call fcn.180058550
nop
lea rcx, [rsp + 0x6a8]
call fcn.1800029a0
jmp 0x18004945e
mov dword [rsp + 0x54], 1
mov rax, qword [rsp + 0x910]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x180049447
mov rax, qword [rsp + 0x490]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x910]
mov rax, qword [rax + 0x418]
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0x168], rax
lea rdx, [0x1800d6d50]
mov rcx, qword [rsp + 0x168]
call fcn.180056ab0
nop
lea rcx, [rsp + 0x6a8]
call fcn.1800029a0
xor eax, eax
test eax, eax
jne 0x1800487a4
mov dword [rsp + 0xdc], 0
cmp qword [rsp + 0x678], 0
je 0x180049495
mov rcx, qword [rsp + 0x678]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0xdc], eax
mov qword [rsp + 0x678], 0
mov dword [rsp + 0x680], 0
mov dword [rsp + 0xe0], 0
cmp qword [rsp + 0x660], 0
je 0x1800494d7
mov rcx, qword [rsp + 0x660]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0xe0], eax
mov qword [rsp + 0x660], 0
mov dword [rsp + 0x668], 0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0xe4], eax
lea rcx, [rsp + 0x678]
call fcn.180062250
nop
lea rcx, [rsp + 0x660]
call fcn.180062250
mov eax, dword [rsp + 0xe4]
mov rcx, qword [rsp + 0x8e0]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x8f8
pop rdi
pop rsi
ret