Function at 0x140109d40
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x3d8]
sub rsp, 0x4c0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x141992390]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r15, rcx
mov qword [rsp + 0x70], rcx
xor eax, eax
mov dword [rsp + 0x78], eax
lea rbx, [0x1401a1e20]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0x34]
lea rdx, [0x140282988]
lea rcx, [rsp + 0x40]
call fcn.1400405f0
nop
lea rcx, [rsp + 0x40]
call fcn.140046630
mov rdx, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 0xffffffff
test eax, eax
jne 0x140109f48
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.1401246d0
mov dword [rsp + 0x50], 0x208
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140282d10]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r8d, edi
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x58]
call fcn.140040590
mov rcx, rax
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov qword [rcx], rbx
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x140109e75
cmp ecx, edi
je 0x140109e88
mov ecx, edi
mov rax, qword [rsp + 0x58]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140109e88
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x58]
call fcn.140049bf0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x68], rcx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov eax, dword [rcx]
test eax, eax
je 0x140109eb7
cmp eax, 0xffffffff
je 0x140109eca
mov ecx, edi
mov rax, qword [rsp + 0x68]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140109eca
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x68]
call fcn.140049bf0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x38]
cmp dword [rax + 4], 0
je 0x140109f48
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.140045c60
nop
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x140109f0e
cmp ecx, 0xffffffff
je 0x140109f22
mov ecx, edi
mov rax, qword [rsp + 0x40]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140109f22
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x40]
call fcn.140049bf0
nop
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x14010a274
cmp ecx, 0xffffffff
je 0x14010a288
mov rcx, qword [rsp + 0x38]
lock xadd dword [rcx], edi
jmp 0x14010a26f
lea rcx, [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x48]
call fcn.140107810
nop
mov rax, qword [rsp + 0x48]
movsxd rbx, dword [rax + 8]
add rbx, 2
lea rbx, [rax + rbx*8]
movsxd rsi, dword [rax + 0xc]
add rsi, 2
lea rsi, [rax + rsi*8]
cmp rbx, rsi
je 0x14010a1de
lea r8, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.1401083b0
mov rdx, rax
lea rcx, [rbp - 0x70]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx + 0x70], xmm1
movups xmm0, xmmword [rax + 0x80]
movups xmmword [rcx + 0x80], xmm0
movups xmm1, xmmword [rax + 0x90]
movups xmmword [rcx + 0x90], xmm1
mov rax, qword [rax + 0xa0]
mov qword [rcx + 0xa0], rax
mov eax, dword [rdx + 0xa8]
mov dword [rcx + 0xa8], eax
mov eax, dword [rbp + 0xf0]
cmp dword [rbp - 0x70], eax
jne 0x14010a138
mov eax, dword [rbp + 0x144]
cmp dword [rbp - 0x1c], eax
jne 0x14010a138
movzx eax, word [rbp + 0x134]
cmp word [rbp - 0x2c], ax
jne 0x14010a138
movzx eax, word [rbp + 0x136]
cmp word [rbp - 0x2a], ax
jne 0x14010a138
movzx eax, word [rbp + 0x13a]
cmp word [rbp - 0x26], ax
jne 0x14010a138
movzx eax, word [rbp + 0x138]
cmp word [rbp - 0x28], ax
jne 0x14010a138
movzx eax, word [rbp + 0x13c]
cmp word [rbp - 0x24], ax
jne 0x14010a138
movzx eax, word [rbp + 0x13e]
cmp word [rbp - 0x22], ax
jne 0x14010a138
movzx eax, word [rbp + 0x140]
cmp word [rbp - 0x20], ax
jne 0x14010a138
movzx eax, word [rbp + 0x142]
cmp word [rbp - 0x1e], ax
jne 0x14010a138
lea rax, [rbp - 0x6c]
lea r8, [rbp + 0xf4]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14010a0e4
add rax, 2
test ecx, ecx
jne 0x14010a0d0
test edx, edx
jne 0x14010a138
mov eax, dword [rbp + 0x198]
cmp dword [rbp + 0x38], eax
jne 0x14010a138
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x28]
call fcn.140108350
test al, al
je 0x14010a138
lea rax, [rbp - 0x18]
lea r8, [rbp + 0x148]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14010a134
add rax, 2
test ecx, ecx
jne 0x14010a120
test edx, edx
je 0x14010a141
add rbx, 8
jmp 0x140109f82
mov rcx, qword [rbx]
mov qword [r15], rcx
mov eax, dword [rcx]
inc eax
cmp eax, 1
jbe 0x14010a159
mov eax, 1
lock xadd dword [rcx], eax
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x14010a179
cmp ecx, 0xffffffff
je 0x14010a1dc
mov ecx, edi
mov rax, qword [rsp + 0x48]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14010a1dc
mov r14, qword [rsp + 0x48]
movsxd rbx, dword [r14 + 0xc]
add rbx, 2
lea rbx, [r14 + rbx*8]
movsxd rsi, dword [r14 + 8]
add rsi, 2
lea rsi, [r14 + rsi*8]
cmp rsi, rbx
je 0x14010a1d3
nop dword [rax + rax]
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x14010a1bd
cmp eax, 0xffffffff
je 0x14010a1ce
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14010a1ce
mov edx, 1
lea r8d, [rdx + 7]
mov rcx, qword [rbx]
call fcn.140049bf0
cmp rbx, rsi
jne 0x14010a1a0
mov rcx, r14
call fcn.14003a040
nop
jmp 0x14010a221
mov byte [rsp + 0x31], 0
mov rdx, r15
lea rcx, [rsp + 0x31]
call fcn.1400be2a0
nop
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x14010a211
cmp ecx, 0xffffffff
je 0x14010a221
mov ecx, edi
mov rax, qword [rsp + 0x48]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14010a221
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.14002bf00
nop
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x14010a241
cmp ecx, 0xffffffff
je 0x14010a256
mov rax, qword [rsp + 0x40]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14010a256
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, qword [rsp + 0x40]
call fcn.140049bf0
nop
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x14010a274
cmp ecx, 0xffffffff
je 0x14010a288
mov rax, qword [rsp + 0x38]
lock xadd dword [rax], edi
cmp edi, 1
jne 0x14010a288
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, qword [rsp + 0x38]
call fcn.140049bf0
mov rax, r15
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140121c90
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret