Function at 0x1403b56b8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x18d0
call fcn.1403c3130
sub rsp, rax
mov rax, qword [0x1404f5550]
xor rax, rsp
mov qword [rsp + 0x18c0], rax
mov r14, qword [rsp + 0x1930]
mov rbx, rcx
mov r13d, r8d
mov ebp, edx
mov edi, SerializeElements<class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > >
lea rcx, [rsp + 0xd91]
mov r8, rdi
xor edx, edx
mov r12, r9
mov byte [rsp + 0xd90], 0
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0xc81]
mov r8, rdi
xor edx, edx
mov dword [rsp + 0x38], CFileDialog::GetInterfaceMap
mov esi, 1
mov byte [rsp + 0xc80], 0
call sub.MSVCR90.dll_memset
and qword [r14], 0
lea rdx, [0x14042c030]
lea rcx, [rsp + 0xc80]
mov r8, rbx
call sub.MSVCR90.dll_sprintf
mov eax, r13d
sub eax, esi
je 0x1403b59ec
sub eax, esi
jne 0x1403b57db
xor edi, edi
xor ebx, ebx
mov al, byte [rsp + rbx + 0xc80]
test al, al
je 0x1403b5790
movsx ecx, al
call sub.MSVCR90.dll_toupper
add edi, esi
add al, 7
mov byte [rsp + rbx + 0xd90], al
add rbx, rsi
cmp rbx, 0x32
jl 0x1403b5769
movsxd rax, edi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov byte [rsp + rax + 0xd90], 0
lea rax, [rsp + 0xd90]
lea rcx, [rsp + 0xc80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + reloc.mfc90u.dll_CWinApp::GetSysPolicyValue]
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1403b7d4c
cmp eax, esi
je 0x1403b58ac
cmp eax, 0xe
jne 0x1403b57e5
mov eax, recv
jmp 0x1403b5b33
mov rax, qword [str.softwareclasses_vdsp]
lea rcx, [rsp + 0xfb0]
mov r8b, 0x3a
cmp byte [rsp + 0xc80], r8b
mov qword [rcx], rax
mov rax, qword [0x14048b728]
mov qword [rcx + 8], rax
mov eax, dword [0x14048b730]
mov r9, 0xffffffff80000002
mov dword [rcx + 0x10], eax
movzx eax, word [0x14048b734]
mov qword [rsp + 0x40], r9
mov word [rcx + 0x14], ax
jne 0x1403b5893
mov al, byte [rsp + 0xc84]
xor edx, edx
cmp al, r8b
je 0x1403b5857
xor ecx, ecx
mov byte [rsp + rcx + COlePropertyPage::GetThisMessageMap], al
add rcx, rsi
add edx, esi
mov al, byte [rsp + rcx + 0xc84]
cmp al, r8b
jne 0x1403b583f
movsxd rax, edx
lea r8, [rsp + 0xd90]
mov byte [rsp + rax + COlePropertyPage::GetThisMessageMap], 0
lea eax, [rdx + 5]
movsxd rcx, eax
lea rax, [rsp + 0xc80]
sub r8, rcx
lea rdx, [rsp + rcx + 0xc80]
sub r8, rax
mov al, byte [rdx]
mov byte [r8 + rdx], al
add rdx, rsi
test al, al
jne 0x1403b5886
xor ecx, ecx
mov al, byte [rsp + rcx + 0xfb0]
mov byte [rsp + rcx + reloc.mfc90u.dll_CWinApp::GetSysPolicyValue], al
add rcx, rsi
test al, al
jne 0x1403b5895
jmp 0x1403b58b1
mov r9, qword [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + reloc.mfc90u.dll_CWinApp::GetSysPolicyValue]
mov rcx, r9
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1403b5900
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0xd90]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb ecx, ecx
and esi, ecx
call fcn.1403b80f8
test eax, eax
je 0x1403b5970
test esi, esi
je 0x1403b59c0
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
lea rdx, [rsp + reloc.mfc90u.dll_CWinApp::GetSysPolicyValue]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1403b5970
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0xd90]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb ecx, ecx
and esi, ecx
test esi, esi
je 0x1403b59c0
test bpl, 8
je 0x1403b59ab
xor edx, edx
mov eax, ebp
lea rcx, [rsp + 0xc80]
and eax, 7
lea r8d, [rdx + 2]
mov r9, r12
mov dword [rsp + 0x20], eax
call fcn.1403b844c
cmp eax, 1
jne 0x1403b5b33
lea r8d, [rax + 1]
jmp 0x1403b5a2f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, send
jmp 0x1403b5b33
xor edx, edx
lea rcx, [rsp + 0xc80]
lea r8d, [rdx + 2]
call fcn.1403b37f4
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1403b5a3e
mov eax, 0x2c
jmp 0x1403b5b33
lea rcx, [rsp + 0xc80]
xor edx, edx
call fcn.1403b7798
cmp eax, 0xffffffff
jne 0x1403b5a2c
test bpl, 8
je 0x1403b59b6
mov eax, ebp
lea rcx, [rsp + 0xc80]
mov r9, r12
and eax, 7
xor edx, edx
mov r8d, esi
mov dword [rsp + 0x20], eax
call fcn.1403b844c
cmp eax, esi
jne 0x1403b5b33
mov r8d, esi
lea rcx, [rsp + 0xc80]
xor edx, edx
call fcn.1403b37f4
mov edx, 0x541
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
mov rdi, rax
jne 0x1403b5a60
mov eax, reloc.WS2_32.dll_recv
jmp 0x1403b5b33
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
mov rbx, rax
je 0x1403b5a56
lea rdx, [rsp + 0xc80]
xor r8d, r8d
mov rcx, rax
call fcn.1403b6858
cmp r13d, 3
jne 0x1403b5a94
mov r8w, send
mov rdx, r12
jmp 0x1403b5ac3
cmp r13d, 4
jne 0x1403b5aa1
mov r8w, 0x1a
jmp 0x1403b5a8f
lea r8, [rsp + reloc.mfc90u.dll_COleDispatchImpl::Invoke]
lea rdx, str.139975959bd8768d74383a8ad6e0f2f79b59a
mov rcx, r12
call fcn.1403b8154
xor r8d, r8d
lea rdx, [rsp + reloc.mfc90u.dll_COleDispatchImpl::Invoke]
lea rcx, [rbx + 0x108]
call fcn.1403b6858
and qword [rbx + 0x509], 0
and dword [rbx + 0x511], 0
and qword [rbx + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::AppendFormat], 0
and qword [rbx + 0x52d], 0
mov rcx, rdi
mov byte [rbx + 0x508], 0
mov dword [rbx + 0x104], r13d
mov dword [rbx + 0x53d], ebp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1403b3b18
cmp eax, 1
mov ebx, eax
je 0x1403b5b2b
mov rcx, rdi
call fcn.1403b83d0
mov eax, ebx
jmp 0x1403b5b33
mov qword [r14], rdi
mov eax, 1
mov rcx, qword [rsp + 0x18c0]
xor rcx, rsp
call fcn.1403c2380
add rsp, 0x18d0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret