Function at 0x422ed5
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x43e528
call fcn.0043a940
mov eax, 0xa45c
call fcn.0043a9e0
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push str.SoftwareFeitianePass2003
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], ebx
call sub.MFC42u.DLL_CString::CString_3
push 0x5c
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CString::ReverseFind
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx - 8]
sub ecx, eax
lea eax, [ebp - 0x20]
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42u.DLL_CString::Right
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0043a496
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0043a33a
mov edx, 0x82
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x466]
mov word [ebp - 0x468], bx
mov word [ebp - 0x25c], bx
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [ebp - 0x25a]
rep stosd dword es:[edi], eax
mov eax, 0x104
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x34]
push eax
push 1
push ebx
push str.SoftwareFeitianePass2003
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4234c5
lea eax, [ebp - 0x44]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [ebp - 0x468]
push eax
push ebx
push ebx
push 0x4532f8
push dword [ebp - 0x34]
call edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x25c]
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 0x34]
call edi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esi + 0x64]
lea eax, [ebp - 0x468]
push eax
mov ecx, edi
call fcn.0043a44e
mov eax, dword [edi]
cmp dword [eax - 8], ebx
je 0x4234c5
mov edi, 0x453828
lea ecx, [ebp - 0x20]
push edi
call sub.MFC42u.DLL_CString::CString_2
lea eax, [ebp - 0x38]
push 1
push eax
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::Right
push dword [ebp - 0x20]
push dword [eax]
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
cmp eax, ebx
pop ecx
lea ecx, [ebp - 0x38]
setne byte [ebp - 0xd]
call fcn.0043a33a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0043a33a
cmp byte [ebp - 0xd], bl
je 0x423056
push edi
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString_2
lea eax, [ebp - 0x20]
lea ecx, [esi + 0x64]
push eax
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0043a33a
push str.ePass2003.ini
lea ecx, [esi + 0x64]
call sub.MFC42u.DLL_CString::operator
lea eax, [ebp - 0x25c]
lea ecx, [esi + 0x68]
push eax
call fcn.0043a44e
mov ecx, 0x27ff
xor eax, eax
lea edi, [ebp - 0xa466]
mov word [ebp - 0xa468], bx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x40]
push 1
push ecx
lea ecx, [ebp - 0xa468]
stosw word es:[edi], ax
mov eax, dword [esi + 0x64]
push ecx
push eax
mov dword [ebp - 0x40], 0x5000
call fcn.00438a1e
add esp, 0x10
test eax, eax
je 0x4234c5
lea edi, [esi + 0x528]
lea eax, [ebp - 0xa468]
push eax
mov ecx, edi
call fcn.0042fd42
lea eax, [ebp - 0xd]
lea ecx, [ebp - 0x30]
push eax
push str.Others
mov byte [ebp - 4], 4
call fcn.0040603c
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
mov byte [ebp - 4], 5
call fcn.0042fe78
mov dword [esi + 0x534], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.0040212c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040bd65
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.0040bd65
cmp dword [esi + 0x534], ebx
mov byte [ebp - 4], 8
je 0x4231c6
push str.display_mode
lea ecx, [ebp - 0x1c]
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f70b
push 1
mov dword [0x456ac8], eax
pop ecx
cmp eax, ecx
jne 0x423153
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ecx
jmp 0x423159
mov dword [esi + 0x70], ecx
mov dword [esi + 0x6c], ebx
push str.duplicate_cert_mgr
lea ecx, [ebp - 0x1c]
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
test eax, eax
setne al
push str.enum_before_login
lea ecx, [ebp - 0x1c]
mov byte [0x456acc], al
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
test eax, eax
setne al
push str.cert_update_note
lea ecx, [ebp - 0x1c]
mov byte [0x456ae9], al
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f70b
mov dword [0x456aea], eax
lea eax, [ebp - 0xd]
lea ecx, [ebp - 0x30]
push eax
push 0x453784
mov byte [ebp - 4], 9
call fcn.0040603c
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
mov byte [ebp - 4], 0xa
call fcn.0042fe78
mov dword [esi + 0x534], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.0040212c
cmp dword [esi + 0x534], ebx
mov byte [ebp - 4], 8
je 0x4232f6
push str.lang_id
lea ecx, [ebp - 0x1c]
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f70b
cmp eax, ebx
mov dword [0x456ade], eax
jle 0x423238
push eax
call fcn.00431df9
pop ecx
push str.soft_keyboard_mgr
lea ecx, [ebp - 0x1c]
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
test eax, eax
setne al
push str.sec_desktop_mgr
lea ecx, [ebp - 0x1c]
mov byte [0x456adc], al
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
test eax, eax
setne al
push str.intensity_check
lea ecx, [ebp - 0x1c]
mov byte [0x456add], al
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
test eax, eax
setne al
push str.required_if_delete_mgr
lea ecx, [ebp - 0x1c]
mov byte [0x456ae6], al
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
test eax, eax
setne al
push str.required_if_change_name_mgr
lea ecx, [ebp - 0x1c]
mov byte [0x456ae8], al
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
test eax, eax
setne al
mov byte [0x456ae7], al
mov dword [esi + 0x80], 1
lea eax, [ebp - 0xd]
lea ecx, [ebp - 0x30]
push eax
push str.Fucntions
mov byte [ebp - 4], 0xc
call fcn.0040603c
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
mov byte [ebp - 4], 0xd
call fcn.0042fe78
mov dword [esi + 0x534], eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0xe
sar eax, 1
push eax
push dword [ebp - 0x30]
call fcn.0040acc0
cmp dword [esi + 0x534], ebx
mov byte [ebp - 4], 8
je 0x42343c
push str.usr_import
lea ecx, [ebp - 0x1c]
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
test eax, eax
je 0x423379
or dword [esi + 0x80], 0x10
push str.usr_export
lea ecx, [ebp - 0x1c]
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
test eax, eax
je 0x4233a0
or dword [esi + 0x80], 0x20
push str.usr_delete
lea ecx, [ebp - 0x1c]
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
test eax, eax
je 0x4233c7
or dword [esi + 0x80], 0x40
push str.usr_view
lea ecx, [ebp - 0x1c]
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
test eax, eax
je 0x4233ee
or dword [esi + 0x80], 4
push str.usr_user_pin
lea ecx, [ebp - 0x1c]
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
test eax, eax
je 0x423415
or dword [esi + 0x80], 8
push str.usr_token_name
lea ecx, [ebp - 0x1c]
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
cmp eax, ebx
je 0x42343c
or dword [esi + 0x80], 2
lea eax, [ebp - 0xd]
lea ecx, [ebp - 0x30]
push eax
push str.Applications
mov byte [ebp - 4], 0xf
call fcn.0040603c
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
mov byte [ebp - 4], 0x10
call fcn.0042fe78
cmp dword [ebp - 0x30], ebx
mov dword [esi + 0x534], eax
je 0x423474
push dword [ebp - 0x30]
call sub.MFC42u.DLL_operatordelete
pop ecx
cmp dword [esi + 0x534], ebx
mov byte [ebp - 4], 8
je 0x4234a6
push str.import_cert_chain
lea ecx, [ebp - 0x1c]
call fcn.0040969d
mov ecx, dword [esi + 0x534]
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f6a9
test eax, eax
setne al
mov byte [0x456aee], al
cmp dword [ebp - 0x50], ebx
je 0x4234b4
push dword [ebp - 0x50]
call sub.MFC42u.DLL_operatordelete
pop ecx
cmp dword [ebp - 0x1c], ebx
je 0x4234c2
push dword [ebp - 0x1c]
call sub.MFC42u.DLL_operatordelete
pop ecx
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0043a33a
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret