Function at 0x403aa0
Capabilities:
Query or enumerate 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 0x41d57b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c8
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 - 0x24c], ecx
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x426560
lea eax, [ebp - 0x3d8]
push eax
call fcn.00403d90
mov esi, eax
lea edi, [ebp - 0x340]
mov ecx, 0x25
lea eax, [ebp - 0x340]
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 - 0x264], xmm0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403b40
sub eax, edx
lea ecx, [ebp - 0x264]
sar eax, 1
push eax
lea eax, [ebp - 0x340]
push eax
call fcn.00409b10
push dword [ebp - 0x24c]
lea edx, [ebp - 0x264]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.00409730
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x250]
cmp ecx, 7
jbe 0x403bc7
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403bbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403d82
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 - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], 4
call edi
movzx edx, ax
mov ecx, 0x426544
lea eax, [ebp - 0x2a8]
push eax
call fcn.00403e00
mov esi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
add esp, 4
cmp dword [ebp - 0x230], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x284], xmm0
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x274], ecx
lea ecx, [ebp - 0x228]
movzx eax, word [eax + 0x14]
push ecx
lea ecx, [ebp - 0x224]
mov word [ebp - 0x270], ax
push ecx
push 0
push 0x20000010
lea ecx, [ebp - 0x284]
lea eax, [ebp - 0x244]
cmova eax, dword [ebp - 0x244]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0x41
mov dword [ebp - 0x22c], 0x202
call edi
movzx edx, ax
mov ecx, 0x426528
lea eax, [ebp - 0x288]
push eax
call fcn.00403e70
add esp, 4
lea ecx, [ebp - 0x22c]
cmp dword [ebp - 0x230], 7
movups xmm0, xmmword [eax]
push ecx
lea ecx, [ebp - 0x220]
push ecx
movups xmmword [ebp - 0x2a8], xmm0
lea ecx, [ebp - 0x2a8]
movq xmm0, qword [eax + 0x10]
push 0
movq qword [ebp - 0x298], xmm0
movzx eax, word [eax + 0x18]
mov word [ebp - 0x290], ax
lea eax, [ebp - 0x244]
cmova eax, dword [ebp - 0x244]
push 0x20000002
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test dword [ebp - 0x224], 0x100
je 0x403d1b
lea eax, [ebp - 0x220]
push str.SecureUxTheme.dll
push eax
call fcn.004114c4
add esp, 8
mov byte [ebp - 0x245], 1
test eax, eax
je 0x403d22
mov byte [ebp - 0x245], 0
mov ecx, dword [ebp - 0x230]
cmp ecx, 7
jbe 0x403d5e
mov edx, dword [ebp - 0x244]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403d54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403d87
push ecx
push edx
call fcn.0040b482
add esp, 8
mov al, byte [ebp - 0x245]
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