Function at 0x411af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ea5b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x43a204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x224], ebx
cmp byte [ebx + 0x24], 0
je 0x411b3a
mov edx, dword [ebx + 0x28]
mov eax, dword [edx + 8]
mov dword [edx + 0xc], eax
jmp 0x411dec
mov ecx, dword [ebx + 0x2c]
lea esi, [ebx + 0x28]
sub ecx, dword [esi]
mov eax, 0x66666667
mov edi, dword [ebp + 8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
mov eax, dword [ebp + 0xc]
jne 0x411b87
cmp eax, dword [ebx + 0x34]
jne 0x411b87
test edi, edi
jle 0x411dec
xor edx, edx
nop dword [eax]
mov ecx, dword [esi]
lea edx, [edx + 0x14]
mov eax, dword [ecx + edx - 0xc]
mov dword [ecx + edx - 8], eax
sub edi, 1
jne 0x411b70
jmp 0x411dec
mov dword [ebx + 0x34], eax
push esi
push dword [esi + 4]
push dword [esi]
call fcn.004018c0
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
mov dword [esi + 4], eax
push esi
push edi
call fcn.00402340
mov ecx, dword [esi + 4]
mov eax, 0x66666667
sub ecx, dword [esi]
imul ecx
lea ecx, [ebp - 0x211]
sar edx, 3
mov eax, edx
shr eax, 0x1f
push ecx
add eax, edx
lea ecx, [ebp - 0x23c]
push eax
call fcn.00402850
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x211]
sub ecx, dword [esi]
push eax
mov eax, 0x66666667
mov dword [ebp - 4], 0
imul ecx
lea ecx, [ebp - 0x230]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.004028b0
mov ecx, dword [esi + 4]
mov eax, 0x66666667
sub ecx, dword [esi]
push dword [ebx + 0x34]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea eax, [ebp - 0x110]
push str.visible_ux_d
push eax
call fcn.004100f0
mov ecx, dword [esi + 4]
mov eax, 0x66666667
sub ecx, dword [esi]
push dword [ebx + 0x34]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea eax, [ebp - 0x210]
push str.offset_ux_d
push eax
call fcn.004100f0
mov eax, dword [ebp - 0x238]
add esp, 0x20
mov ecx, dword [ebp - 0x23c]
sub eax, ecx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x22c]
sub eax, dword [ebp - 0x230]
and eax, 0xfffffffc
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x21c]
push eax
push ecx
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0x110]
push eax
push dword [ebx + 0xc4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411d4d
cmp dword [ebp - 0x218], 3
jne 0x411d4d
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x230]
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0x210]
push eax
push dword [ebx + 0xc4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411d4d
cmp dword [ebp - 0x218], 3
jne 0x411d4d
mov ecx, dword [esi + 4]
mov eax, 0x66666667
sub ecx, dword [esi]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x21c], eax
jne 0x411d4d
shl eax, 2
cmp dword [ebp - 0x220], eax
jne 0x411d4d
xor edx, edx
test edi, edi
jle 0x411d79
xor ebx, ebx
mov ecx, dword [esi]
lea ebx, [ebx + 0x14]
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + edx*4]
mov dword [ebx + ecx - 0x10], eax
mov eax, dword [ebp - 0x23c]
cmp byte [eax + edx], 0
mov eax, dword [esi]
setne cl
inc edx
mov byte [ebx + eax - 0x14], cl
cmp edx, edi
jl 0x411d21
jmp 0x411d73
xor edx, edx
test edi, edi
jle 0x411d79
xor ebx, ebx
mov eax, dword [esi]
lea ebx, [ebx + 0x14]
cmp edx, 0x66
setb cl
inc edx
mov dword [ebx + eax - 0x10], 0
mov eax, dword [esi]
mov byte [ebx + eax - 0x14], cl
cmp edx, edi
jl 0x411d55
mov ebx, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x230]
test ecx, ecx
je 0x411db6
mov edx, dword [ebp - 0x228]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x411dac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e4d
push edx
push ecx
call fcn.004135cf
add esp, 8
mov ecx, dword [ebp - 0x23c]
test ecx, ecx
je 0x411dec
mov edx, dword [ebp - 0x234]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x411de2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e52
push edx
push ecx
call fcn.004135cf
add esp, 8
mov eax, dword [ebx + 0x38]
mov ecx, ebx
mov dword [ebx + 0xac], eax
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0xb0], eax
mov eax, dword [ebx + 0xb8]
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc0], 1
call fcn.00410d20
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413a6c
mov esp, ebp
pop ebp
ret 8
call fcn.00417569
call fcn.00417569
int3