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

Disassembly:
push rdi
sub rsp, 0xde0
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0xdd0], rax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x44], 0
mov byte [rsp + 0x1b0], 0
lea rax, [rsp + 0x1b1]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov byte [rsp + 0x4e0], 0
lea rax, [rsp + 0x4e1]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov byte [rsp + 0xa0], 0
lea rax, [rsp + 0xa1]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
lea rax, [0x1403dd0e8]
mov qword [rsp + 0x20], rax
lea r9, [0x1403dc9d0]
lea r8, [0x1403642f4]
mov edx, 0x104
lea rcx, [rsp + 0x4e0]
call fcn.1400453f4
lea rax, [0x1403dd0a8]
mov qword [rsp + 0x20], rax
lea r9, [0x1403dc9d0]
lea r8, [0x1403642fc]
mov edx, 0x104
lea rcx, [rsp + 0xa0]
call fcn.1400453f4
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x30], 0x104
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [0x1403dd020]
lea rdx, [rsp + 0xa0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [0x1403dd040]
lea rdx, [rsp + 0xa0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [0x1403dd030]
lea rdx, [rsp + 0xa0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea rcx, [rsp + 0x1b0]
call fcn.140021eb0
test eax, eax
jne 0x140026660
call fcn.140025940
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x30], 0x104
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x1b0]
call fcn.14028bc50
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [0x1403dd020]
lea rdx, [rsp + 0xa0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea rcx, [rsp + 0x1b0]
call fcn.1402958f0
test rax, rax
je 0x14002665b
lea rcx, [rsp + 0x1b0]
call fcn.140021eb0
test eax, eax
jne 0x14002665b
call fcn.140022984
test eax, eax
je 0x14002665b
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
lea r8, [0x1403dd040]
lea rdx, [rsp + 0xa0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x34], 1
lea rcx, [0x140363ca7]
call fcn.1402958f0
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
lea rax, [0x140363cbe]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
lea r8, [0x1403dd020]
lea rdx, [rsp + 0xa0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x34], 1
lea rcx, [0x140363cbf]
call fcn.1402958f0
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
lea rax, [0x140363cc3]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
lea r8, [0x1403dd010]
lea rdx, [rsp + 0xa0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
cmp qword [0x1403dd968], 0
je 0x14002665b
mov dword [rsp + 0x48], reloc.WLDAP32.dll_Ordinal_32
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov dword [rsp + rax + 0x70], 1
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov qword [rsp + rax + 0x78], 1
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov dword [rsp + rax + 0x70], 2
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
lea rcx, [0x140363cc6]
mov qword [rsp + rax + 0x78], rcx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 2
mov dword [rsp + rax + 0x70], 3
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 2
lea rcx, [0x140363cc7]
mov qword [rsp + rax + 0x78], rcx
mov dword [rsp + 0x50], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 3
mov dword [rsp + 0x64], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov r9d, dword [rsp + 0x48]
lea r8, [rsp + 0x50]
mov edx, Ordinal_79
xor ecx, ecx
call qword [0x1403dd968]
cmp eax, 1
je 0x14002645e
jmp 0x14002665b
mov byte [rsp + 0x2c0], 0
lea rax, [rsp + 0x2c1]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
lea rax, [0x1403dd060]
mov qword [rsp + 0x20], rax
lea r9, [0x1403dcfc8]
lea r8, [0x140364304]
mov edx, 0x104
lea rcx, [rsp + 0x2c0]
call fcn.1400453f4
mov dword [rsp + 0x3c], 0
mov byte [rsp + 0x5f0], 0
lea rax, [rsp + 0x5f1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3e7
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0
mov byte [rsp + 0x9e0], 0
lea rax, [rsp + 0x9e1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3e7
rep stosb byte [rdi], al
mov dword [rsp + 0x34], 3
mov dword [rsp + 0x30], 0x3e8
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x5f0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [0x1403dcff0]
lea rdx, [rsp + 0x2c0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x34], 3
mov dword [rsp + 0x30], 0x3e8
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x9e0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [0x1403dcfd8]
lea rdx, [rsp + 0x2c0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x2c0]
call fcn.14028bc50
lea rax, [0x1403dd060]
mov qword [rsp + 0x20], rax
lea r9, [0x1403dc9d0]
lea r8, [0x14036430c]
mov edx, 0x104
lea rcx, [rsp + 0x2c0]
call fcn.1400453f4
mov dword [rsp + 0x34], 3
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x5f0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
lea r8, [0x1403dcff0]
lea rdx, [rsp + 0x2c0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [rsp + 0x34], 3
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x9e0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
lea r8, [0x1403dcfd8]
lea rdx, [rsp + 0x2c0]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
jmp 0x1400266e5
mov byte [rsp + 0x3d0], 0
lea rax, [rsp + 0x3d1]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
lea r9, [0x1403dc7a4]
lea r8, [0x1403dcfa8]
lea rdx, [0x140364314]
lea rcx, [rsp + 0x3d0]
call fcn.14002a514
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0x1b0]
call fcn.14028d434
test rax, rax
je 0x1400266bf
cmp dword [rsp + 0x38], 0
je 0x1400266e0
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0x1b0]
call fcn.14028d434
test rax, rax
je 0x1400266e5
cmp dword [rsp + 0x44], 0
jne 0x1400266e5
call fcn.140025940
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140024220
mov eax, 1
mov rcx, qword [rsp + 0xdd0]
xor rcx, rsp
call fcn.140286010
add rsp, 0xde0
pop rdi
ret