Function at 0x417050
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x420d93
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x432578]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esp + 0x24], vtable.CArray_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov byte [esp + 0x48], 2
mov dword [esp + 0x20], 0x200
mov dword [esp + 0x24], ebx
call fcn.00413bd0
mov edi, eax
cmp edi, ebx
jne 0x417281
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov ecx, esi
call dword [esp + 0x50]
mov edi, eax
cmp edi, ebx
jne 0x417281
test byte [esi + 0x68], 1
jne 0x417281
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
push 0x200
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
mov ebp, dword [esp + 0x30]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebp
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov dword [esi + 0x44], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
cmp dword [esi + 0x44], 0
mov edi, 1
jne 0x41719c
lea ebx, [ebx]
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [esp + 0x28]
call fcn.00415770
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
push 0x200
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], 0x200
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
push edi
push ebp
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov dword [esi + 0x44], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
add edi, 1
cmp dword [esi + 0x44], 0
je 0x417140
cmp dword [esi + 0x44], 0x103
je 0x4171d7
test ebp, ebp
je 0x4171b0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
call fcn.004157e0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 0x17
jmp 0x4172a0
test ebp, ebp
mov dword [esi + 0x44], 0
je 0x4171e9
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x2c]
xor edi, edi
test ebx, ebx
jle 0x41725b
mov ebp, dword [esp + 0x28]
jmp 0x417200
mov ecx, dword [esp + 0x4c]
push ecx
push 0x426e28
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00412b00
add esp, 0xc
test edi, edi
mov byte [esp + 0x44], 3
jl 0x41727c
cmp edi, ebx
jge 0x41727c
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push ebp
push eax
push ecx
call fcn.00412a60
add esp, 0xc
mov ecx, esi
call fcn.00417050
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
add edi, 1
add ebp, 4
cmp edi, ebx
jl 0x417200
lea ecx, [esp + 0x24]
call fcn.004157e0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x4172a0
call fcn.0041de3c
lea ecx, [esp + 0x24]
call fcn.004157e0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8