Function at 0x1400037b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140077040]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r14, r9
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp - 0x7e]
call fcn.14005af20
call fcn.140002ed0
mov rcx, rax
test rax, rax
je 0x140003ab2
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
call fcn.140002ed0
mov rcx, rax
test rax, rax
je 0x140003abd
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
call fcn.140002ed0
mov rcx, rax
test rax, rax
je 0x140003ac8
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
movzx eax, word [rsp + 0x68]
movzx r9d, word [rsp + 0x6e]
movzx r8d, word [rsp + 0x6a]
mov dword [rsp + 0x20], eax
lea rdx, str._d._d._d
lea rcx, [rsp + 0x38]
call fcn.140004a60
mov r8, qword [0x14007e030]
lea rdx, str._sDates
lea rcx, [rsp + 0x50]
call fcn.140004a60
mov rbx, qword [rsp + 0x38]
mov r9, rbx
mov rdi, qword [rsp + 0x50]
mov r8, rdi
lea rdx, str._s_s
lea rcx, [rsp + 0x48]
call fcn.140004a60
xor r15d, r15d
mov word [rbp - 0x80], r15w
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 1]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [0x14007e028]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea esi, [r15 - 1]
test eax, eax
jne 0x1400039eb
mov dword [rsp + 0x40], 0x100
mov dword [rsp + 0x44], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.LastDateStored
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140003948
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400039eb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
lea rdx, [rbp - 0x80]
sub rdx, rbx
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x140003977
add rax, 2
test cx, cx
jne 0x140003960
mov eax, r15d
jmp 0x14000397c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400039eb
call fcn.140002ed0
mov rcx, rax
test rax, rax
je 0x140003aa7
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea r9, [rbp - 0x80]
mov r8, rdi
lea rdx, str._s_s
lea rcx, [rsp + 0x58]
call fcn.140004a60
mov rbx, qword [rsp + 0x58]
mov r8, rbx
mov rdx, qword [0x14007e028]
call fcn.140010500
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400039e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.ProBalanceToday
mov r8, qword [rsp + 0x48]
mov rdx, qword [0x14007e028]
call fcn.140010350
movzx edi, al
test r14, r14
je 0x140003a22
mov rcx, qword [rsp + 0x60]
mov qword [r14], rcx
lea rdx, [rbx - 0x18]
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140003a3c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140003a5b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140003a77
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
movzx eax, dil
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400398f0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002c40
nop
mov ecx, 0x80004005
call fcn.140002c40
nop
mov ecx, 0x80004005
call fcn.140002c40
nop
mov ecx, 0x80004005
call fcn.140002c40
int3