Function at 0x140161500
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2d0
mov rax, qword [0x1405f98c0]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov qword [rsp + 0x70], r8
mov r14, rdx
mov qword [rsp + 0x78], r8
xor r15d, r15d
mov r12d, r15d
mov dword [rsp + 0x54], r15d
lea rdx, [rsp + 0x88]
call fcn.1401629b0
mov rsi, qword [rax + 8]
mov rbx, qword [rax + 0x10]
cmp rsi, rbx
setne dil
lea rcx, [rsp + 0x90]
call fcn.1400ed910
mov byte [r14], dil
cmp rsi, rbx
je 0x140162570
mov qword [rsp + 0x58], r15
lea rdx, [0x140891380]
cmp qword [0x140891398], 7
cmova rdx, qword [0x140891380]
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20219
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14016259f
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.140107890
nop
mov rdi, qword [rsp + 0xb0]
mov r13, rdi
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x80], rax
mov rbx, qword [rsp + 0x68]
mov ecx, 0xa
movabs rdx, 0x7fffffffffffffff
movabs rax, 0x7ffffffffffffffe
mov qword [rsp + 0x58], r13
cmp r13, qword [rsp + 0x80]
je 0x1401624d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x248], xmm0
mov qword [rsp + 0x258], r15
mov qword [rsp + 0x260], r15
mov rsi, qword [r13 + 0x10]
mov r14, r13
cmp qword [r13 + 0x18], 7
jbe 0x140161667
mov r14, qword [r13]
cmp rsi, rax
ja 0x1401625cb
cmp rsi, 7
ja 0x14016169b
mov qword [rsp + 0x258], rsi
mov qword [rsp + 0x260], 7
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x248], xmm0
jmp 0x14016173b
mov rdi, rsi
or rdi, 7
cmp rdi, rax
jbe 0x1401616b0
mov rdi, rax
lea rcx, [rdx + rdx]
jmp 0x1401616d1
cmp rdi, 0xa
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, rdx
ja 0x1401625d0
add rcx, rcx
cmp rcx, 0x1000
jb 0x140161700
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1401625d5
mov rcx, rax
call fcn.1403e3660
mov rcx, rax
test rax, rax
je 0x140162741
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14016170f
test rcx, rcx
je 0x14016170c
call fcn.1403e3660
jmp 0x14016170f
mov rax, r15
mov qword [rsp + 0x248], rax
mov qword [rsp + 0x258], rsi
mov qword [rsp + 0x260], rdi
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.14043cc20
nop
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x2a8]
call fcn.1401844a0
nop
mov dword [rsp + 0x88], r15d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], r15
mov byte [rsp + 0xa8], 0
movups xmmword [rsp + 0x288], xmm0
mov qword [rsp + 0x298], r15
mov qword [rsp + 0x2a0], recv
mov byte [rsp + 0x288], 0
movups xmmword [rsp + 0x268], xmm0
mov qword [rsp + 0x278], r15
mov qword [rsp + 0x280], recv
mov byte [rsp + 0x268], 0
mov qword [rsp + 0x60], r15
lea rdx, [rsp + 0x248]
cmp qword [rsp + 0x260], 7
cmova rdx, qword [rsp + 0x248]
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1401625db
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0xc8], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x210], r15
mov qword [rsp + 0x218], r15
mov r8d, 4
lea rdx, str.path
lea rcx, [rsp + 0x200]
call fcn.1400c71d0
nop
mov dword [rsp + 0x50], r15d
lea r8, [rsp + 0x200]
cmp qword [rsp + 0x218], 7
cmova r8, qword [rsp + 0x200]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140162607
xorps xmm0, xmm0
movups xmmword [rsp + 0x1e0], xmm0
mov qword [rsp + 0x1f0], r15
mov qword [rsp + 0x1f8], 7
mov word [rsp + 0x1e0], r15w
or r12d, 1
mov dword [rsp + 0x54], r12d
mov edx, dword [rsp + 0x50]
shr rdx, 1
jne 0x1401618ee
mov qword [rsp + 0x1f0], rdx
mov word [rsp + rdx*2 + 0x1e0], r15w
jmp 0x14016192f
cmp rdx, 7
ja 0x140161919
mov qword [rsp + 0x1f0], rdx
movzx eax, r15w
lea rdi, [rsp + 0x1e0]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rsp + rdx*2 + 0x1e0], r15w
jmp 0x14016192f
mov word [rsp + 0x20], r15w
mov r9, rdx
lea rcx, [rsp + 0x1e0]
call fcn.1400eed70
lea rax, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 7
cmova rax, qword [rsp + 0x1e0]
lea r8, [rsp + 0x200]
cmp qword [rsp + 0x218], 7
cmova r8, qword [rsp + 0x200]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140162632
mov edx, dword [rsp + 0x50]
shr rdx, 1
dec rdx
mov r8, qword [rsp + 0x1f0]
cmp rdx, r8
ja 0x1401619ce
mov qword [rsp + 0x1f0], rdx
lea rax, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 7
cmova rax, qword [rsp + 0x1e0]
mov word [rax + rdx*2], r15w
jmp 0x140161a39
sub rdx, r8
mov rcx, qword [rsp + 0x1f8]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x140161a23
lea rax, [r8 + rdx]
mov qword [rsp + 0x1f0], rax
lea r9, [rsp + 0x1e0]
cmp rcx, 7
cmova r9, qword [rsp + 0x1e0]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140161a18
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r15w
jmp 0x140161a39
mov word [rsp + 0x20], r15w
mov r9, rdx
lea rcx, [rsp + 0x1e0]
call fcn.1400eed70
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x228], xmm0
mov qword [rsp + 0x238], r15
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x220]
call fcn.1400eb140
nop
mov eax, dword [rsp + 0x220]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0xa0], rax
movzx eax, byte [rsp + 0x240]
mov byte [rsp + 0xa8], al
and r12d, 0xfffffffe
mov dword [rsp + 0x54], r12d
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 7
jbe 0x140161b01
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140161afc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14016265e
call fcn.1403e3650
mov qword [rsp + 0x1f0], r15
mov qword [rsp + 0x1f8], 7
mov word [rsp + 0x1e0], r15w
mov rdx, qword [rsp + 0x218]
cmp rdx, 7
jbe 0x140161b67
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140161b61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140162664
call fcn.1403e3650
nop
mov r14, qword [rsp + 0x70]
jmp 0x140161b8f
xorps xmm0, xmm0
movups xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x210], r15
mov qword [rsp + 0x218], r15
mov r8d, 8
lea rdx, str.gameName
lea rcx, [rsp + 0x200]
call fcn.1400c71d0
nop
mov dword [rsp + 0x50], r15d
lea r8, [rsp + 0x200]
cmp qword [rsp + 0x218], 7
cmova r8, qword [rsp + 0x200]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14016266a
xorps xmm0, xmm0
movups xmmword [rsp + 0x1e0], xmm0
mov qword [rsp + 0x1f0], r15
mov qword [rsp + 0x1f8], 7
mov word [rsp + 0x1e0], r15w
or r12d, 2
mov dword [rsp + 0x54], r12d
mov edx, dword [rsp + 0x50]
shr rdx, 1
jne 0x140161c5c
mov qword [rsp + 0x1f0], rdx
mov word [rsp + rdx*2 + 0x1e0], r15w
jmp 0x140161c9d
cmp rdx, 7
ja 0x140161c87
mov qword [rsp + 0x1f0], rdx
movzx eax, r15w
lea rdi, [rsp + 0x1e0]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rsp + rdx*2 + 0x1e0], r15w
jmp 0x140161c9d
mov word [rsp + 0x20], r15w
mov r9, rdx
lea rcx, [rsp + 0x1e0]
call fcn.1400eed70
lea rax, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 7
cmova rax, qword [rsp + 0x1e0]
lea r8, [rsp + 0x200]
cmp qword [rsp + 0x218], 7
cmova r8, qword [rsp + 0x200]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140162695
mov edx, dword [rsp + 0x50]
shr rdx, 1
dec rdx
mov r8, qword [rsp + 0x1f0]
cmp rdx, r8
ja 0x140161d3c
mov qword [rsp + 0x1f0], rdx
lea rax, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 7
cmova rax, qword [rsp + 0x1e0]
mov word [rax + rdx*2], r15w
jmp 0x140161da7
sub rdx, r8
mov rcx, qword [rsp + 0x1f8]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x140161d91
lea rax, [r8 + rdx]
mov qword [rsp + 0x1f0], rax
lea r9, [rsp + 0x1e0]
cmp rcx, 7
cmova r9, qword [rsp + 0x1e0]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140161d86
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r15w
jmp 0x140161da7
mov word [rsp + 0x20], r15w
mov r9, rdx
lea rcx, [rsp + 0x1e0]
call fcn.1400eed70
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x220]
call fcn.1401844a0
lea rcx, [rsp + 0x288]
cmp rcx, rax
je 0x140161def
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x288], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x298], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x140161e32
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140161e2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401626c0
call fcn.1403e3650
mov qword [rsp + 0x230], r15
mov qword [rsp + 0x238], recv
mov byte [rsp + 0x220], 0
and r12d, 0xfffffffd
mov dword [rsp + 0x54], r12d
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 7
jbe 0x140161e9f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140161e9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401626c6
call fcn.1403e3650
mov qword [rsp + 0x1f0], r15
mov qword [rsp + 0x1f8], 7
mov word [rsp + 0x1e0], r15w
mov rdx, qword [rsp + 0x218]
cmp rdx, 7
jbe 0x140161f05
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140161eff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401626cc
call fcn.1403e3650
nop
jmp 0x140161f28
xorps xmm0, xmm0
movups xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x210], r15
mov qword [rsp + 0x218], r15
mov r8d, 7
lea rdx, str.BUILDID
lea rcx, [rsp + 0x200]
call fcn.1400c71d0
nop
mov dword [rsp + 0x50], r15d
lea r8, [rsp + 0x200]
cmp qword [rsp + 0x218], 7
cmova r8, qword [rsp + 0x200]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1401626d2
xorps xmm0, xmm0
movups xmmword [rsp + 0x1e0], xmm0
mov qword [rsp + 0x1f0], r15
mov qword [rsp + 0x1f8], 7
mov word [rsp + 0x1e0], r15w
or r12d, 4
mov dword [rsp + 0x54], r12d
mov edx, dword [rsp + 0x50]
shr rdx, 1
jne 0x140161ff5
mov qword [rsp + 0x1f0], rdx
mov word [rsp + rdx*2 + 0x1e0], r15w
jmp 0x140162036
cmp rdx, 7
ja 0x140162020
mov qword [rsp + 0x1f0], rdx
movzx eax, r15w
lea rdi, [rsp + 0x1e0]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rsp + rdx*2 + 0x1e0], r15w
jmp 0x140162036
mov word [rsp + 0x20], r15w
mov r9, rdx
lea rcx, [rsp + 0x1e0]
call fcn.1400eed70
lea rax, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 7
cmova rax, qword [rsp + 0x1e0]
lea r8, [rsp + 0x200]
cmp qword [rsp + 0x218], 7
cmova r8, qword [rsp + 0x200]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1401626fd
mov edx, dword [rsp + 0x50]
shr rdx, 1
dec rdx
mov r8, qword [rsp + 0x1f0]
cmp rdx, r8
ja 0x1401620d5
mov qword [rsp + 0x1f0], rdx
lea rax, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 7
cmova rax, qword [rsp + 0x1e0]
mov word [rax + rdx*2], r15w
jmp 0x140162140
sub rdx, r8
mov rcx, qword [rsp + 0x1f8]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x14016212a
lea rax, [rdx + r8]
mov qword [rsp + 0x1f0], rax
lea r9, [rsp + 0x1e0]
cmp rcx, 7
cmova r9, qword [rsp + 0x1e0]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x14016211f
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r15w
jmp 0x140162140
mov word [rsp + 0x20], r15w
mov r9, rdx
lea rcx, [rsp + 0x1e0]
call fcn.1400eed70
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x220]
call fcn.1401844a0
lea rcx, [rsp + 0x268]
cmp rcx, rax
je 0x140162188
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x268], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x278], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], recv
mov byte [rax], 0
mov r8, qword [rsp + 0x238]
cmp r8, 0xf
jbe 0x1401621ab
mov rdx, qword [rsp + 0x220]
lea rcx, [rsp + 0x220]
call fcn.1400c68c0
mov qword [rsp + 0x230], r15
mov qword [rsp + 0x238], recv
mov byte [rsp + 0x220], 0
and r12d, 0xfffffffb
mov dword [rsp + 0x54], r12d
mov rdx, qword [rsp + 0x1f8]
cmp rdx, 7
jbe 0x140162218
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140162213
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140162729
call fcn.1403e3650
mov qword [rsp + 0x1f0], r15
mov qword [rsp + 0x1f8], 7
mov word [rsp + 0x1e0], r15w
mov r8, qword [rsp + 0x218]
cmp r8, 7
jbe 0x140162259
mov rdx, qword [rsp + 0x200]
lea rcx, [rsp + 0x200]
call fcn.1400c6820
nop
jmp 0x14016227c
mov ecx, 0x110
call fcn.1403e3660
mov rdi, rax
mov qword [rsp + 0xd0], rax
lea rax, [0x140545c90]
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x58]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xa
lea rax, [rsp + 0x268]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x288]
mov r8b, 0xa
lea rdx, [rsp + 0x2a8]
call fcn.1400eb4e0
nop
or r12d, 0x10
mov dword [rsp + 0x54], r12d
mov rcx, rdi
call fcn.1400eb770
lea rax, vtable.ps::GogGame.1.0
mov qword [rdi], rax
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.ps::GogGame.0
mov qword [rcx + rdi + 8], rax
or r12d, 8
mov dword [rsp + 0x54], r12d
mov qword [rsp + 0x60], r15
mov rax, qword [rdi + 8]
movsxd rax, dword [rax + 4]
add rax, 8
add rax, rdi
mov qword [rsp + 0x58], rax
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x140162343
mov rcx, r15
mov qword [rdx], rax
add qword [r14 + 8], 8
jmp 0x140162355
lea r8, [rsp + 0x58]
mov rcx, r14
call fcn.14011e260
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140162365
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
test rsi, rsi
je 0x14016239d
mov eax, 0x80000000
add rax, rsi
cmp rax, 5
jbe 0x14016239d
cmp rsi, 0xffffffff80000007
je 0x14016239d
cmp rsi, 0xffffffff80000060
je 0x14016239d
cmp rsi, 0xffffffff80000050
je 0x14016239d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x280]
cmp rdx, 0xf
jbe 0x1401623e1
inc rdx
mov rcx, qword [rsp + 0x268]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401623db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14016272f
call fcn.1403e3650
nop
mov rdx, qword [rsp + 0x2a0]
cmp rdx, 0xf
jbe 0x140162425
inc rdx
mov rcx, qword [rsp + 0x288]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14016241f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140162735
call fcn.1403e3650
nop
lea rcx, [rsp + 0x90]
call fcn.1400ed910
nop
mov rdx, qword [rsp + 0x2c0]
cmp rdx, 0xf
jbe 0x140162477
inc rdx
mov rcx, qword [rsp + 0x2a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140162471
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14016273b
call fcn.1403e3650
nop
mov rdx, qword [rsp + 0x260]
cmp rdx, 7
jbe 0x1401624bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x248]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401624ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140162741
call fcn.1403e3650
add r13, 0x20
mov rdi, qword [rsp + 0xb0]
jmp 0x14016160e
test rdi, rdi
je 0x140162538
mov rsi, qword [rsp + 0xb8]
cmp rdi, rsi
je 0x1401624fb
mov rcx, rdi
call fcn.1400c63d0
add rdi, 0x20
cmp rdi, rsi
jne 0x1401624e2
mov rdi, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xc0]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x14016252f
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140162747
mov rcx, rdi
call fcn.1403e3650
nop
test rbx, rbx
je 0x140162570
mov eax, 0x80000000
add rax, rbx
cmp rax, 5
jbe 0x140162570
cmp rbx, 0xffffffff80000007
je 0x140162570
cmp rbx, 0xffffffff80000060
je 0x140162570
cmp rbx, 0xffffffff80000050
je 0x140162570
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov al, 1
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.1403e3630
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8d, eax
lea rdx, str.RegCreateKeyEx_failed.
lea rcx, [rsp + 0xe0]
call fcn.1400d5280
lea rdx, [0x1405e62d8]
lea rcx, [rsp + 0xe0]
call fcn.1403e644c
nop
call fcn.1400c4f10
call fcn.1400c4e70
call fcn.1400c4e70
nop
mov r8d, eax
lea rdx, str.RegCreateKeyEx_failed.
lea rcx, [rsp + 0x100]
call fcn.1400d5280
lea rdx, [0x1405e62d8]
lea rcx, [rsp + 0x100]
call fcn.1403e644c
nop
mov r8d, eax
lea rdx, str.Cannot_get_size_of_string_value:_RegGetValue_failed.
lea rcx, [rsp + 0x120]
call fcn.1400d5280
lea rdx, [0x1405e62d8]
lea rcx, [rsp + 0x120]
call fcn.1403e644c
mov r8d, eax
lea rdx, str.Cannot_get_string_value:_RegGetValue_failed.
lea rcx, [rsp + 0x140]
call fcn.1400d5280
lea rdx, [0x1405e62d8]
lea rcx, [rsp + 0x140]
call fcn.1403e644c
nop
call fcn.1403fd768
nop
call fcn.1403fd768
nop
mov r8d, eax
lea rdx, str.Cannot_get_size_of_string_value:_RegGetValue_failed.
lea rcx, [rsp + 0x160]
call fcn.1400d5280
lea rdx, [0x1405e62d8]
lea rcx, [rsp + 0x160]
call fcn.1403e644c
mov r8d, eax
lea rdx, str.Cannot_get_string_value:_RegGetValue_failed.
lea rcx, [rsp + 0x180]
call fcn.1400d5280
lea rdx, [0x1405e62d8]
lea rcx, [rsp + 0x180]
call fcn.1403e644c
call fcn.1403fd768
nop
call fcn.1403fd768
nop
call fcn.1403fd768
nop
mov r8d, eax
lea rdx, str.Cannot_get_size_of_string_value:_RegGetValue_failed.
lea rcx, [rsp + 0x1a0]
call fcn.1400d5280
lea rdx, [0x1405e62d8]
lea rcx, [rsp + 0x1a0]
call fcn.1403e644c
mov r8d, eax
lea rdx, str.Cannot_get_string_value:_RegGetValue_failed.
lea rcx, [rsp + 0x1c0]
call fcn.1400d5280
lea rdx, [0x1405e62d8]
lea rcx, [rsp + 0x1c0]
call fcn.1403e644c
nop
call fcn.1403fd768
nop
call fcn.1403fd768
nop
call fcn.1403fd768
nop
call fcn.1403fd768
nop
call fcn.1403fd768
nop
call fcn.1403fd768
int3