Function at 0x41f63b
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f282
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x498
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ebx
cmp dword [0x55a570], 8
mov eax, dword [0x55a55c]
push esi
push edi
jae 0x41f678
mov eax, 0x55a55c
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
push ebx
push eax
push dword [0x55a4dc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41fa91
push dword [esp + 0x18]
mov ecx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x7c]
push eax
call fcn.00421a4a
pop ecx
pop ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x4ac], ebx
call fcn.00419b6e
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xb4]
push eax
mov byte [esp + 0x4c4], 1
mov dword [esp + 0x38], ebx
mov edi, 0xff
push ebx
jmp 0x41f9c6
lea eax, [esp + 0x28]
push eax
push 0xf003f
push ebx
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41f71f
lea eax, [esp + 0xa0]
push eax
push 0x53ab00
call fcn.00413df9
pop ecx
jmp 0x41f9ac
push dword [esp + 0x28]
mov ecx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x70]
push eax
call fcn.00421a4a
pop ecx
pop ecx
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2a4]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
push str.LocalPath
push dword [esp + 0x3c]
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41f9a2
cmp dword [esp + 0x1c], 1
jne 0x41f9a2
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1a4]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
push str.ModifyTime
push dword [esp + 0x3c]
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41f9a2
cmp dword [esp + 0x1c], 1
jne 0x41f9a2
push 4
pop esi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
push str.Length
push dword [esp + 0x3c]
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41f9a2
cmp dword [esp + 0x1c], esi
jne 0x41f9a2
lea eax, [esp + 0x6c]
push eax
call fcn.00421a5d
pop ecx
lea eax, [esp + 0x2a0]
push eax
call fcn.004300ac
pop ecx
test al, al
je 0x41f85e
lea eax, [esp + 0x1a0]
push eax
lea ecx, [esp + 0x3c]
call fcn.00401644
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x4b0], 2
push dword [esp + 0x30]
xor esi, esi
lea eax, [esp + 0x2a8]
inc esi
or dword [esp + 0x1c], esi
push eax
call fcn.0043000e
add esp, 0xc
test al, al
jne 0x41f861
sub esp, 0x1c
lea eax, [esp + 0x1bc]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00401644
call fcn.0042038d
cmp al, bl
jne 0x41f861
mov byte [esp + 0xf], bl
jmp 0x41f866
xor esi, esi
inc esi
mov byte [esp + 0xf], 1
mov dword [esp + 0x4ac], esi
test byte [esp + 0x14], 1
je 0x41f884
and dword [esp + 0x14], 0xfffffffe
push ebx
push esi
lea ecx, [esp + 0x40]
call fcn.004017de
lea eax, [esp + 0x2a0]
lea ecx, [esp + 0x38]
push eax
call fcn.00401685
cmp byte [esp + 0xf], bl
je 0x41f939
push ebx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x88]
mov byte [esp + 0x4b0], 3
call fcn.004221c4
pop ecx
mov byte [esp + 0x4ac], 4
cmp dword [eax + 0x18], 0x10
jb 0x41f8cc
mov eax, dword [eax + 4]
jmp 0x41f8cf
add eax, 4
push eax
push 0x53ab14
call fcn.00413df9
pop ecx
pop ecx
push ebx
push esi
lea ecx, [esp + 0x8c]
call fcn.004017de
push ebx
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x4b4], 1
call fcn.0040184d
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x3c]
call fcn.00401644
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x4b0], 5
call fcn.004204d2
push ebx
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x4b4], 1
call fcn.004017de
jmp 0x41f9ad
push ebx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x88]
mov byte [esp + 0x4b0], 6
call fcn.004221c4
pop ecx
mov byte [esp + 0x4ac], 7
cmp dword [eax + 0x18], 0x10
jb 0x41f966
mov eax, dword [eax + 4]
jmp 0x41f969
add eax, 4
push eax
lea eax, [esp + 0xa4]
push eax
push 0x53ab28
call fcn.00413df9
add esp, 0xc
push ebx
push esi
lea ecx, [esp + 0x8c]
call fcn.004017de
push ebx
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x4b4], 1
call fcn.0040184d
jmp 0x41f9ad
lea eax, [esp + 0x6c]
push eax
call fcn.00421a5d
pop ecx
inc dword [esp + 0x20]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xb4]
push eax
push dword [esp + 0x38]
push dword [esp + 0x34]
mov dword [esp + 0x54], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x41f6e6
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x64]
lea ecx, [esp + 0x28]
call fcn.00424bc2
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
jmp 0x41fa4f
lea ecx, [esp + 0x2c]
call fcn.00420dec
cmp dword [eax + 0x18], 0x10
jb 0x41fa14
mov eax, dword [eax + 4]
jmp 0x41fa17
add eax, 4
push eax
push 0x53ab38
call fcn.00413df9
pop ecx
pop ecx
lea ecx, [esp + 0x2c]
call fcn.00420dec
cmp dword [eax + 0x18], 0x10
jb 0x41fa38
mov eax, dword [eax + 4]
jmp 0x41fa3b
add eax, 4
push eax
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0x2c]
call fcn.00420e18
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x68]
lea ecx, [esp + 0x28]
call fcn.00424bc2
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
call fcn.004239b9
test al, al
je 0x41fa00
lea ecx, [esp + 0x54]
call fcn.0041a20d
push dword [esp + 0x54]
call fcn.0049a490
pop ecx
lea eax, [esp + 0x78]
push eax
call fcn.00421a5d
pop ecx
mov ecx, dword [esp + 0x4a4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret