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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x65cc
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push ebx
push ebx
push 0xa
call fcn.00414a66
add esp, 0xc
test al, al
jne 0x43f351
push str.RecoverWindowsSecurityQuestions
push str._s_:__OLD_OS___Win_10__Security_Questions_works_on_Windows_10__higher_only
call fcn.00449974
pop ecx
pop ecx
xor eax, eax
jmp 0x43f847
push esi
push edi
push 7
pop ecx
mov esi, str.SAMSAMDomainsAccountUsers
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x65c4]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x24]
movsw word es:[edi], word [esi]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43f3a0
lea ecx, [ebp - 0x24]
push ecx
push eax
push str.RecoverWindowsSecurityQuestions
push str._s_:_Failed_to_open_SAM_Users_key__Error0x_.8x
call fcn.00449974
add esp, 0x10
xor eax, eax
jmp 0x43f845
lea eax, [ebp - 0x24]
mov esi, str.RecoverWindowsSecurityQuestions
push eax
push esi
push str._s_:_Enumerating_all_SAM_users_within__s
call fcn.00449974
add esp, 0xc
mov dword [ebp - 0x65c8], ebx
lea eax, [ebp - 0x65b8]
mov dword [ebp - 0x65b8], 0x3e8
mov edi, ebx
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0xbdc]
push eax
push ebx
push dword [ebp - 0x65c4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43f832
lea eax, [ebp - 0xbdc]
push str.Names
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
je 0x43f800
lea eax, [ebp - 0x65c0]
push eax
lea eax, [ebp - 0xbdc]
push 0x685b20
push eax
call fcn.00445d89
push dword [ebp - 0x65c0]
lea eax, [edi + 1]
push dword [ebp - 0x65c0]
push eax
push str._n_d___Found_New_User_RID___08x___u_
call fcn.00449974
lea eax, [ebp - 0xbdc]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x66c218
lea eax, [ebp - 0x1794]
push 0x3e8
push eax
call fcn.00445d6d
add esp, 0x30
lea eax, [ebp - 0x65bc]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x1794]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43f4a3
push eax
lea eax, [ebp - 0x1794]
push eax
push esi
push str._s_:_Failed_to_open_SAM_user_account__s__Error0x_.8x
call fcn.00449974
add esp, 0x10
jmp 0x43f800
lea eax, [ebp - 0x65b8]
mov dword [ebp - 0x65b8], 0x2710
push eax
lea eax, [ebp - 0x3ea4]
push eax
lea eax, [ebp - 0x65cc]
push eax
push 0
push str.ResetData
push dword [ebp - 0x65bc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43f4f5
push eax
push esi
push str._s_:_Failed_to_read_user_ResetData_value__Error0x_.8x
call fcn.00449974
add esp, 0xc
push dword [ebp - 0x65bc]
call ebx
jmp 0x43f800
push dword [ebp - 0x65b8]
push esi
push str._s_Successfully_read_user_ResetData_value_of_size__d
call fcn.00449974
push dword [ebp - 0x65b8]
lea eax, [ebp - 0x3ea4]
push eax
call fcn.004498ca
add esp, 0x14
lea eax, [ebp - 0x65b4]
xor ecx, ecx
mov esi, 0x2710
push ecx
push ecx
push esi
push eax
mov eax, dword [ebp - 0x65b8]
shr eax, 1
push eax
lea eax, [ebp - 0x3ea4]
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x65b8]
shr eax, 1
cmp eax, esi
jae 0x43f854
mov byte [ebp + eax - 0x65b4], 0
lea eax, [ebp - 0x65b8]
push eax
lea eax, [ebp - 0x3ea4]
mov dword [ebp - 0x65b8], esi
push eax
lea eax, [ebp - 0x65cc]
push eax
push 0
push 0x685b84
push dword [ebp - 0x65bc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x65bc]
mov esi, eax
call ebx
test esi, esi
jne 0x43f60a
xor ecx, ecx
lea eax, [ebp - 0x40c]
push ecx
push ecx
mov esi, 0x3e8
lea edx, [ebp - 0x3dd8]
push esi
push eax
mov eax, dword [ebp - 0x3e94]
shr eax, 1
push eax
mov eax, dword [ebp - 0x3e98]
add eax, edx
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x3e94]
shr eax, 1
cmp eax, esi
jae 0x43f854
mov byte [ebp + eax - 0x40c], 0
movsx eax, byte [ebp - 0x40c]
push eax
call fcn.006307f2
mov byte [ebp - 0x40c], al
lea eax, [ebp - 0x40c]
push eax
push str.User:__s
call fcn.00449974
add esp, 0xc
jmp 0x43f634
push esi
push str.RecoverWindowsSecurityQuestions
push str._s_:_Failed_to_read_user_V_value__Error0x_.8x
call fcn.00449974
push 0x685cfc
mov esi, 0x3e8
lea eax, [ebp - 0x40c]
push esi
push eax
call fcn.006311ec
add esp, 0x18
lea eax, [ebp - 0x40c]
push eax
call fcn.00631510
cmp eax, 0x3b6
lea eax, [ebp - 0x40c]
pop ecx
jae 0x43f66c
push dword [ebp - 0x65c0]
push eax
push str._s___d_
lea eax, [ebp - 0x13ac]
push esi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x43f67d
push eax
lea eax, [ebp - 0x13ac]
push esi
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0x13ac]
push eax
push str.Final_User_Name:__s
call fcn.00449974
lea eax, [ebp - 0x65b4]
push eax
call fcn.00449bad
lea eax, [ebp - 0x65b4]
push eax
push str.RecoverWindowsSecurityQuestions
push str._s_Final_Questions_Answers_n_s
call fcn.00449974
lea eax, [ebp - 0x65b4]
push str.question:
push eax
call fcn.00627320
mov esi, eax
add esp, 0x20
test esi, esi
je 0x43f7fb
push str.question:
call fcn.00631510
add esi, eax
push 0x2c
push esi
call fcn.006270b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43f7f5
mov ecx, edi
lea eax, [ebp - 0x7f4]
sub ecx, esi
push ecx
push esi
push 0x3e8
push eax
call fcn.00631360
push str.answer:
push edi
call fcn.00627320
mov esi, eax
add esp, 0x18
test esi, esi
je 0x43f7f5
push str.answer:
call fcn.00631510
add esi, eax
push 0x7d
push esi
call fcn.006270b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43f7f5
mov ecx, edi
lea eax, [ebp - 0xfc4]
sub ecx, esi
push ecx
push esi
push 0x3e8
push eax
call fcn.00631360
lea eax, [ebp - 0xfc4]
inc edi
push eax
lea eax, [ebp - 0x7f4]
push eax
push str.Question_____s__Answer_____s_
call fcn.00449974
lea eax, [ebp - 0x7f4]
push 0xa
push eax
call fcn.004498ca
lea eax, [ebp - 0x7f4]
push 0x92
push eax
call fcn.006270b0
add esp, 0x2c
test eax, eax
je 0x43f7b3
mov byte [eax], 0x27
lea eax, [ebp - 0xfc4]
push eax
lea eax, [ebp - 0x7f4]
push eax
push str.After_replacing_....Question_____s__Answer_____s_
call fcn.00449974
add esp, 0xc
push 0xffffffffffffffff
mov ecx, 0x66ae5d
lea eax, [ebp - 0xfc4]
push ecx
push eax
lea eax, [ebp - 0x13ac]
push eax
lea eax, [ebp - 0x7f4]
push eax
push ecx
push 0x209
push 0xc
call fcn.00412c85
push str.question:
push edi
call fcn.00627320
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x43f6ce
mov edi, dword [ebp - 0x65c8]
mov esi, str.RecoverWindowsSecurityQuestions
xor eax, eax
mov dword [ebp - 0x65b8], 0x3e8
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x65b8]
inc edi
push eax
lea eax, [ebp - 0xbdc]
mov dword [ebp - 0x65c8], edi
push eax
push edi
push dword [ebp - 0x65c4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x43f3f3
push dword [ebp - 0x65c4]
call ebx
xor eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret
call fcn.005fe87a
int3