Function at 0x403ee0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d5c5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b0
mov eax, dword [0x429040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x426490
lea eax, [ebp - 0x1c0]
push eax
call fcn.00403d90
mov esi, eax
lea edi, [ebp - 0x128]
mov ecx, 0x25
lea eax, [ebp - 0x128]
rep movsd dword es:[edi], dword [esi]
xorps xmm0, xmm0
lea edx, [eax + 2]
add esp, 4
movsw word es:[edi], word [esi]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403f72
sub eax, edx
lea ecx, [ebp - 0x50]
sar eax, 1
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00409b10
push dword [ebp - 0x38]
lea edx, [ebp - 0x50]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00409730
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x403fe7
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403fdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404178
push ecx
push edx
call fcn.0040b482
add esp, 8
mov edi, dword [sym.imp.USER32.dll_CharLowerW]
xor eax, eax
push 0x41
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 4
call edi
movzx edx, ax
mov ecx, 0x426474
lea eax, [ebp - 0x90]
push eax
call fcn.00403e00
add esp, 4
cmp dword [ebp - 0x20], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x6c], xmm0
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x1c]
movzx eax, word [eax + 0x14]
push ecx
lea ecx, [ebp - 0x18]
mov word [ebp - 0x58], ax
push ecx
push 0
push 0x20000010
lea ecx, [ebp - 0x6c]
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
or dword [ebp - 0x18], 0x100
push 0x41
call edi
movzx edx, ax
mov ecx, 0x42645c
lea eax, [ebp - 0x90]
push eax
call fcn.00403e00
add esp, 4
cmp dword [ebp - 0x20], 7
movups xmm0, xmmword [eax]
push 4
movups xmmword [ebp - 0x6c], xmm0
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x18]
movzx eax, word [eax + 0x14]
push ecx
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x6c]
push 4
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov esi, eax
test esi, esi
jne 0x404122
push 0x41
call edi
movzx edx, ax
mov ecx, 0x426440
lea eax, [ebp - 0x70]
push eax
call fcn.00403e70
add esp, 4
lea ecx, [ebp - 0x90]
cmp dword [ebp - 0x20], 7
movups xmm0, xmmword [eax]
push 0x24
push str.SecureUxTheme.dll
movups xmmword [ebp - 0x90], xmm0
push 1
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x80], xmm0
mov ax, word [eax + 0x18]
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov esi, eax
mov ecx, dword [ebp - 0x20]
cmp ecx, 7
jbe 0x404158
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40414e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40417d
push ecx
push edx
call fcn.0040b482
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040b474
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040ecac
call fcn.0040ecac
int3