Function at 0x140003250
Capabilities:
Get file version info
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov rsi, r8
lea rcx, [rbp + 0x90]
mov rbx, rdx
xor r12d, r12d
xor edx, edx
mov dword [rsp + 0x40], r12d
mov r8d, 0x208
mov rdi, r9
call fcn.1400050a0
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], 0x104
lea r8, [rbp + 0x90]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
lea edx, [r12 + 0x5c]
lea rcx, [rbp + 0x90]
call fcn.140004fc0
test rax, rax
je 0x1400035f6
add rax, 2
mov qword [rsp + 0x5e0], r13
xor r13d, r13d
mov qword [rsp + 0x48], rax
test rdi, rdi
je 0x1400035ee
xor edx, edx
mov qword [rsp + 0x5a8], r14
xor ebx, ebx
mov qword [rsp + 0x5a0], r15
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rdx
nop dword [rax + rax]
xor r15d, r15d
lea r14, [rdx + rsi]
xor edi, edi
mov rdx, qword [r14]
lea r12, [section..data]
test rdx, rdx
je 0x140003484
mov rcx, rax
call fcn.140014b8c
test eax, eax
jne 0x14000347f
lea rax, [rsp + 0x44]
mov dword [rsp + 0x44], 0x38
mov qword [rsp + 0x30], rax
lea r8, str.AiLdaAppStatusInfo
mov qword [rsp + 0x28], r12
lea rdx, str.SOFTWAREAMDEEU
mov r9d, 8
mov qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14000347f
cmp r13d, 6
ja 0x14000347f
cmp dword [r12 + r13*8 + 4], eax
je 0x14000347f
lea rax, [rbx + rdi]
cmp dword [rsi + rax*4 + 0x18], 0
lea r12, [rsi + rax*4]
je 0x1400035de
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0
lea rcx, [rbp + 0x90]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test eax, eax
je 0x14000347a
mov ecx, ebx
mov dword [rsp + 0x44], 0
call fcn.140003d00
mov rsi, rax
test rax, rax
je 0x140003473
mov edx, dword [rsp + 0x50]
lea rcx, [rbp + 0x90]
mov r9, rax
mov r8d, ebx
call sub.VERSION.dll_GetFileVersionInfoW
lea r9, [rsp + 0x44]
mov rcx, rsi
lea r8, [rsp + 0x70]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x14000346b
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x104
call fcn.1400050a0
mov rax, qword [rsp + 0x70]
lea rdx, str.StringFileInfo_04x_04xProductVersion
lea rcx, [rbp - 0x80]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call fcn.140003040
lea r9, [rsp + 0x44]
mov rcx, rsi
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x80]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x1400034ff
mov rcx, rsi
call fcn.140003d08
mov rsi, qword [rbp + 0x4f0]
mov rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x48]
inc r15d
inc rdi
add r14, 8
cmp r15d, 3
jb 0x140003319
mov r12d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x68]
inc r13d
mov rsi, qword [rbp + 0x4f0]
add rdx, 0x88
mov rax, qword [rsp + 0x48]
add rbx, 0x22
movsxd rcx, r13d
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rdx
cmp rcx, qword [rbp + 0x4f8]
jb 0x140003310
mov r15, qword [rsp + 0x5a0]
mov eax, r12d
mov r14, qword [rsp + 0x5a8]
mov r13, qword [rsp + 0x5e0]
add rsp, 0x5b0
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor edx, edx
lea rcx, [rbp + 0x2a0]
mov r8d, 0x200
call fcn.1400050a0
xor r14d, r14d
cmp dword [r12 + 0x18], r14d
jbe 0x1400035cc
mov rbx, qword [rbp + 0x4f0]
shl rdi, 5
add rbx, 0x28
add rdi, qword [rsp + 0x68]
add rbx, rdi
nop dword [rax + rax]
mov r9, qword [rbx]
lea rdx, [rbp + 0x2a0]
mov r8d, 0x200
mov qword [rsp + 0x20], 0x200
xor ecx, ecx
call fcn.140015814
mov rax, qword [rbx]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140003570
mov rcx, qword [rsp + 0x78]
lea rdx, [rbp + 0x2a0]
call fcn.140061540
test eax, eax
je 0x1400035c4
xor edx, edx
lea rcx, [rbp + 0x2a0]
mov r8d, 0x200
call fcn.1400050a0
inc r14d
add rbx, 8
cmp r14d, dword [r12 + 0x18]
jb 0x140003540
mov rcx, rsi
call fcn.140003d08
mov rbx, qword [rsp + 0x58]
jmp 0x140003498
mov dword [rsp + 0x40], 1
mov rcx, rsi
call fcn.140003d08
mov rbx, qword [rsp + 0x58]
jmp 0x140003498
mov r12d, 1
mov dword [rsp + 0x40], r12d
jmp 0x14000349d
mov eax, r12d
jmp 0x1400034e9
mov eax, r12d
add rsp, 0x5b0
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret