Function at 0x4c758f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2b7c
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, ecx
mov dword [ebp - 0x2b74], 0x2710
push 0xb
pop ecx
mov esi, str.______qwertyUIOPAzxcvbnmQQQQQQQQQQQQ____
mov dword [ebp - 0x2b78], eax
lea edi, [ebp - 0x70]
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
push 0xa
pop ecx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x40]
mov esi, str.0123456789012345678901234567890123456789
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov byte [eax], bl
cmp dword [0x73d998], ebx
je 0x4c7722
lea eax, [ebp - 0x2b70]
push eax
push 0x20019
push ebx
push str.SAMSAMDomainsAccount
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c7722
lea eax, [ebp - 0x2b74]
push eax
lea eax, [ebp - 0x2b68]
push eax
lea eax, [ebp - 0x2b7c]
push eax
push ebx
push 0x6d9688
push dword [ebp - 0x2b70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x2b70]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4c7722
push 2
pop eax
cmp word [ebp - 0x2b68], ax
je 0x4c7665
cmp word [ebp - 0x2b68], 3
jne 0x4c7722
cmp dword [ebp - 0x2b00], 1
jne 0x4c7733
push 0x10
pop edi
push edi
lea eax, [ebp - 0x2af8]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.00638b30
push 0x2f
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.00638b30
push edi
lea eax, [ebp - 0x419]
push 0x73d99c
push eax
call fcn.00638b30
push 0x29
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x409]
push eax
call fcn.00638b30
push edi
lea eax, [ebp - 0x14]
mov ecx, 0x8003
push eax
push 0x78
lea edx, [ebp - 0x458]
call fcn.004c6ebf
add esp, 0x3c
test eax, eax
je 0x4c7722
push edi
push 0x40
mov dword [ebp - 0x2b6c], edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4c7756
push edi
lea eax, [ebp - 0x2ae8]
push eax
push esi
call fcn.00638b30
lea eax, [ebp - 0x2b6c]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.004c6fbb
add esp, 0x14
test eax, eax
jne 0x4c779f
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret
cmp dword [ebp - 0x2b00], eax
jne 0x4c7722
mov edi, dword [ebp - 0x2af4]
push edi
push 0x40
mov dword [ebp - 0x2b6c], edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x4c775e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4c7722
push edi
lea eax, [ebp - 0x2ae0]
push eax
push esi
call fcn.00638b30
add esp, 0xc
lea eax, [ebp - 0x2b6c]
xor edx, edx
inc edx
push eax
push esi
push 0x10
pop edi
push edi
push 0x73d99c
push ecx
lea eax, [ebp - 0x2af0]
mov ecx, 0x660e
push eax
push 1
call fcn.004c7092
add esp, 0x1c
jmp 0x4c7713
cmp dword [ebp - 0x2b6c], edi
jne 0x4c77ce
push edi
push esi
mov ebx, 0x73d9ac
push ebx
call fcn.00638b30
push 0x3e8
push dword [ebp - 0x2b78]
mov edx, edi
mov ecx, ebx
call fcn.0040452e
xor ebx, ebx
add esp, 0x14
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
jmp 0x4c7724