Function at 0x6d92e2af
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1108]
mov eax, 0x1108
call fcn.6d9399b0
push 0xffffffffffffffff
push 0x6d93b061
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6d948560]
xor eax, ebp
mov dword [ebp + 0x1104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1110]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1114]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov edi, 0x20019
push edi
push 0x6d93dc20
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.6d92aed2
test eax, eax
je 0x6d92e38f
lea ecx, [ebp - 0x34]
call fcn.6d922c8b
lea ecx, [ebp - 0x28]
call fcn.6d922c8b
lea ecx, [ebp - 0x40]
call fcn.6d922c8b
lea ecx, [ebp - 0x4c]
call fcn.6d922c8b
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1104]
xor ecx, ebp
call fcn.6d9398d8
add ebp, 0x1108
leave
ret
push edi
push 0x6d93dc2c
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x40]
call fcn.6d92aed2
test eax, eax
jne 0x6d92e347
push edi
push 0x6d93dc38
push dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.6d92aed2
test eax, eax
jne 0x6d92e530
mov esi, 0x3ff
push esi
lea eax, [ebp + 0xc01]
push ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x400
mov byte [ebp + 0xc00], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc00]
push eax
push ebx
jmp 0x6d92e518
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x14], ebx
jbe 0x6d92e4fc
cmp byte [ebp + eax + 0xc00], 0x2e
jne 0x6d92e415
inc ecx
cmp ecx, 1
jg 0x6d92e424
inc eax
cmp eax, dword [ebp - 0x14]
jb 0x6d92e405
cmp ecx, 1
jle 0x6d92e4fc
push 3
lea eax, [ebp + 0xc00]
push 0x6d93dc54
push eax
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
js 0x6d92e4fc
push edi
lea eax, [ebp + 0xc00]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x34]
call fcn.6d92aed2
test eax, eax
jne 0x6d92e52b
push esi
lea eax, [ebp + 0x401]
push ebx
push eax
mov byte [ebp + 0x400], bl
call sub.MSVCR100.dll_memset
lea eax, [ebp + 0x400]
push eax
push dword [ebp - 0x1c]
call fcn.6d9380fc
add esp, 0x14
lea edi, [ebp + 0x400]
lea eax, [ebp + 0xc00]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x6d92e4b0
cmp cl, bl
je 0x6d92e4ac
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x6d92e4b0
add eax, 2
add edi, 2
cmp cl, bl
jne 0x6d92e490
xor eax, eax
jmp 0x6d92e4b5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x6d92e4f7
push 0x103
lea eax, [ebp + 0x1001]
push ebx
push eax
mov dword [ebp - 0x50], 0x104
mov byte [ebp + 0x1000], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x1000]
push eax
push 0x6d93dc58
lea ecx, [ebp - 0x34]
call fcn.6d92aed2
test eax, eax
je 0x6d92e557
mov edi, 0x20019
inc dword [ebp - 0x18]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc00]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0x400
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x6d92e3f8
jmp 0x6d92e530
mov ebx, 0x80004005
lea ecx, [ebp - 0x34]
call fcn.6d922c8b
lea ecx, [ebp - 0x28]
call fcn.6d922c8b
lea ecx, [ebp - 0x40]
call fcn.6d922c8b
lea ecx, [ebp - 0x4c]
call fcn.6d922c8b
mov eax, ebx
jmp 0x6d92e36c
push esi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x400
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.kernel32.dll_GetLongPathNameA]
push esi
lea eax, [ebp + 0x801]
push ebx
push eax
mov byte [ebp + 0x800], bl
call sub.MSVCR100.dll_memset
lea eax, [ebp + 0x800]
push eax
push dword [ebp - 0x1c]
call fcn.6d92aed2
mov edi, dword [ebp + 0x1118]
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x10]
call dword [sym.imp.MSVCR100.dll_strcpy_s]
mov esi, dword [sym.imp.MSVCR100.dll_strcat_s]
push 0x6d93dc64
push edi
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + 4]
and al, 0xf
add esp, 0x2c
cmp al, 3
jne 0x6d92e5dc
push 0x6d93dc6c
jmp 0x6d92e5e1
push 0x6d93dc74
push edi
push dword [ebp - 0x10]
call esi
add esp, 0xc
lea eax, [ebp + 0x800]
push eax
push edi
push dword [ebp - 0x10]
call esi
push 0x6d93dc7c
push edi
push dword [ebp - 0x10]
call esi
add esp, 0x18
jmp 0x6d92e530