Function at 0x10013c60
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8e8
mov eax, dword [0x1002300c]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x1001d2c8]
mov eax, dword [0x1001d308]
push ebx
movups xmmword [ebp - 0x48], xmm0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movups xmm0, xmmword [0x1001d2d8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x8b0]
push eax
movups xmmword [ebp - 0x38], xmm0
push 0x20019
movups xmm0, xmmword [0x1001d2e8]
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x8b0], 0
movups xmmword [ebp - 0x28], xmm0
push eax
movups xmm0, xmmword [0x1001d2f8]
push 0x80000002
mov dword [ebp - 0x8ac], 0
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x8a4], 0
movups xmm0, xmmword [0x1001d330]
mov dword [ebp - 0x8a8], 0
mov dword [ebp - 0x8b8], 0
movups xmmword [ebp - 0x98], xmm0
mov byte [ebp - 0x8b4], 0
movups xmm0, xmmword [0x1001d340]
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [0x1001d350]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [0x1001d360]
movups xmmword [ebp - 0x68], xmm0
movups xmm0, xmmword [0x1001d370]
movups xmmword [ebp - 0x58], xmm0
call ebx
test eax, eax
je 0x10013d54
xor eax, eax
xor edx, edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e271
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea eax, [ebp - 0x8c0]
push 0
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x8b0]
mov dword [ebp - 0x8c0], 0
call edi
test eax, eax
jne 0x100140bf
xor ecx, ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x8c4], ecx
cmp dword [ebp - 0x8c0], ecx
jbe 0x100140ad
nop dword [eax + eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8c8]
mov dword [ebp - 0x8c8], 0x100
push eax
lea eax, [ebp - 0x298]
push eax
push ecx
push dword [ebp - 0x8b0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10014094
lea eax, [ebp - 0x8ac]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x8b0]
call ebx
test eax, eax
jne 0x10014094
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x8bc], eax
lea eax, [ebp - 0x8bc]
push eax
push 0
push 0
push 0
push dword [ebp - 0x8ac]
call edi
test eax, eax
jne 0x10014094
xor edi, edi
cmp dword [ebp - 0x8bc], edi
jbe 0x1001407d
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8cc]
mov dword [ebp - 0x8cc], 0x100
push eax
lea eax, [ebp - 0x298]
push eax
push edi
push dword [ebp - 0x8ac]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10014070
lea eax, [ebp - 0x8a4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x8ac]
call ebx
test eax, eax
jne 0x10014070
lea eax, [ebp - 0x8d0]
mov dword [ebp - 0x8d0], 0x100
push eax
lea eax, [ebp - 0x298]
push eax
push 0
push 0
push 0x1001d2bc
push dword [ebp - 0x8a4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10014068
lea eax, [ebp - 0x298]
mov ecx, 0x1001d380
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10013f06
test dx, dx
je 0x10013f02
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10013f06
add ecx, 4
add eax, 4
test dx, dx
jne 0x10013ee0
xor eax, eax
jmp 0x10013f0b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10014068
lea eax, [ebp - 0x8a8]
push eax
push 0x20019
push 0
push 0x1001d390
push dword [ebp - 0x8a4]
call ebx
test eax, eax
jne 0x10014068
push dword [ebp - 0x8a8]
call esi
lea eax, [ebp - 0x8a8]
push eax
push 0x20019
push 0
push 0x1001d30c
push dword [ebp - 0x8a4]
call ebx
test eax, eax
jne 0x10014068
lea eax, [ebp - 0x8d4]
mov dword [ebp - 0x8d4], 0x100
push eax
lea eax, [ebp - 0x298]
push eax
push 0
push 0
push 0x1001d3a0
push dword [ebp - 0x8a8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001404d
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x8a0]
push 0x50
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x8a0]
push 0x200
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push 0x1001d3b0
lea eax, [ebp - 0x8a0]
push 0x200
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0x24
lea eax, [ebp - 0x8b8]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x8a0]
push eax
push 0x80000002
call ebx
test eax, eax
jne 0x10014045
lea eax, [ebp - 0x8d8]
mov dword [ebp - 0x8d8], 0x100
push eax
lea eax, [ebp - 0x4a0]
push eax
push 0
push 0
push 0x1001d3bc
push dword [ebp - 0x8b8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x8b4]
test eax, eax
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x8b4], ecx
push dword [ebp - 0x8b8]
call esi
push dword [ebp - 0x8a8]
call esi
push dword [ebp - 0x8a4]
call esi
cmp byte [ebp - 0x8b4], 0
jne 0x1001407d
jmp 0x10014070
push dword [ebp - 0x8a4]
call esi
inc edi
cmp edi, dword [ebp - 0x8bc]
jb 0x10013e42
push dword [ebp - 0x8ac]
call esi
cmp byte [ebp - 0x8b4], 0
jne 0x100140ad
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ecx, dword [ebp - 0x8c4]
inc ecx
mov dword [ebp - 0x8c4], ecx
cmp ecx, dword [ebp - 0x8c0]
jb 0x10013db0
push dword [ebp - 0x8b0]
call esi
cmp byte [ebp - 0x8b4], 0
pop esi
jne 0x100140d3
pop edi
xor eax, eax
xor edx, edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e271
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x8e8]
push eax
lea eax, [ebp - 0x8e4]
push eax
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x8dc]
push eax
lea eax, [ebp - 0x4a0]
push 0x1001d3d8
push eax
call fcn.1000da60
mov eax, dword [ebp - 0x8dc]
xor edx, edx
mov ecx, dword [ebp - 4]
add esp, 0x18
shld edx, eax, 0x10
xor ecx, ebp
shl eax, 0x10
or eax, dword [ebp - 0x8e0]
shld edx, eax, 0x10
pop edi
shl eax, 0x10
or eax, dword [ebp - 0x8e4]
shld edx, eax, 0x10
pop ebx
shl eax, 0x10
or eax, dword [ebp - 0x8e8]
call fcn.1000e271
mov esp, ebp
pop ebp
ret