Function at 0x180010510
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x620], rbx
mov rdi, rcx
xor esi, esi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], si
lea r8d, [rsi + 0x1e]
lea rdx, str.Mozilla_4.0__compatible__MSIE
lea rcx, [rsp + 0x70]
call fcn.180027e40
nop
movdqa xmm0, xmmword [0x180084c10]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
xor r8d, r8d
lea rdx, [0x180083514]
lea rcx, [rsp + 0x30]
call fcn.180027e40
nop
xor r8d, r8d
lea rdx, [0x180083514]
lea rcx, [rsp + 0x30]
call fcn.180027e40
mov qword [rbp + 0x530], rsi
lea rax, [rbp + 0x530]
mov qword [rbp - 0x40], rax
mov byte [rbp - 0x38], 1
lea rax, [rbp + 0x530]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftInternet_ExplorerVersion_Vector
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rbx, [rsi - 1]
test eax, eax
jne 0x180010634
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0xf0]
call fcn.18004b570
mov dword [rbp + 0x528], 0x410
lea rax, [rbp + 0x528]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x180081fe8]
mov rcx, qword [rbp + 0x530]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x18001064f
mov rcx, qword [rbp + 0x530]
test rcx, rcx
je 0x180010762
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180010762
movdqa xmm0, xmmword [0x180084c10]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
lea rax, [rbp + 0xf0]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180010670
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x50]
call fcn.180027e40
lea rcx, [rsp + 0x30]
call fcn.180010290
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x40], xmm1
mov rcx, qword [rbp + 0x530]
test rcx, rcx
je 0x1800106bc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
cmp rcx, 3
jbe 0x1800108f2
lea rax, [rsp + 0x30]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x68]
cmp r10, 8
cmovae rax, r9
movdqa xmm0, xmmword [0x180084c10]
mov word [rsp + 0x50], si
lea rdx, [rsp + 0x30]
movdqu xmmword [rsp + 0x60], xmm0
cmp word [rax + 6], 0x30
mov r8d, 3
je 0x18001070d
mov r8d, 4
cmp rcx, r8
cmovb r8, rcx
cmp r10, 8
cmovae rdx, r9
lea rcx, [rsp + 0x50]
call fcn.180027e40
lea rcx, [rsp + 0x30]
call fcn.180010290
movups xmm1, xmmword [rsp + 0x60]
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.180026ba0
mov dword [rbp - 0x30], 0x11c
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov r9d, dword [rbp - 0x28]
mov r8d, dword [rbp - 0x2c]
lea rdx, str.__Windows_NT__d._d
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp - 0x70]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1800107a6
mov r8, rbx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.180026ba0
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings5.0User_AgentPost_Platform
mov rdx, 0xffffffff80000002
mov rcx, rdi
call fcn.180010330
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_SettingsUser_AgentPost_Platform
mov rdx, 0xffffffff80000002
mov rcx, rdi
call fcn.180010330
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings5.0User_AgentPost_Platform
mov rdx, 0xffffffff80000001
mov rcx, rdi
call fcn.180010330
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_SettingsUser_AgentPost_Platform
mov rdx, 0xffffffff80000001
mov rcx, rdi
call fcn.180010330
mov r8d, 1
lea rdx, [0x1800821ec]
lea rcx, [rsp + 0x70]
call fcn.180026ba0
mov r8, qword [rbp - 0x80]
cmp r8, 0x21
jbe 0x18001085d
lea rax, [rsp + 0x70]
cmp rdi, rax
je 0x18001085d
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov rcx, rdi
call fcn.180027e40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x18001089c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010896
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800108f8
call fcn.18002aef0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1800108d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800108d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800108ec
call fcn.18002aef0
mov rbx, qword [rsp + 0x620]
add rsp, 0x600
pop rdi
pop rsi
pop rbp
ret
call fcn.18004df84
nop
call fcn.18001efd0
nop
call fcn.18004df84
int3