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

Disassembly:
mov eax, 0x50f2fa
call fcn.00508264
sub esp, 0x974
push ebx
push esi
push edi
xor ebx, ebx
push 0x55a558
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], ebx
call fcn.00403757
push 0x538040
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.00403850
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.00401644
push ebx
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.00421f3d
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.004039ea
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x80]
call fcn.0040184d
push ebx
push edi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.004017de
xor eax, eax
push 0x7fe
mov word [ebp - 0x980], ax
lea eax, [ebp - 0x97e]
push ebx
push eax
call fcn.0049d740
mov esi, 0xff
push esi
lea eax, [ebp - 0x17f]
push ebx
push eax
mov byte [ebp - 0x180], bl
call fcn.0049d740
mov eax, dword [ebp - 0x38]
add esp, 0x18
cmp dword [ebp - 0x24], 8
jae 0x41f10a
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x18]
push ecx
push 0xf003f
push ebx
push eax
push dword [0x55a4dc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41f138
push dword [ebp + 8]
push 0x53aa4c
call fcn.00413df9
pop ecx
jmp 0x41f2d4
push dword [ebp - 0x18]
mov ecx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x48]
push eax
call fcn.00421a4a
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x980]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.LocalPath
push dword [ebp - 0x18]
mov dword [ebp - 0x10], 0x3ff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41f2b0
cmp dword [ebp - 0x14], edi
jne 0x41f2b0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.ModifyTime
push dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
jne 0x41f2cb
cmp dword [ebp - 0x14], edi
jne 0x41f2cb
push 4
pop edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.Length
push dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
call esi
test eax, eax
jne 0x41f2b0
cmp dword [ebp - 0x14], edi
jne 0x41f2b0
lea eax, [ebp - 0x48]
push eax
call fcn.00421a5d
lea eax, [ebp - 0x980]
push eax
call fcn.004300ac
pop ecx
pop ecx
test al, al
je 0x41f237
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401644
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 3
push dword [ebp - 0x20]
lea eax, [ebp - 0x980]
push eax
mov dword [ebp - 0x1c], 1
call fcn.0043000e
add esp, 0xc
mov byte [ebp + 0xb], 1
test al, al
je 0x41f23a
mov byte [ebp + 0xb], bl
mov dword [ebp - 4], ebx
test byte [ebp - 0x1c], 1
je 0x41f24e
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.004017de
cmp byte [ebp + 0xb], bl
je 0x41f293
lea eax, [ebp - 0x980]
push eax
call fcn.0049d71b
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00499a0f
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x980]
push eax
push eax
call fcn.0049d71b
pop ecx
inc eax
push eax
push esi
call fcn.0049b0d6
add esp, 0xc
jmp 0x41f2bc
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x41f29f
lea eax, [ebp - 0x38]
push eax
push dword [0x55a4dc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor esi, esi
jmp 0x41f2bc
lea eax, [ebp - 0x48]
push eax
xor esi, esi
call fcn.00421a5d
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040184d
mov eax, esi
jmp 0x41f2e1
lea eax, [ebp - 0x48]
push eax
call fcn.00421a5d
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.0040184d
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4