Function at 0x409c90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x497879
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4be0a0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
mov eax, dword [0x4be0a0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push str.ruleCleaned
push 0x4a1c08
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov esi, 4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x409d25
cmp dword [esp + 0x18], esi
jne 0x409d25
cmp dword [esp + 0x1c], ebx
je 0x409d25
push 0xa
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push 0x4a1c4c
mov esi, edi
mov word [edi + 4], ax
call fcn.004028e0
jmp 0x409ec8
lea ecx, [esp + 0x58]
push str.rulechktime
push ecx
mov edx, 0x4a1c7c
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e95a
lea edx, [esp + 0x44]
push str.ruleimporttime
push edx
mov edx, 0x4a1c7c
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x90], ebx
call fcn.0045e95a
add esp, 0x10
mov byte [esp + 0x80], 1
cmp dword [esp + 0x6c], ebx
je 0x409e2e
cmp dword [esp + 0x50], ebx
je 0x409dd1
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x58]
call fcn.00405820
test eax, eax
lea eax, [esp + 0x3c]
jl 0x409d92
lea eax, [esp + 0x58]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
mov ebp, 7
xor ecx, ecx
push eax
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], ebx
mov eax, edi
mov word [edi + 4], cx
call fcn.00402830
mov esi, 8
cmp dword [esp + 0x54], esi
jb 0x409dc8
mov edx, dword [esp + 0x40]
push edx
call fcn.0047d710
add esp, 4
mov dword [esp + 0x50], ebx
jmp 0x409eaa
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea eax, [esp + 0x60]
mov ebp, 7
xor edx, edx
push eax
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], ebx
mov eax, edi
mov word [edi + 4], dx
call fcn.00402830
mov esi, 8
cmp dword [esp + 0x54], esi
jb 0x409e0b
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0047d710
add esp, 4
xor edx, edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], dx
cmp dword [esp + 0x70], esi
jb 0x409ec8
mov eax, dword [esp + 0x5c]
push eax
jmp 0x409ec0
cmp dword [esp + 0x50], ebx
jne 0x409e55
mov edx, 0x4a1ccc
lea eax, [esp + 0x20]
call fcn.00402730
mov ebx, 2
mov byte [esp + 0x80], 2
mov dword [esp + 0x10], ebx
jmp 0x409e59
lea eax, [esp + 0x3c]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov ebp, 7
push eax
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], 0
mov eax, edi
mov word [edi + 4], cx
call fcn.00402830
or ebx, 1
test bl, 2
je 0x409e8a
lea esi, [esp + 0x20]
call fcn.00405980
mov esi, 8
cmp dword [esp + 0x54], esi
jb 0x409ea2
mov edx, dword [esp + 0x40]
push edx
call fcn.0047d710
add esp, 4
mov dword [esp + 0x50], 0
xor eax, eax
mov word [esp + 0x40], ax
mov dword [esp + 0x54], ebp
cmp dword [esp + 0x70], esi
jb 0x409ec8
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0047d710
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0047d444
add esp, 0x74
ret