Function at 0x10022b05
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065c00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xe4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10022b5a
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8c], eax
push 0x146b
push 0x72bd
push dword [ebp - 0x8c]
push 1
call fcn.10022fbf
add esp, 0x10
jmp 0x10022fae
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x74], 0x37c6
mov dword [ebp - 0xac], 0x100092a0
cmp dword [ebp - 0x74], 0x3aa4
jle 0x10022c14
push 0x1879
call dword [sym.imp.USER32.dll_GetSysColor]
and dword [ebp - 0x24], 0
jmp 0x10022bc8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3fa1
jge 0x10022c14
and dword [ebp - 0x2c], 0
jmp 0x10022bde
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x69b9
jge 0x10022c12
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
mov ecx, 0x1060f818
call fcn.10031280
jmp 0x10022bd7
jmp 0x10022bc1
lea eax, [ebp + 8]
mov dword [ebp - 0x84], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x74], 0x351d
jge 0x10022c3a
mov edx, dword [ebp - 0xac]
mov ecx, 0x1060f818
call fcn.10032d2a
jmp 0x10022c56
or dword [ebp - 4], 0xffffffff
jmp 0x10022c60
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x10022f77
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], 0x2cc2
mov dword [ebp - 0x90], 0x10009320
cmp dword [ebp - 0x58], 0x2eb4
jle 0x10022db6
and dword [ebp - 0x28], 0
jmp 0x10022d02
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1abe
jge 0x10022db6
and dword [ebp - 0x18], 0
jmp 0x10022d1c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xb68
jge 0x10022db1
and dword [ebp - 0x1c], 0
jmp 0x10022d36
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x22ea
jge 0x10022dac
and dword [ebp - 0x20], 0
jmp 0x10022d4c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3f19
jge 0x10022daa
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
imul edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x28]
mov eax, edx
cdq
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
lea ecx, [ebp - 0xf4]
call fcn.1000d910
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
call fcn.10031260
push eax
call fcn.10050146
pop ecx
lea ecx, [ebp - 0xf4]
call fcn.10031256
jmp 0x10022d45
jmp 0x10022d2f
jmp 0x10022d15
jmp 0x10022cfb
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x58], 0x2bfa
jge 0x10022ddb
push dword [ebp - 0x90]
call fcn.10050146
pop ecx
jmp 0x10022df7
or dword [ebp - 4], 0xffffffff
jmp 0x10022e01
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0xffff
jbe 0x10022e1e
mov dword [ebp - 0x40], 1
jmp 0x10022e22
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x40]
sub ecx, dword [eax]
je 0x10022e3d
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x10022e3d
mov dword [ebp - 0x68], 1
jmp 0x10022e41
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xc77d
je 0x10022e53
mov dword [ebp - 0x48], 1
jmp 0x10022e57
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jl 0x10022e6a
mov dword [ebp - 0x60], 1
jmp 0x10022e6e
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0xffffffff
jae 0x10022e7d
mov dword [ebp - 0x50], 1
jmp 0x10022e81
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 1
jl 0x10022e90
mov dword [ebp - 0x70], 1
jmp 0x10022e94
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x70], eax
je 0x10022ea7
mov dword [ebp - 0x38], 1
jmp 0x10022eab
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0x7d02268f
jl 0x10022ebd
mov dword [ebp - 0x3c], 1
jmp 0x10022ec1
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
imul eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jle 0x10022ee7
mov dword [ebp - 0xa0], 1
jmp 0x10022eee
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0xd44f4cc5
jne 0x10022f02
mov dword [ebp - 0x54], 1
jmp 0x10022f06
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
imul eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
imul ecx, dword [eax]
test ecx, ecx
jne 0x10022f35
xor eax, eax
jne 0x10022f35
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
jne 0x10022f35
and dword [ebp - 0x64], 0
jmp 0x10022f3c
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x64], eax
jne 0x10022f4f
mov dword [ebp - 0x6c], 1
jmp 0x10022f53
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x6c], eax
je 0x10022f66
mov dword [ebp - 0x34], 1
jmp 0x10022f6a
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
jmp 0x10022fae
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
movzx eax, byte [eax]
test eax, eax
je 0x10022fae
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret