Function at 0x100394c1
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x260
mov eax, 0x10080ef3
call fcn.1006a107
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x24c], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
or eax, 0x20019
push ecx
lea ecx, [ebp - 0x228]
call fcn.1000458e
test eax, eax
jne 0x10039813
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x10039540
lea esi, [ebp - 0x228]
call fcn.100045cc
push dword [ebp + 0xc]
mov ecx, edi
call fcn.10004312
jmp 0x10039813
ja 0x1003954c
push 0x80070057
call fcn.10002b60
mov eax, dword [esi]
mov eax, dword [eax]
sub eax, 0x10
call fcn.10002aac
add eax, 0x10
mov dword [ebp - 0x220], eax
xor edi, edi
inc edi
mov byte [ebp - 4], 2
call fcn.10004361
push 0x100a4398
lea esi, [ebp - 0x220]
call fcn.1000a6d5
cmp eax, 0xffffffff
setne al
cmp al, bl
je 0x10039757
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x250], ebx
xor edi, edi
mov byte [ebp - 4], 3
xor eax, eax
mov esi, 0x104
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x268]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push dword [ebp - 0x228]
mov dword [ebp - 0x244], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100395fd
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x25c]
call fcn.10004312
xor eax, eax
inc edi
jmp 0x100395b0
lea esi, [ebp - 0x228]
call fcn.100045cc
mov dword [ebp - 0x21c], ebx
cmp dword [ebp - 0x258], ebx
jbe 0x1003974c
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.1000aa74
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x258]
jae 0x10039542
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ecx + eax*4]
sub eax, 0x10
call fcn.10002aac
lea esi, [eax + 0x10]
mov dword [ebp - 0x260], esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x220]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x26c], esp
mov edi, esp
call fcn.10002aac
add eax, 0x10
mov dword [edi], eax
push ecx
add esi, 0xfffffff0
mov byte [ebp - 4], 6
mov eax, esi
mov dword [ebp - 0x264], esp
mov edi, esp
call fcn.10002aac
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 5
call fcn.10039491
pop ecx
pop ecx
cmp al, bl
je 0x1003971e
push dword [ebp + 0x18]
lea eax, [ebp - 0x23c]
push dword [ebp - 0x24c]
lea ecx, [ebp + 0xc]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.10002422
add esp, 4
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x264], esp
push 0x100a0670
push ecx
mov ecx, eax
call fcn.10002473
pop ecx
pop ecx
push dword [ebp - 0x240]
call fcn.100394c1
mov eax, dword [ebp - 0x22c]
add esp, 0x14
add eax, 0xfffffff0
call fcn.10002b29
mov eax, esi
call fcn.10002b29
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], 3
call fcn.1000258e
inc dword [ebp - 0x21c]
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x258]
jb 0x1003961a
lea esi, [ebp - 0x25c]
jmp 0x10039800
lea esi, [ebp - 0x228]
call fcn.100045cc
lea eax, [ebp - 0x22c]
push 0x100a0670
push eax
lea ecx, [ebp - 0x220]
call fcn.10002473
pop ecx
pop ecx
lea ecx, [ebp + 0xc]
push ecx
mov byte [ebp - 4], 8
call fcn.10004067
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
call fcn.10002b29
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 9
call fcn.1000aa74
push dword [ebp + 0x18]
lea eax, [ebp - 0x23c]
push dword [ebp - 0x24c]
push eax
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x264], esp
mov esi, esp
call fcn.10002aac
push dword [ebp - 0x240]
add eax, 0x10
mov dword [esi], eax
call fcn.100394c1
add esp, 0x14
lea esi, [ebp - 0x23c]
call fcn.1000258e
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.10002b29
lea esi, [ebp - 0x228]
call fcn.100045cc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10002b29
call fcn.1006a18a
ret