Function at 0x419480
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428d96
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x524104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x868], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x880], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x87c], eax
xor eax, eax
push 0x208
push eax
mov dword [ebp - 0x86c], eax
lea eax, [ebp - 0x218]
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0x874], 0
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0xf
mov byte [ebp - 0x860], 0
lea eax, [ebp - 0x860]
mov dword [ebp - 4], 0
push eax
push 2
call fcn.0041e0f0
add esp, 0x38
test eax, eax
je 0x419565
xor esi, esi
jmp 0x4199c1
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], 0
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 1
push eax
push 1
call fcn.0041e0f0
add esp, 8
test eax, eax
je 0x4195a0
xor esi, esi
jmp 0x41996a
cmp dword [ebp - 0x84c], 0x10
lea edi, [ebp - 0x860]
jb 0x4195bd
mov edi, dword [ebp - 0x860]
test edi, edi
jne 0x4195bd
xor eax, eax
jmp 0x4195f7
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4195c2
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x884], eax
cmp eax, 0x3fffffff
jle 0x4195df
xor eax, eax
jmp 0x4195f7
add eax, eax
call fcn.00425b70
mov eax, esp
push 3
push dword [ebp - 0x884]
push edi
push eax
call fcn.004019a0
push eax
lea eax, [ebp - 0x830]
push 0x42f0f8
push eax
call fcn.00415740
add esp, 0xc
mov eax, 0x14
call fcn.00425b40
mov eax, esp
push 3
push 9
push str.Products
push eax
call fcn.004019a0
push str.MessageSizes
push dword [ebp - 0x87c]
push 0x42f048
push str.DefaultSettings
push dword [ebp - 0x880]
push eax
push dword [ebp - 0x868]
lea eax, [ebp - 0x628]
push str._s_s_s_s_s_s_s
push eax
call fcn.00415740
add esp, 0x24
lea eax, [ebp - 0x878]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x628]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4196ae
lea eax, [ebp - 0x864]
mov dword [ebp - 0x864], 4
push eax
lea eax, [ebp - 0x874]
push eax
push 0
push 0
push str.Version
push dword [ebp - 0x878]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x834], 0x10
lea edi, [ebp - 0x848]
mov dword [ebp - 0x870], 0
jb 0x4196d5
mov edi, dword [ebp - 0x848]
test edi, edi
jne 0x4196d5
xor eax, eax
jmp 0x419715
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4196e0
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x868], eax
cmp eax, 0x3fffffff
jle 0x4196fd
xor eax, eax
jmp 0x419715
add eax, eax
call fcn.00425b70
mov eax, esp
push 3
push dword [ebp - 0x868]
push edi
push eax
call fcn.004019a0
push str.MessageSizes
push dword [ebp - 0x87c]
push 0x42f048
push dword [ebp - 0x880]
push eax
lea eax, [ebp - 0x420]
push str._s_s_s_s_s
push eax
call fcn.00415740
add esp, 0x1c
lea edi, [esi + 0x30]
lea eax, [ebp - 0x420]
mov dword [ebp - 0x868], edi
push edi
push 0x20019
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [edi]
test edi, edi
jne 0x419790
push edi
lea eax, [esi + 0x30]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
lea eax, [ebp - 0x420]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [esi + 0x30]
test edi, edi
je 0x4197bb
lea eax, [ebp - 0x864]
mov dword [ebp - 0x864], 4
push eax
lea eax, [ebp - 0x870]
push eax
push 0
push 0
push str.Version
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [esi + 0x30]
mov eax, dword [ebp - 0x870]
xorps xmm0, xmm0
cmp eax, dword [ebp - 0x874]
lea eax, [ebp - 0x864]
push 0
cmovb edi, dword [ebp - 0x878]
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x218]
mov dword [esi + 0x28], 0
push eax
movups xmmword [esi], xmm0
push 0
movups xmmword [esi + 0x10], xmm0
push edi
movq qword [esi + 0x20], xmm0
mov dword [ebp - 0x864], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4198b2
nop word [eax + eax]
inc dword [ebp - 0x86c]
lea eax, [ebp - 0x218]
push str.MessageSize
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x41987c
lea eax, [ebp - 0x202]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
add esp, 4
mov dword [ebp - 0x864], 4
lea ecx, [ebp - 0x864]
lea eax, [esi + eax*4]
push ecx
push eax
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41987c
inc dword [esi + 0x28]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x864]
mov dword [ebp - 0x864], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x86c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x419820
lea eax, [ebp - 0x864]
mov dword [ebp - 0x864], 4
push eax
lea eax, [esi + 0x2c]
push eax
push 0
push 0
push str.Version
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x870]
cmp eax, dword [ebp - 0x874]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jae 0x41995a
push dword [esi + 0x30]
lea edi, [esi + 0x30]
call eax
test eax, eax
jne 0x41994a
push edi
push 0xf003f
push eax
lea eax, [ebp - 0x420]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41994a
push str.MessageSizes
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push edi
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x420]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [edi]
mov ecx, esi
call fcn.0041a600
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x419960
mov edi, dword [ebp - 0x868]
push dword [ebp - 0x878]
call eax
mov esi, dword [edi]
mov edx, dword [ebp - 0x834]
cmp edx, 0x10
jb 0x4199a6
mov ecx, dword [ebp - 0x848]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41999c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41999c
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 dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], 0
mov edx, dword [ebp - 0x84c]
cmp edx, 0x10
jb 0x4199fd
mov ecx, dword [ebp - 0x860]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4199f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4199f3
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 eax, esi
lea esp, [ebp - 0x890]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00425b22
mov esp, ebp
pop ebp
ret 0xc