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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3f2c
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 7
pop ecx
mov esi, str.SAMSAMDomainsAccountUsers
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3f24]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x34]
movsw word es:[edi], word [esi]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43f8c1
lea ecx, [ebp - 0x34]
push ecx
push eax
push str.RecoverWindowsUserPasswords
push str._s_:_Failed_to_open_SAM_Users_key__Error0x_.8x
call fcn.00449974
add esp, 0x10
xor eax, eax
jmp 0x43fc84
push ebx
lea eax, [ebp - 0x34]
push eax
push str.RecoverWindowsUserPasswords
push str._s_:_Enumerating_all_SAM_users_within__s
call fcn.00449974
add esp, 0xc
lea eax, [ebp - 0x3f20]
xor ecx, ecx
mov esi, 0x3e8
mov ebx, ecx
mov dword [ebp - 0x3f20], esi
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0xc50]
push eax
push ecx
push dword [ebp - 0x3f24]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43fc70
lea eax, [ebp - 0xc50]
push str.Names
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
je 0x43fc48
lea eax, [ebp - 0x3f1c]
push eax
lea eax, [ebp - 0xc50]
push 0x685b20
push eax
call fcn.00445d89
push dword [ebp - 0x3f1c]
lea eax, [ebx + 1]
push dword [ebp - 0x3f1c]
push eax
push str._n_d___Found_New_User_RID___08x___u_
call fcn.00449974
lea eax, [ebp - 0xc50]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x66c218
lea eax, [ebp - 0x1808]
push esi
push eax
call fcn.00445d6d
add esp, 0x30
lea eax, [ebp - 0x3f28]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x1808]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43f9c1
push eax
lea eax, [ebp - 0x1808]
push eax
push str.RecoverWindowsUserPasswords
push str._s_:_Failed_to_open_SAM_user_account__s__Error0x_.8x
call fcn.00449974
add esp, 0x10
jmp 0x43fc48
lea eax, [ebp - 0x3f20]
mov dword [ebp - 0x3f20], 0x2710
push eax
lea eax, [ebp - 0x3f18]
push eax
lea eax, [ebp - 0x3f2c]
push eax
push 0
push 0x685b84
push dword [ebp - 0x3f28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x3f28]
mov esi, eax
call edi
test esi, esi
je 0x43fa1e
push esi
push str.RecoverWindowsUserPasswords
push str._s_:_Failed_to_read_user_V_value__Error0x_.8x
call fcn.00449974
add esp, 0xc
mov esi, 0x3e8
jmp 0x43fc48
xor ecx, ecx
lea eax, [ebp - 0x480]
push ecx
push ecx
mov esi, 0x3e8
lea edx, [ebp - 0x3e4c]
push esi
push eax
mov eax, dword [ebp - 0x3f08]
shr eax, 1
push eax
mov eax, dword [ebp - 0x3f0c]
add eax, edx
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x3f08]
shr eax, 1
cmp eax, esi
jae 0x43fc92
mov byte [ebp + eax - 0x480], 0
movsx eax, byte [ebp - 0x480]
push eax
call fcn.006307f2
mov byte [ebp - 0x480], al
lea eax, [ebp - 0x480]
push eax
push str.User:__s
call fcn.00449974
lea eax, [ebp - 0x480]
push eax
call fcn.00631510
add esp, 0x10
cmp eax, 0x3b6
lea eax, [ebp - 0x480]
jae 0x43fac5
push dword [ebp - 0x3f1c]
push eax
push str._s___d_
lea eax, [ebp - 0x1420]
push esi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x43fad6
push eax
lea eax, [ebp - 0x1420]
push esi
push eax
call fcn.006311ec
add esp, 0xc
mov eax, dword [ebp - 0x3efc]
mov byte [ebp - 0x868], 0
test eax, eax
je 0x43fb3e
mov ecx, dword [ebp - 0x3f00]
test ecx, ecx
je 0x43fb3e
push 0
push 0
push esi
lea edx, [ebp - 0x868]
shr eax, 1
push edx
push eax
lea eax, [ebp - 0x3e4c]
add eax, ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x3efc]
shr eax, 1
cmp eax, esi
jae 0x43fc92
mov byte [ebp + eax - 0x868], 0
lea eax, [ebp - 0x868]
push eax
push str.User_Fullname:__s
call fcn.00449974
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x3f1c]
lea eax, [ebp - 0x3e4c]
push eax
lea eax, [ebp - 0x3e7c]
push eax
call fcn.004c604f
add esp, 0x14
test eax, eax
je 0x43fbc3
push 0x64
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.0044969e
lea eax, [ebp - 0x98]
push eax
push str._LM_HASH_
push str._s__s
lea eax, [ebp - 0x1038]
push esi
push eax
call fcn.00445d6d
push 0xffffffffffffffff
mov ecx, 0x66ae5d
lea eax, [ebp - 0x1038]
push ecx
push eax
lea eax, [ebp - 0x1420]
push eax
lea eax, [ebp - 0x868]
push eax
push ecx
push 0x1f5
push 0xc
call fcn.00412c85
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp - 0x3f1c]
lea eax, [ebp - 0x3e4c]
push eax
lea eax, [ebp - 0x3e70]
push eax
call fcn.004c604f
add esp, 0x14
test eax, eax
je 0x43fc48
push 0x64
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.0044969e
lea eax, [ebp - 0x98]
push eax
push str._NTLM_HASH_
push str._s__s
lea eax, [ebp - 0x1038]
push esi
push eax
call fcn.00445d6d
push 0xffffffffffffffff
mov ecx, 0x66ae5d
lea eax, [ebp - 0x1038]
push ecx
push eax
lea eax, [ebp - 0x1420]
push eax
lea eax, [ebp - 0x868]
push eax
push ecx
push 0x1f5
push 0xc
call fcn.00412c85
add esp, 0x44
xor eax, eax
mov dword [ebp - 0x3f20], esi
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x3f20]
inc ebx
push eax
lea eax, [ebp - 0xc50]
push eax
push ebx
push dword [ebp - 0x3f24]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x43f911
push dword [ebp - 0x3f24]
call edi
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005fe955
leave
ret
call fcn.005fe87a
int3