Function at 0x1800085a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x520
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800a7b78]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov r15, r9
mov r13d, r8d
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x70], rcx
lea rax, vtable.CDownloadMediaBtn.0
mov qword [rcx], rax
lea rbx, [rcx + 0x48]
mov qword [rsp + 0x38], rbx
xor ecx, ecx
mov qword [rbx], rcx
lea rax, [rdi + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rax], rcx
lea rcx, [rdi + 0x68]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x88]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0xa8]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0xc8]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0xe8]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x108]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x128]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x148]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x168]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x188]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x1a8]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x1c8]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x1e8]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x208]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x228]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x248]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x268]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x288]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x2a8]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x2d0]
call qword [0x1800a9420]
nop
lea rcx, [rdi + 0x2f0]
call qword [0x1800a9468]
nop
lea rcx, [rdi + 0x310]
call qword [0x1800a9468]
nop
lea r12, [rdi + 0x468]
mov qword [rsp + 0x38], r12
xor eax, eax
mov qword [r12], rax
mov dword [rdi + 0x458], eax
mov qword [rdi + 0x480], rax
mov qword [rdi + 8], r14
test r13d, r13d
setne al
mov byte [rdi + 0x55], al
xor r13d, r13d
mov qword [rdi + 0x470], r13
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x460], r13
mov dword [rdi + 0x444], r13d
mov byte [rdi + 0x50], r13b
mov byte [rdi + 0x51], r13b
mov byte [rdi + 0x53], r13b
mov qword [rdi + 0x18], r13
lea r8, [0x180087080]
mov rdx, r15
mov rcx, r12
call fcn.180053570
mov byte [rdi + 0x54], 1
mov byte [rdi + 0x56], r13b
mov byte [rdi + 0x57], r13b
mov byte [rdi + 0x58], r13b
mov qword [rdi + 0x488], r13
mov qword [rdi + 0x490], r13
mov dword [rdi + 0x440], r13d
mov dword [rdi + 0x498], r13d
mov qword [rdi + 0x478], r13
or r8d, 0xffffffff
lea rdx, str.Download_selected_files
lea rcx, [rdi + 0x68]
call qword [0x1800a9450]
cmp qword [rdi + 8], r13
jne 0x1800087fc
jmp 0x180008db1
cmp qword [r12], r13
jne 0x180008807
jmp 0x180008db1
cmp qword [0x1800a9508], r13
jne 0x1800088e8
mov rax, qword [0x1800a94e8]
test rax, rax
jne 0x1800088c7
mov dword [rsp + 0x50], 0x208
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ExePath
mov rcx, qword [0x1800a9550]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800088b2
lea edx, [rax + 0x5c]
lea rcx, [rsp + 0xf0]
call fcn.180058f10
test rax, rax
je 0x1800088b2
mov word [rax], r13w
lea r9, [rsp + 0xf0]
lea r8, str._sidmbrbtn64.dll
mov edx, 0x104
lea rcx, [rsp + 0x300]
call fcn.180058fc0
lea rcx, [rsp + 0x300]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1800a94e8], rax
jmp 0x1800088b9
mov rax, qword [0x1800a94e8]
test rax, rax
jne 0x1800088c7
mov rax, qword [0x1800a9508]
jmp 0x1800088de
lea rdx, str.CreateDownlSelWtIDMButton
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a9508], rax
test rax, rax
jne 0x1800088e8
jmp 0x180008db1
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x58], r13
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], r13
test rcx, rcx
je 0x180008907
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rcx, [rsp + 0x58]
call qword [0x1800a9408]
mov r11d, eax
mov dword [rsp + 0x30], eax
bt eax, 0x1f
jb 0x1800089b2
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1800089b2
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], r13
lea r8, [0x1800870c0]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.1800535c0
nop
bt dword [rsp + 0x30], 0x1f
jb 0x1800089a3
cmp qword [rsp + 0x60], 0
je 0x1800089a3
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rbx]
mov qword [rbx], r13
test rcx, rcx
je 0x180008985
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsi]
mov r9, rbx
lea r8, [0x1800870a0]
lea rdx, str._idm_mozilla_cc_helper5_1
mov rcx, rsi
call qword [rax + 0x20]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.180053510
mov r11d, dword [rsp + 0x30]
bt r11d, 0x1f
jb 0x180008b80
mov rsi, qword [rbx]
test rsi, rsi
je 0x180008b80
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], r13
test rcx, rcx
je 0x1800089de
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsi]
lea r8, [rsp + 0x40]
mov rdx, qword [r12]
mov rcx, rsi
call qword [rax + 0x70]
mov dword [rsp + 0x30], eax
bt eax, 0x1f
jb 0x180008b80
cmp qword [rsp + 0x40], 0
je 0x180008b80
mov ecx, SafeArrayCopy
call fcn.180058e74
mov qword [rsp + 0x38], rax
test rax, rax
je 0x180008a2b
mov rdx, rdi
mov rcx, rax
call fcn.180006250
jmp 0x180008a2e
mov rax, r13
mov qword [rdi + 0x480], rax
test rax, rax
je 0x180008b80
mov qword [rsp + 0x48], r13
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], r13
test rcx, rcx
je 0x180008a58
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rdi + 0x480]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
lea rdx, [0x180087080]
call qword [rax]
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x180008b76
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x40]
call qword [rax + 0x220]
mov dword [rsp + 0x30], eax
bt eax, 0x1f
jb 0x180008b76
xor r9d, r9d
or r8d, 0xffffffff
lea rdx, str.unload
lea rcx, [rsp + 0x78]
call qword [0x1800a9428]
nop
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rsp + 0x78]
call qword [rax + 0x230]
mov dword [rsp + 0x30], eax
bt eax, 0x1f
jb 0x180008adc
mov byte [rdi + 0x50], 1
xor r9d, r9d
or r8d, 0xffffffff
lea rdx, str.scroll
lea rcx, [rsp + 0xa0]
call qword [0x1800a9428]
nop
mov rcx, qword [rbx]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rsp + 0xa0]
call qword [rax + 0x230]
mov dword [rsp + 0x30], eax
xor r9d, r9d
or r8d, 0xffffffff
lea rdx, str.resize
lea rcx, [rsp + 0xc0]
call qword [0x1800a9428]
nop
mov rcx, qword [rbx]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rsp + 0xc0]
call qword [rax + 0x230]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xc0]
call qword [0x1800a9430]
nop
lea rcx, [rsp + 0xa0]
call qword [0x1800a9430]
nop
lea rcx, [rsp + 0x78]
call qword [0x1800a9430]
nop
lea rcx, [rsp + 0x48]
call fcn.180053510
lea rdx, [rdi + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
cmp byte [rdi + 0x55], 0
je 0x180008c39
cmp qword [rbx], 0
je 0x180008c39
mov qword [rsp + 0x38], r13
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x180008be0
mov r12, qword [rbx]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], r13
test rcx, rcx
je 0x180008bce
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rdx, qword [rsp + 0x40]
mov rax, qword [r12]
lea r8, [rsp + 0x38]
mov rcx, r12
call qword [rax + 0xd8]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rbx]
call fcn.1800285e0
test eax, eax
je 0x180008c2f
mov ecx, dword [rsp + 0x50]
mov dword [rdi + 0x30], ecx
mov eax, dword [rsp + 0x68]
add ecx, eax
mov dword [rdi + 0x38], ecx
mov ecx, dword [rsp + 0x60]
mov dword [rdi + 0x34], ecx
mov eax, dword [rsp + 0x48]
add ecx, eax
mov dword [rdi + 0x3c], ecx
lea rcx, [rsp + 0x38]
call fcn.180053510
add dword [rdi + 0x30], 2
add dword [rdi + 0x34], 2
mov ecx, 2
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r11d, eax
mov ebx, 0xfffffffe
mov eax, ebx
sub eax, r11d
add dword [rdi + 0x38], eax
lea ecx, [rbx + 5]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub ebx, eax
add dword [rdi + 0x3c], ebx
lea rdx, [rsp + 0x570]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rsp + 0x570]
lea rcx, [rdi + 0x30]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x180008cbb
mov rax, qword [rsp + 0x570]
lea ecx, [rax - 1]
mov dword [rdi + 0x20], ecx
lea ecx, [rax + 1]
mov dword [rdi + 0x28], ecx
mov ecx, dword [rsp + 0x574]
lea eax, [rcx - 1]
mov dword [rdi + 0x24], eax
lea eax, [rcx + 1]
mov dword [rdi + 0x2c], eax
jmp 0x180008d24
mov rdx, qword [rsp + 0x578]
lea rcx, [rdi + 0x30]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x180008d0c
lea rdx, [rsp + 0x578]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rsp + 0x578]
lea ecx, [rax - 1]
mov dword [rdi + 0x20], ecx
lea ecx, [rax + 1]
mov dword [rdi + 0x28], ecx
mov ecx, dword [rsp + 0x57c]
lea eax, [rcx - 1]
mov dword [rdi + 0x24], eax
lea eax, [rcx + 1]
mov dword [rdi + 0x2c], eax
jmp 0x180008d24
mov eax, dword [rdi + 0x30]
mov dword [rdi + 0x20], eax
mov eax, dword [rdi + 0x34]
mov dword [rdi + 0x24], eax
mov eax, dword [rdi + 0x38]
mov dword [rdi + 0x28], eax
mov eax, dword [rdi + 0x3c]
mov dword [rdi + 0x2c], eax
lea rcx, [rsp + 0xa0]
mov eax, dword [rdi + 0x30]
mov dword [rcx], eax
mov eax, dword [rdi + 0x34]
mov dword [rcx + 4], eax
mov eax, dword [rdi + 0x38]
mov dword [rcx + 8], eax
mov eax, dword [rdi + 0x3c]
mov dword [rcx + 0xc], eax
lea rcx, [rsp + 0xc0]
mov eax, dword [rdi + 0x20]
mov dword [rcx], eax
mov eax, dword [rdi + 0x24]
mov dword [rcx + 4], eax
mov eax, dword [rdi + 0x28]
mov dword [rcx + 8], eax
mov eax, dword [rdi + 0x2c]
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
mov r9, rdi
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rdi + 8]
call qword [0x1800a9508]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x180008d94
mov byte [rdi + 0x57], 1
lea rcx, [rsp + 0x58]
call fcn.180053510
nop
lea rcx, [rsp + 0x40]
call fcn.180053510
nop
jmp 0x180008db1
mov rax, rdi
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.1800590c0
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret