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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x1079e94]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x230], edi
je 0x103614a
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
mov ebx, eax
pop ecx
lea eax, [ebx + ebx + 2]
push eax
push edi
mov dword [ebp - 0x240], ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, edi
mov dword [ebp - 0x230], eax
jne 0x1036150
mov eax, 0x8007000e
push eax
push 0x67a0138
mov edi, eax
call fcn.01053610
jmp 0x103647f
mov ebx, dword [ebp - 0x240]
push esi
mov esi, 0x105
push esi
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x224], edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x1036223
cmp dword [ebp - 0x230], 0
je 0x10361b1
push ebx
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x230]
call dword [sym.imp.msvcrt.dll_wcsncpy]
mov eax, dword [ebp - 0x230]
and word [eax + ebx*2], 0
add esp, 0xc
push eax
push dword [ebp - 0x250]
call fcn.010559b5
test eax, eax
jne 0x103620f
mov eax, dword [ebp - 0x22c]
test eax, eax
jne 0x10361e0
push 0x1003410
call fcn.0105b329
mov dword [esp], 0x2e3
call fcn.01052a94
push eax
call fcn.0105b329
mov dword [esp], 0x1003410
jmp 0x10361f0
push 5
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x10361f6
push 0x1003410
call fcn.0105b329
pop ecx
lea eax, [ebp - 0x220]
push eax
push 0x1001b48
call fcn.0105b329
inc dword [ebp - 0x22c]
pop ecx
pop ecx
inc dword [ebp - 0x224]
push esi
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x224]
push dword [ebp - 0x23c]
mov dword [ebp - 0x238], esi
call edi
test eax, eax
je 0x1036176
cmp eax, 0x103
je 0x103624b
push eax
push 0x6850138
call fcn.01053610
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor eax, eax
mov dword [ebp - 0x254], 8
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x234]
push ecx
push eax
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x248]
push eax
xor edi, edi
push edi
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x224]
mov dword [ebp - 0x238], esi
push dword [ebp - 0x23c]
call ebx
cmp eax, edi
je 0x1036355
cmp eax, 0xea
jne 0x1036455
mov eax, dword [ebp - 0x234]
add eax, 6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
mov dword [ebp - 0x244], edi
je 0x1036464
lea eax, [ebp - 0x14]
cmp eax, dword [ebp - 0x228]
je 0x1036306
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x234]
push eax
push edi
lea eax, [ebp - 0x248]
push eax
push 0
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x224]
mov dword [ebp - 0x228], edi
push dword [ebp - 0x23c]
mov dword [ebp - 0x238], esi
call ebx
mov edi, eax
test edi, edi
jne 0x1036473
mov ecx, dword [ebp - 0x244]
test ecx, ecx
je 0x103636d
mov edx, dword [ebp - 0x234]
xor eax, eax
lea edi, [ecx + edx]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp - 0x230]
test edi, edi
je 0x10363ad
push dword [ebp - 0x240]
lea eax, [ebp - 0x220]
push eax
push edi
call dword [sym.imp.msvcrt.dll_wcsncpy]
mov eax, dword [ebp - 0x240]
and word [edi + eax*2], 0
add esp, 0xc
push edi
push dword [ebp - 0x250]
call fcn.010559b5
test eax, eax
jne 0x103644a
mov eax, dword [ebp - 0x22c]
test eax, eax
jne 0x10363dd
mov edi, 0x1003410
push edi
call fcn.0105b329
mov dword [esp], 0x2e4
call fcn.01052a94
push eax
call fcn.0105b329
push edi
call fcn.0105b329
pop ecx
jmp 0x10363fb
cmp dword [ebp - 0x24c], 0
jne 0x10363f1
push 5
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x10363fc
push 0x1003410
call fcn.0105b329
pop ecx
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea ecx, [ebp - 0x24c]
push ecx
push dword [ebp - 0x244]
push dword [ebp - 0x234]
push 0x19
pop ecx
push ecx
pop edx
sub edx, eax
cmp ecx, eax
sbb eax, eax
not eax
and eax, edx
push eax
push 1
push 1
push dword [ebp - 0x248]
lea eax, [ebp - 0x220]
push eax
push eax
call fcn.01035d0a
inc dword [ebp - 0x22c]
inc dword [ebp - 0x224]
jmp 0x103626f
cmp eax, 0x103
je 0x103647e
push eax
push 0x6b10138
jmp 0x1036479
mov eax, 0x8007000e
push eax
mov edi, eax
push 0x6ba0138
jmp 0x1036479
push edi
push 0x6c40138
call fcn.01053610
pop esi
cmp dword [ebp - 0x228], 0
je 0x103649f
lea eax, [ebp - 0x14]
cmp eax, dword [ebp - 0x228]
je 0x103649f
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x230], 0
je 0x10364b4
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push edi
call fcn.0106d6ca
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.0104b509
leave
ret 8