Function at 0x41c0bc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x488
mov eax, 0x42137c
call fcn.0041f415
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x414]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], ebx
call fcn.0041de44
lea eax, [ebp - 0x41c]
mov dword [ebp - 4], ebx
push eax
push 0x20019
push ebx
push esi
push edi
mov dword [ebp - 0x48c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x41c157
lea eax, [ebp - 0x424]
push eax
push ebx
lea eax, [ebp - 0x438]
push eax
push ebx
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x41c16e
cmp esi, 0x7a
je 0x41c16e
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, esi
lea ecx, [ebp - 0x414]
call sub.MFC42u.dll_CString::CString
mov eax, ebx
call fcn.0041f3c4
ret 0x10
push dword [ebp - 0x424]
call dword [sym.imp.msvcrt.dll_malloc]
mov edi, eax
mov dword [ebp - 0x440], edi
pop ecx
test edi, edi
jne 0x41c198
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xe
pop esi
jmp 0x41c157
lea eax, [ebp - 0x424]
push eax
push edi
lea eax, [ebp - 0x438]
push eax
push ebx
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x41c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41c1d6
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x41c157
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x494]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
test eax, eax
jne 0x41c203
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x41c157
cmp dword [ebp - 0x430], 0
jne 0x41c2dd
lea eax, [ebp - 0x414]
push 0x405f34
push eax
call sub.MFC42u.dll_CString::Format
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x418]
pop ecx
pop ecx
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x458]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [esi + 0x20]
mov dword [ebp - 0x458], 2
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41c2d0
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x48c]
push eax
push ebx
push 0x104d
push dword [esi + 0x20]
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x484], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x458]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x48c]
push eax
push ebx
push 0x104c
push dword [esi + 0x20]
mov dword [ebp - 0x484], 1
mov dword [ebp - 0x478], 0x405f48
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x41c159
lea eax, [ebp - 0x434]
push eax
push ebx
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x41c5ac
mov esi, dword [ebp - 0x418]
mov edx, 0xff
mov edi, ebx
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x420], ecx
mov al, byte [ecx]
test al, al
jne 0x41c441
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x42c], edx
push eax
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], edx
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ecx + 8]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
je 0x41c37e
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x414]
push 0x405f50
push eax
call sub.MFC42u.dll_CString::Format
add esp, 0x10
jmp 0x41c391
lea eax, [ebp - 0x414]
push 0x405f5c
push eax
call sub.MFC42u.dll_CString::Format
pop ecx
pop ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x418]
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x458]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [esi + 0x20]
mov dword [ebp - 0x458], 2
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41c584
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x48c]
push eax
push ebx
push 0x104d
push dword [esi + 0x20]
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x484], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x458]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x484], 1
test byte [eax + 4], 1
mov dword [ebp - 0x478], 0x405f48
ja 0x41c559
jmp 0x41c54f
cmp al, 1
jne 0x41c571
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x42c], edx
push eax
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], edx
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ecx + 8]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
je 0x41c4ab
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x414]
push 0x405f50
push eax
call sub.MFC42u.dll_CString::Format
add esp, 0x10
jmp 0x41c4be
lea eax, [ebp - 0x414]
push 0x405f5c
push eax
call sub.MFC42u.dll_CString::Format
pop ecx
pop ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x418]
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x458]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [esi + 0x20]
mov dword [ebp - 0x458], 2
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41c584
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x48c]
push eax
push ebx
push 0x104d
push dword [esi + 0x20]
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x484], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x458]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], 1
mov dword [ebp - 0x478], 0x405f88
lea eax, [ebp - 0x48c]
push eax
push ebx
push 0x104c
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41c584
push ebx
push ebx
push ebx
push ebx
push 0x405f90
push ebx
push 1
mov ecx, esi
call sub.MFC42u.dll_CListCtrl::InsertItem
lea eax, [ebp - 0x434]
inc edi
push eax
push edi
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov edx, 0xff
test eax, eax
jne 0x41c306
mov edi, dword [ebp - 0x440]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41c2d0