Function at 0x4145f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4288e9
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x524104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0xf
mov byte [ebp - 0x4c8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0xf
mov byte [ebp - 0x4b0], 0
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0xf
mov byte [ebp - 0x498], 0
mov dword [ebp - 0x4e4], 0
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
lea ecx, [ebp - 0x4cc]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
mov byte [ebp - 4], 7
mov dword [ebp - 0x4e8], 0
mov dword [ebp - 0x4e0], 0
cmp esi, 0x52408c
je 0x414733
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x414725
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, 0x52408c
push eax
call fcn.004028a0
call fcn.0040cfa0
lea eax, [ebp - 0x4c8]
push eax
push 1
call fcn.0041e0f0
add esp, 8
test eax, eax
jne 0x414a46
lea eax, [ebp - 0x4b0]
push eax
push 5
call fcn.0041e0f0
add esp, 8
test eax, eax
jne 0x414a46
lea eax, [ebp - 0x498]
push eax
push 2
call fcn.0041e0f0
add esp, 8
test eax, eax
jne 0x414a46
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x480]
push eax
push 0
call fcn.0041e2b0
add esp, 0x1c
test al, al
jne 0x4147e6
push str.Error_Reading_Version_Information
lea ecx, [ebp - 0x4d0]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
push 0
push 0x10
push dword [eax]
mov byte [ebp - 4], 8
call sub.mfc140u.dll_AfxMessageBox
lea ecx, [ebp - 0x4d0]
jmp 0x414a40
cmp dword [ebp - 0x424], 0x10
lea esi, [ebp - 0x438]
jb 0x414803
mov esi, dword [ebp - 0x438]
test esi, esi
jne 0x414803
xor eax, eax
jmp 0x414834
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414808
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jle 0x414820
xor eax, eax
jmp 0x414834
lea eax, [edi + edi]
call fcn.00425b70
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.004019a0
push eax
lea ecx, [ebp - 0x4d8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea eax, [ebp - 0x4e0]
mov byte [ebp - 4], 9
push eax
push 0x42f044
lea eax, [ebp - 0x4d0]
push eax
lea ecx, [ebp - 0x4d8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
push eax
lea ecx, [ebp - 0x4cc]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x42d99c
lea ecx, [ebp - 0x4cc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
test eax, eax
je 0x414a3a
nop
xor ebx, ebx
mov dword [ebp - 0x4d4], 0x208
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x4d4]
mov dword [ebp - 0x4d0], ebx
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4149e1
nop dword [eax + eax]
cmp dword [ebp - 0x4b4], 0x10
lea edi, [ebp - 0x4c8]
jb 0x4148fd
mov edi, dword [ebp - 0x4c8]
test edi, edi
jne 0x4148fd
xor esi, esi
jmp 0x414948
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414902
sub eax, edx
lea ebx, [eax + 1]
cmp ebx, 0x3fffffff
jg 0x414940
lea eax, [ebx + ebx]
call fcn.00425b70
mov esi, esp
test esi, esi
je 0x414940
push ebx
push esi
push 0xffffffffffffffff
xor eax, eax
push edi
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x414942
xor esi, esi
mov ebx, dword [ebp - 0x4d0]
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push str._s_s
push eax
call fcn.00415740
add esp, 0x10
lea eax, [ebp - 0x4dc]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x420]
push eax
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4149a6
push dword [ebp - 0x4cc]
push dword [ebp - 0x4dc]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 0x4dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4d4]
mov dword [ebp - 0x4d4], 0x208
push eax
lea eax, [ebp - 0x218]
inc ebx
push eax
push ebx
push 0x80000003
mov dword [ebp - 0x4d0], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4148e0
lea eax, [ebp - 0x4e0]
push eax
push 0x42f044
lea eax, [ebp - 0x4ec]
push eax
lea ecx, [ebp - 0x4d8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
push eax
lea ecx, [ebp - 0x4cc]
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
lea ecx, [ebp - 0x4ec]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x42d99c
lea ecx, [ebp - 0x4cc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
test eax, eax
jne 0x4148a0
lea ecx, [ebp - 0x4d8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, dword [ebp - 0x43c]
cmp edx, 0x10
jb 0x414a82
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414a78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414a78
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00425b14
add esp, 8
lea ecx, [ebp - 0x4cc]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x414ae5
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414adb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414adb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00425b14
add esp, 8
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
cmp edx, 0x10
jb 0x414b3c
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414b32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414b32
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00425b14
add esp, 8
mov edx, dword [ebp - 0x46c]
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
cmp edx, 0x10
jb 0x414b93
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414b89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414b89
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00425b14
add esp, 8
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
cmp edx, 0x10
jb 0x414bea
mov ecx, dword [ebp - 0x498]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414be0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414be0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00425b14
add esp, 8
mov edx, dword [ebp - 0x49c]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0xf
mov byte [ebp - 0x498], 0
cmp edx, 0x10
jb 0x414c41
mov ecx, dword [ebp - 0x4b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414c37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414c37
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00425b14
add esp, 8
mov edx, dword [ebp - 0x4b4]
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0xf
mov byte [ebp - 0x4b0], 0
cmp edx, 0x10
jb 0x414c98
mov ecx, dword [ebp - 0x4c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414c8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414c8e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00425b14
add esp, 8
lea esp, [ebp - 0x4fc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00425b22
mov esp, ebp
pop ebp
ret