Function at 0x140053270
Capabilities:
Delete registry key
Delete registry value
Link many functions at runtime

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21d8]
mov eax, 0x22d8
call fcn.1400578d0
sub rsp, rax
mov rax, qword [0x140121c38]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
xor esi, esi
mov dword [rsp + 0x70], r9d
mov r12d, esi
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov r15, rdx
mov qword [rbp - 0x78], rsi
mov r14, rcx
mov qword [rsp + 0x68], r8
call fcn.14004b480
mov ebx, eax
test eax, eax
js 0x140054251
cmp word [r15], 0x7d
je 0x140054243
nop
lea rdx, str.Delete
mov rcx, r15
mov r13d, 1
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea rdx, str.ForceRemove
mov rcx, r15
test eax, eax
sete sil
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140053318
test esi, esi
je 0x14005358a
mov rbx, r15
nop dword [rax + rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14005333c
sub edx, r13d
je 0x14005333c
sub edx, 3
je 0x14005333c
cmp edx, 0x13
jne 0x14005334a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140053320
xor edx, edx
cmp dx, cx
je 0x14005423e
mov eax, 0x27
cmp ax, cx
jne 0x140053444
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
xor edi, edi
movzx eax, word [rax]
cmp di, ax
je 0x140053422
mov ecx, 0x27
cmp cx, ax
jne 0x1400533a1
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, 0x27
cmp cx, word [rax]
jne 0x140053422
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x1400533bd
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
mov r8, rax
sar rdx, 1
lea rax, [r15 + 0x2000]
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
cmp rcx, rax
jae 0x14005423e
test edx, edx
jle 0x140053413
sub rdi, rbx
mov ecx, edx
nop word [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, r13
jne 0x140053400
mov r8, qword [r14]
movzx eax, word [r8]
xor edi, edi
cmp di, ax
jne 0x140053380
mov rax, qword [r14]
cmp di, word [rax]
je 0x14005423e
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor edx, edx
jmp 0x1400534cc
movzx ecx, cx
sub ecx, 9
je 0x1400534c9
sub ecx, r13d
je 0x1400534c9
sub ecx, 3
je 0x1400534c9
cmp ecx, 0x13
je 0x1400534c9
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
mov r8, rax
sar rdx, 1
lea rax, [r15 + 0x2000]
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
cmp rcx, rax
jae 0x14005423e
test edx, edx
jle 0x1400534b3
sub rdi, rbx
mov ecx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, r13
jne 0x1400534a0
mov r8, qword [r14]
movzx eax, word [r8]
xor edx, edx
mov rdi, r8
cmp dx, ax
je 0x1400534c9
movzx ecx, ax
jmp 0x140053444
mov word [rbx], dx
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x14005358a
movzx eax, word [r15]
mov rcx, r15
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
test ax, ax
je 0x140053512
nop
cmp ax, 0x5c
je 0x140053509
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x1400534f0
jmp 0x140053512
test rcx, rcx
jne 0x14005423e
lea rbx, str.AppID
nop dword [rax]
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140053555
add rbx, 8
lea rax, [0x1400f0180]
cmp rbx, rax
jl 0x140053520
mov rax, qword [rsp + 0x68]
lea rcx, [rbp - 0x68]
mov rdx, r15
mov qword [rbp - 0x68], rax
call fcn.140052470
test esi, esi
je 0x14005358a
mov rdx, r15
mov rcx, r14
call fcn.14004b480
mov ebx, eax
test eax, eax
js 0x140054243
mov rdx, r15
mov rcx, r14
call fcn.140054ab0
mov ebx, eax
test eax, eax
js 0x140054243
xor esi, esi
jmp 0x140053e3e
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x140053738
mov r13d, esi
mov rbx, r15
nop word [rax + rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x1400535cc
sub edx, 1
je 0x1400535cc
sub edx, 3
je 0x1400535cc
cmp edx, 0x13
jne 0x1400535da
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x1400535b0
cmp si, cx
je 0x14005423e
mov eax, 0x27
cmp ax, cx
jne 0x1400536c0
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x1400536a1
nop dword [rax]
mov edi, 0x27
cmp di, ax
jne 0x140053628
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x1400536a1
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x140053644
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
mov r8, rax
sar rdx, 1
lea rax, [r15 + 0x2000]
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
cmp rcx, rax
jae 0x14005423e
test edx, edx
jle 0x140053694
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140053680
mov r8, qword [r14]
movzx eax, word [r8]
cmp si, ax
jne 0x140053610
mov rax, qword [r14]
cmp si, word [rax]
je 0x14005423e
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140053738
movzx ecx, cx
sub ecx, 9
je 0x140053735
sub ecx, 1
je 0x140053735
sub ecx, 3
je 0x140053735
cmp ecx, 0x13
je 0x140053735
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
mov r8, rax
sar rdx, 1
lea rax, [r15 + 0x2000]
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
cmp rcx, rax
jae 0x14005423e
test edx, edx
jle 0x140053724
sub rdi, rbx
mov ecx, edx
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140053710
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
je 0x140053735
movzx ecx, ax
jmp 0x1400536c0
mov word [rbx], si
lea rdx, [0x1400efad8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140053b46
lea rbx, [rbp + 0x1c0]
nop word [rax + rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14005377c
sub edx, 1
je 0x14005377c
sub edx, 3
je 0x14005377c
cmp edx, 0x13
jne 0x14005378a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140053760
cmp si, cx
je 0x14005423e
mov eax, 0x27
cmp ax, cx
jne 0x140053867
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x14005384d
nop dword [rax]
mov edi, 0x27
cmp di, ax
jne 0x1400537d8
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x14005384d
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x1400537f4
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov qword [r14], rax
sub rcx, rdi
lea r8, [rbp + 0x21c0]
sar rcx, 1
mov rdx, rax
lea rax, [rcx + 1]
lea rax, [rbx + rax*2]
cmp rax, r8
jae 0x14005423e
test ecx, ecx
jle 0x140053841
sub rdi, rbx
mov ecx, ecx
nop dword [rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140053830
movzx eax, word [rdx]
cmp si, ax
jne 0x1400537c0
mov rcx, qword [r14]
cmp si, word [rcx]
je 0x14005423e
mov word [rbx], si
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x1400538e5
movzx ecx, cx
sub ecx, 9
je 0x1400538e2
sub ecx, 1
je 0x1400538e2
sub ecx, 3
je 0x1400538e2
cmp ecx, 0x13
je 0x1400538e2
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
mov r8, rax
sar rdx, 1
lea rax, [rbp + 0x21c0]
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
cmp rcx, rax
jae 0x14005423e
test edx, edx
jle 0x1400538d1
sub rdi, rbx
mov ecx, edx
nop word [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400538c0
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
je 0x1400538e2
movzx ecx, ax
jmp 0x140053867
mov word [rbx], si
mov rbx, r15
nop dword [rax + rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14005390c
sub edx, 1
je 0x14005390c
sub edx, 3
je 0x14005390c
cmp edx, 0x13
jne 0x14005391a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x1400538f0
cmp si, cx
je 0x14005423e
mov eax, 0x27
cmp ax, cx
jne 0x140053a00
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x1400539e1
nop dword [rax]
mov edi, 0x27
cmp di, ax
jne 0x140053968
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x1400539e1
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x140053984
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
mov r8, rax
sar rdx, 1
lea rax, [r15 + 0x2000]
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
cmp rcx, rax
jae 0x14005423e
test edx, edx
jle 0x1400539d4
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400539c0
mov r8, qword [r14]
movzx eax, word [r8]
cmp si, ax
jne 0x140053950
mov rax, qword [r14]
cmp si, word [rax]
je 0x14005423e
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140053a78
movzx ecx, cx
sub ecx, 9
je 0x140053a75
sub ecx, 1
je 0x140053a75
sub ecx, 3
je 0x140053a75
cmp ecx, 0x13
je 0x140053a75
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
mov r8, rax
sar rdx, 1
lea rax, [r15 + 0x2000]
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
cmp rcx, rax
jae 0x14005423e
test edx, edx
jle 0x140053a64
sub rdi, rbx
mov ecx, edx
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140053a50
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
je 0x140053a75
movzx ecx, ax
jmp 0x140053a00
mov word [rbx], si
cmp word [r15], 0x3d
jne 0x14005423e
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x140053ab6
mov rax, qword [rsp + 0x68]
lea r8, [rbp + 0x1c0]
mov r9, r15
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x68]
mov dword [rbp - 0x60], esi
mov rcx, r14
mov qword [rbp - 0x58], rsi
call fcn.140046b40
jmp 0x140053e34
cmp dword [rbp + 0x2240], 0
jne 0x140053b1f
test r13d, r13d
je 0x140053b1f
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x60], rsi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140054233
mov rdi, qword [rsp + 0x60]
lea rdx, [rbp + 0x1c0]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140054215
test rdi, rdi
je 0x140053b1f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, r15
mov rcx, r14
call fcn.140054ab0
mov ebx, eax
test eax, eax
js 0x140054243
xor esi, esi
cmp word [r15], 0x7d
jne 0x1400532e0
jmp 0x140054243
movzx eax, word [r15]
mov rcx, r15
test ax, ax
je 0x140053b74
cmp ax, 0x5c
je 0x140053b6b
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140053b52
jmp 0x140053b74
test rcx, rcx
jne 0x14005423e
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x140053e94
mov rbx, qword [rbp - 0x78]
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x140053bfc
cmp qword [rbx], 0
je 0x140053bef
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140053c46
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140053bf5
mov rax, qword [rbx]
mov r9d, 0x2001f
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x30], rsi
mov rdx, r15
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call r10
jmp 0x140053c1d
cmp dword [rbx + 8], 0
jne 0x140053bfc
mov eax, 1
jmp 0x140053c1d
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140053c46
mov eax, esi
test r12, r12
je 0x140053c31
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
test eax, eax
je 0x140053e00
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x140053cbe
cmp qword [rbx], 0
je 0x140053cb1
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140053d08
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140053cb7
mov rax, qword [rbx]
mov r9d, 0x20019
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x30], rsi
mov rdx, r15
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call r10
jmp 0x140053cdf
cmp dword [rbx + 8], 0
jne 0x140053cbe
mov eax, 1
jmp 0x140053cdf
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140053d08
mov eax, esi
test r12, r12
je 0x140053cf3
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
test eax, eax
je 0x140053e00
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x140053d9b
cmp qword [rbx], 0
je 0x140053d8e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005422e
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140053d94
mov rax, qword [rbx]
xor r9d, r9d
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x50], rsi
mov rdx, r15
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
call r10
jmp 0x140053dd3
cmp dword [rbx + 8], 0
jne 0x140053d9b
mov eax, 1
jmp 0x140053dd3
mov rcx, qword [rsp + 0x68]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rdx, r15
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140054233
mov eax, esi
test r12, r12
je 0x140053deb
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
test eax, eax
jne 0x140054233
mov rdx, r15
mov rcx, r14
call fcn.14004b480
mov ebx, eax
test eax, eax
js 0x140054243
cmp word [r15], 0x3d
jne 0x140053e3e
mov r9, r15
lea rdx, [rsp + 0x78]
xor r8d, r8d
mov rcx, r14
call fcn.140046b40
mov r12, qword [rsp + 0x78]
mov ebx, eax
test eax, eax
js 0x140054243
cmp word [r15], 0x7b
jne 0x140053b34
mov rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], 0
jne 0x140053e50
cmp rax, 1
jne 0x140053b34
mov r9d, edi
mov dword [rsp + 0x20], esi
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.140053270
mov ebx, eax
test eax, eax
js 0x140054243
mov rdx, r15
mov rcx, r14
call fcn.14004b480
jmp 0x140053b2a
mov eax, dword [rbp + 0x2240]
test eax, eax
jne 0x140053f76
mov rbx, qword [rbp - 0x78]
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x140053f28
cmp qword [rbx], 0
je 0x140053f1b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140053ed6
lea edi, [rax + 1]
mov eax, dword [rbp + 0x2240]
jmp 0x140053f7b
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140053f21
mov rax, qword [rbx]
mov r9d, 0x20019
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x30], rsi
mov rdx, r15
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call r10
jmp 0x140053f49
cmp dword [rbx + 8], 0
jne 0x140053f28
mov edi, 1
jmp 0x140053f4b
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x140053f6e
mov edi, esi
test r12, r12
je 0x140053f61
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
mov eax, dword [rbp + 0x2240]
jmp 0x140053f7b
mov edi, 2
test edi, edi
lea rcx, [rbp - 0x50]
mov esi, 1
mov r9, 0xffffffffffffffff
mov r8, r15
mov edx, 0x104
cmove esi, eax
call fcn.1400ba974
test eax, eax
je 0x140053fc5
cmp eax, 0xc
je 0x140054276
cmp eax, 0x16
je 0x14005428c
cmp eax, 0x22
je 0x14005428c
cmp eax, 0x50
jne 0x140054281
mov rdx, r15
mov rcx, r14
call fcn.14004b480
mov ebx, eax
test eax, eax
js 0x140054243
mov rdx, r15
mov rcx, r14
call fcn.140054ab0
mov ebx, eax
test eax, eax
js 0x140054243
cmp word [r15], 0x7b
jne 0x140054049
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x140054000
cmp rax, 1
jne 0x140054049
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.140053270
mov ebx, eax
test eax, eax
jns 0x140054034
test esi, esi
je 0x140054243
mov rdx, r15
mov rcx, r14
call fcn.14004b480
mov ebx, eax
test eax, eax
js 0x140054243
cmp edi, 2
je 0x140053b34
test edi, edi
je 0x140054071
cmp dword [rbp + 0x2240], 0
jne 0x140053b34
mov ecx, edi
call fcn.1400472e0
mov ebx, eax
jmp 0x140054243
xor esi, esi
cmp dword [rbp + 0x2240], esi
je 0x140054118
mov qword [rsp + 0x58], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rsi
xor r9d, r9d
mov qword [rsp + 0x48], rsi
xor r8d, r8d
mov qword [rsp + 0x40], rsi
xor edx, edx
mov qword [rsp + 0x38], rsi
mov rcx, r12
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140054118
cmp dword [rsp + 0x60], esi
jbe 0x140054118
lea rdi, str.AppID
mov rdx, qword [rdi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140053b36
add rdi, 8
lea rax, [0x1400f0180]
cmp rdi, rax
jl 0x1400540d2
test r13d, r13d
je 0x140053b36
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x78]
call fcn.140052470
mov r12, qword [rsp + 0x78]
jmp 0x140053b36
mov qword [rsp + 0x58], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rsi
xor r9d, r9d
mov qword [rsp + 0x48], rsi
xor r8d, r8d
mov qword [rsp + 0x40], rsi
xor edx, edx
mov qword [rsp + 0x38], rsi
mov rcx, r12
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, esi
test eax, eax
jne 0x140054168
cmp dword [rsp + 0x60], eax
seta dil
mov eax, esi
test r12, r12
je 0x140054180
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, rsi
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
test eax, eax
jne 0x140054233
test r13d, r13d
je 0x140053b36
test edi, edi
jne 0x140053b36
cmp byte [0x1401271a8], dil
jne 0x1400541e7
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400541d7
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401271a0], rax
mov byte [0x1401271a8], 1
jmp 0x1400541ee
mov rax, qword [0x1401271a0]
mov byte [0x1401271a8], 1
jmp 0x1400541ee
mov rax, qword [0x1401271a0]
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x50]
test rax, rax
je 0x140054206
xor r9d, r9d
xor r8d, r8d
call rax
jmp 0x14005420c
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x140054233
jmp 0x140053b36
mov ecx, eax
call fcn.1400472e0
mov ebx, eax
test rdi, rdi
je 0x140054243
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140054243
mov eax, 1
mov ecx, eax
call fcn.1400472e0
mov ebx, eax
jmp 0x140054243
mov ebx, 0x80020009
test r12, r12
je 0x140054251
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.140056c90
add rsp, 0x22d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140006d80
int3
mov ecx, 0x80004005
call fcn.140006d80
int3
mov ecx, 0x80070057
call fcn.140006d80
int3