Function at 0x403670
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 0x41c28b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3b0
mov eax, dword [0x428014]
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 - 0x26c], ecx
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x96
movzx edi, ax
lea eax, [ebp - 0x328]
push 0
push eax
call fcn.0040cde0
add esp, 0xc
xor esi, esi
nop word [eax + eax]
mov ecx, edi
test esi, esi
je 0x4036fa
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x425a28]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x328], ax
inc esi
cmp esi, 0x4b
jb 0x4036e0
mov ecx, 0x25
mov dword [ebp - 0x268], 0
lea esi, [ebp - 0x328]
mov dword [ebp - 0x258], 0
lea edi, [ebp - 0x3c0]
mov dword [ebp - 0x254], 7
rep movsd dword es:[edi], dword [esi]
xor eax, eax
lea ecx, [ebp - 0x3c0]
mov word [ebp - 0x268], ax
lea edx, [ecx + 2]
movsw word es:[edi], word [esi]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403760
sub ecx, edx
lea eax, [ebp - 0x3c0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.004096e0
push dword [ebp - 0x26c]
lea edx, [ebp - 0x268]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.00409380
add esp, 4
mov edx, dword [ebp - 0x254]
cmp edx, 8
jb 0x4037e3
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4037d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a1d
push edx
push ecx
call fcn.0040b069
add esp, 8
push 0x41
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 4
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x290], xmm0
mov dword [ebp - 0x280], 0
xor esi, esi
mov word [ebp - 0x27c], 0
mov ecx, edi
test esi, esi
je 0x40383b
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x425a10]
xor ax, cx
mov word [ebp + esi*2 - 0x290], ax
inc esi
cmp esi, 0xb
jb 0x403821
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x228]
cmp dword [ebp - 0x230], 8
movups xmm0, xmmword [ebp - 0x290]
push ecx
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x224]
mov ax, word [ebp - 0x27c]
push ecx
push 0
mov word [ebp - 0x250], ax
lea ecx, [ebp - 0x264]
push 0x20000010
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movups xmmword [ebp - 0x264], xmm0
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push 0x41
mov dword [ebp - 0x22c], 0x202
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x268], xmm0
xor esi, esi
mov word [ebp - 0x250], 0
movq qword [ebp - 0x258], xmm0
nop word [eax + eax]
mov ecx, edi
test esi, esi
je 0x40390a
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x4259f4]
xor ax, cx
mov word [ebp + esi*2 - 0x268], ax
inc esi
cmp esi, 0xd
jb 0x4038f0
mov ax, word [ebp - 0x250]
lea ecx, [ebp - 0x22c]
movups xmm0, xmmword [ebp - 0x268]
cmp dword [ebp - 0x230], 8
push ecx
lea ecx, [ebp - 0x220]
mov word [ebp - 0x278], ax
push ecx
push 0
push 0x20000002
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
push ecx
movups xmmword [ebp - 0x290], xmm0
push eax
movq xmm0, qword [ebp - 0x258]
push reloc.OLEAUT32.dll_SysReAllocString
movq qword [ebp - 0x280], xmm0
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test dword [ebp - 0x224], 0x100
je 0x4039b6
lea eax, [ebp - 0x220]
push str.SecureUxTheme.dll
push eax
call fcn.0040ffe3
add esp, 8
mov byte [ebp - 0x245], 1
test eax, eax
je 0x4039bd
mov byte [ebp - 0x245], 0
mov edx, dword [ebp - 0x230]
cmp edx, 8
jb 0x4039f9
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4039ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a22
push edx
push ecx
call fcn.0040b069
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.0040b05b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040e6bc
call fcn.0040e6bc
int3