Function at 0x140024220
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rdi
mov eax, 0x1ab0
call fcn.140286d30
sub rsp, rax
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0x1aa0], rax
mov dword [rsp + 0x58], 0
mov dword [0x1403dcad4], 1
cmp qword [0x1403dc9c8], 0
je 0x140024eeb
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x48], 1
mov byte [rsp + 0x480], 0
lea rax, [rsp + 0x481]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], 1
mov byte [rsp + 0x370], 0
lea rax, [rsp + 0x371]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov byte [rsp + 0x6a0], 0
lea rax, [rsp + 0x6a1]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov dword [rsp + 0x68], 0
mov byte [rsp + 0xae0], 0
lea rax, [rsp + 0xae1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3e7
rep stosb byte [rdi], al
mov dword [rsp + 0x6c], 0
mov byte [rsp + 0xed0], 0
lea rax, [rsp + 0xed1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3e7
rep stosb byte [rdi], al
mov byte [rsp + 0x590], 0
lea rax, [rsp + 0x591]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x104
mov edx, dword [rsp + 0x70]
lea rcx, [rsp + 0x590]
call fcn.1400208cc
cmp eax, 1
je 0x140024374
mov eax, dword [rsp + 0x58]
jmp 0x140024eef
mov byte [rsp + 0x150], 0
lea rax, [rsp + 0x151]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
lea rax, [0x1403dd0a8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x590]
lea r8, [0x1403641d4]
mov edx, 0x104
lea rcx, [rsp + 0x150]
call fcn.1400453f4
mov byte [rsp + 0x9d0], 0
lea rax, [rsp + 0x9d1]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov byte [rsp + 0x140], 0
lea rax, [rsp + 0x141]
mov rdi, rax
xor eax, eax
mov ecx, 9
rep stosb byte [rdi], al
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x40], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x6a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [0x1403dd010]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov byte [rsp + 0x260], 0
lea rax, [rsp + 0x261]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
lea rax, [0x1403dd060]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x590]
lea r8, [0x14036422c]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.1400453f4
mov dword [rsp + 0x44], 3
mov dword [rsp + 0x40], 0x3e8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xae0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [0x1403dcff0]
lea rdx, [rsp + 0x260]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x44], 3
mov dword [rsp + 0x40], 0x3e8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xed0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [0x1403dcfd8]
lea rdx, [rsp + 0x260]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x40], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x370]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [0x1403dd020]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov byte [rsp + 0x8c0], 0
lea rax, [rsp + 0x8c1]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov dword [rsp + 0x64], 0
lea r9, [0x1403dc7a4]
lea r8, [0x1403dcfa8]
lea rdx, [0x140364290]
lea rcx, [rsp + 0x8c0]
call fcn.14002a514
lea rdx, [rsp + 0x8c0]
lea rcx, [rsp + 0x370]
call fcn.14028d434
test rax, rax
je 0x1400245eb
mov dword [rsp + 0x64], 1
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x370]
call fcn.14028bc50
mov dword [rsp + 0x38], 0xa
lea rax, [rsp + 0x140]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x9d0]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
lea r8, [rsp + 0x480]
lea rdx, [0x1403dc7a4]
lea rcx, [rsp + 0x370]
call fcn.140024f08
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x80]
call fcn.140010a94
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x9d0]
mov rcx, qword [rsp + 0x90]
call fcn.140010a94
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [0x1403dc9c8]
call fcn.1400881ec
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [0x1403dd040]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [0x1403dd030]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp dword [rsp + 0x74], 0
jne 0x140024807
cmp dword [rsp + 0x48], 1
jne 0x140024807
mov dword [rsp + 0x50], 1
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x54], eax
mov byte [rsp + 0x7b0], 0
lea rax, [rsp + 0x7b1]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
lea r9, [rsp + 0x480]
lea r8, [0x140364114]
mov edx, 0x104
lea rcx, [rsp + 0x7b0]
call fcn.1400453f4
lea rcx, [rsp + 0x7b0]
call fcn.1402958f0
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], 1
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x7b0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dd020]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
jmp 0x14002485e
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x44], 1
lea rcx, [rsp + 0x480]
call fcn.1402958f0
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x480]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dd020]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x48], 1
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dd040]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x4c], 1
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dd030]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x44], 1
lea rcx, [0x1403dcfb8]
call fcn.1402958f0
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [0x1403dcfb8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dd010]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
cmp qword [0x1403dd968], 0
je 0x140024c31
mov dword [rsp + 0x78], reloc.WLDAP32.dll_Ordinal_32
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov dword [rsp + rax + 0x110], 1
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov qword [rsp + rax + 0x118], 3
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov dword [rsp + rax + 0x110], 2
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
lea rcx, [rsp + 0x480]
mov qword [rsp + rax + 0x118], rcx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 2
mov dword [rsp + rax + 0x110], 3
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 2
lea rcx, [0x1403dcfb8]
mov qword [rsp + rax + 0x118], rcx
mov dword [rsp + 0xa8], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0xb0], 0
mov dword [rsp + 0xb8], 3
mov dword [rsp + 0xbc], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0xc0], rax
mov r9d, dword [rsp + 0x78]
lea r8, [rsp + 0xa8]
mov edx, Ordinal_79
xor ecx, ecx
call qword [0x1403dd968]
cmp eax, 1
je 0x140024a3a
jmp 0x140024c31
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x260]
call fcn.14028bc50
lea rax, [0x1403dd060]
mov qword [rsp + 0x20], rax
lea r9, [0x1403dcfc8]
lea r8, [0x140364264]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.1400453f4
mov dword [rsp + 0x5c], 0
mov byte [rsp + 0x12c0], 0
lea rax, [rsp + 0x12c1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3e7
rep stosb byte [rdi], al
mov dword [rsp + 0x60], 0
mov byte [rsp + 0x16b0], 0
lea rax, [rsp + 0x16b1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3e7
rep stosb byte [rdi], al
mov dword [rsp + 0x44], 3
mov dword [rsp + 0x40], 0x3e8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x12c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [0x1403dcff0]
lea rdx, [rsp + 0x260]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x44], 3
mov dword [rsp + 0x40], 0x3e8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x16b0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [0x1403dcfd8]
lea rdx, [rsp + 0x260]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x60], eax
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x260]
call fcn.14028bc50
lea rax, [0x1403dd060]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x590]
lea r8, [0x140364298]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.1400453f4
mov dword [rsp + 0x44], 3
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x12c0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dcff0]
lea rdx, [rsp + 0x260]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x44], 3
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x16b0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dcfd8]
lea rdx, [rsp + 0x260]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
cmp dword [rsp + 0x64], 1
jne 0x140024c9c
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 1
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x370]
call fcn.14028bc50
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x6a0]
call fcn.14028bc50
mov r8d, 0x3e8
xor edx, edx
lea rcx, [rsp + 0xae0]
call fcn.14028bc50
mov r8d, 0x3e8
xor edx, edx
lea rcx, [rsp + 0xed0]
call fcn.14028bc50
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x150]
call fcn.14028bc50
lea rax, [0x1403dd0e8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x590]
lea r8, [0x1403642a0]
mov edx, 0x104
lea rcx, [rsp + 0x150]
call fcn.1400453f4
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x48], 1
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dd050]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x40], 4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dd040]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x40], 4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dd030]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x44], 1
lea rcx, [rsp + 0x370]
call fcn.1402958f0
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x370]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dd020]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x44], 1
lea rcx, [rsp + 0x6a0]
call fcn.1402958f0
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x6a0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dd010]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x44], 3
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0xae0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dcff0]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x44], 3
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0xed0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [0x1403dcfd8]
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [0x1403dcad4], 1
mov dword [rsp + 0x58], 1
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x1aa0]
xor rcx, rsp
call fcn.140286010
add rsp, 0x1ab0
pop rdi
ret