Function at 0x140010270
Capabilities:
Check if file exists
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x480], rbx
mov rax, qword [0x1400da318]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov r14, rcx
lea rax, [rbp + 0x80]
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], 0x41
xor edi, edi
mov word [rbp + 0x80], di
lea r15, [0x14009a690]
mov qword [rbp + 0x68], r15
lea r12, [0x14009a5a0]
mov qword [rbp + 0x60], r12
mov dword [rbp + 0x108], edi
mov qword [rbp + 0x110], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xf003f
mov r8, qword [0x1400db758]
lea rcx, [rbp + 0x60]
call fcn.1400120b0
test eax, eax
js 0x140034d5a
mov esi, edi
lea r13, [0x14009a6c8]
nop dword [rax + rax]
mov dword [rsp + 0x40], 0x100
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x110]
test rcx, rcx
je 0x140034d7b
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x120]
mov edx, esi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400104d9
lea ebx, [rax + 1]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x103
je 0x1400104ee
test ebx, ebx
je 0x140034de5
lea rax, [rbp - 0x40]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0x41
mov word [rbp - 0x40], di
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x60], r12
mov dword [rbp + 0x48], edi
mov qword [rbp + 0x50], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xf003f
lea r8, [rbp + 0x120]
mov rdx, qword [rbp + 0x110]
lea rcx, [rbp - 0x60]
call fcn.1400120b0
test eax, eax
js 0x140034db9
lea rcx, [rsp + 0x60]
call fcn.14000f694
nop
mov rax, qword [0x1400db5d0]
lea rcx, [0x1400db5d0]
mov rax, qword [rax + 0x18]
call qword [case.0x1400244c5.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400142e0
mov rbx, qword [rsp + 0x48]
test eax, eax
js 0x14001045c
mov rdx, rbx
mov rcx, r14
call fcn.14000f0d0
test rax, rax
jne 0x140034d93
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, r14
call fcn.14000f210
inc esi
lea rcx, [rbx - 0x18]
call fcn.140011120
nop
mov rcx, qword [rsp + 0x78]
add rcx, 0xffffffffffffffe8
call fcn.140011120
mov rcx, qword [rsp + 0x70]
add rcx, 0xffffffffffffffe8
call fcn.140011120
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
call fcn.140011120
nop
mov qword [rbp - 0x60], r12
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1400104b2
cmp dword [rbp + 0x48], 0
je 0x1400104b2
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r15
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140010320
lea rax, [rbp - 0x40]
cmp rcx, rax
je 0x140010320
jmp 0x140034da7
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov ebx, edi
jmp 0x140010384
lea rcx, [rbp + 0x60]
call fcn.140014250
mov eax, edi
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.14002a310
mov rbx, qword [rsp + 0x480]
add rsp, 0x430
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
nop
cmp eax, 2
je 0x1400104ee
test eax, eax
jg 0x140034de9
mov edi, eax
jmp 0x1400104ee
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov ebx, edi
jmp 0x140010384
lea rcx, [rax + 8]
lea rdx, [rsp + 0x60]
call fcn.14000f378
nop
jmp 0x14001045c
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
nop
jmp 0x140010320
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x140034dcd
mov edi, eax
jmp 0x140034dd6
movzx edi, ax
or edi, 0x80070000
lea rcx, [rbp - 0x60]
call fcn.140014250
nop
jmp 0x1400104ee
test eax, eax
jle 0x140034d74
movzx edi, ax
or edi, 0x80070000
jmp 0x1400104ee