Function at 0x403a30
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 0x41c2d5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a0
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 - 0x7c], ecx
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x96
movzx edi, ax
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0040cde0
add esp, 0xc
xor esi, esi
mov ecx, edi
test esi, esi
je 0x403ab1
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 - 0x118], ax
inc esi
cmp esi, 0x4b
jb 0x403a97
mov ecx, 0x25
mov dword [ebp - 0x58], 0
lea esi, [ebp - 0x118]
mov dword [ebp - 0x48], 0
lea edi, [ebp - 0x1b0]
mov dword [ebp - 0x44], 7
rep movsd dword es:[edi], dword [esi]
xor eax, eax
lea ecx, [ebp - 0x1b0]
mov word [ebp - 0x58], ax
lea edx, [ecx + 2]
movsw word es:[edi], word [esi]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403b06
sub ecx, edx
lea eax, [ebp - 0x1b0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.004096e0
push dword [ebp - 0x7c]
lea edx, [ebp - 0x58]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00409380
add esp, 4
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x403b77
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403b6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403d96
push edx
push ecx
call fcn.0040b069
add esp, 8
push 0x41
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 4
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0
xor esi, esi
mov word [ebp - 0x64], 0
mov ecx, edi
test esi, esi
je 0x403bc0
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 - 0x78], ax
inc esi
cmp esi, 0xb
jb 0x403ba6
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x1c]
cmp dword [ebp - 0x20], 8
movups xmm0, xmmword [ebp - 0x78]
push ecx
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x18]
mov ax, word [ebp - 0x64]
push ecx
push 0
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x54]
push 0x20000010
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movups xmmword [ebp - 0x54], xmm0
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
or dword [ebp - 0x18], 0x100
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0
xor esi, esi
mov word [ebp - 0x64], 0
nop
mov ecx, edi
test esi, esi
je 0x403c5a
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 - 0x78], ax
inc esi
cmp esi, 0xb
jb 0x403c40
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x20], 8
movups xmm0, xmmword [ebp - 0x78]
push 4
mov dword [ebp - 0x44], eax
mov ax, word [ebp - 0x64]
push ecx
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x54]
push 4
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movups xmmword [ebp - 0x54], xmm0
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov esi, eax
test esi, esi
jne 0x403d40
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x40], si
movq qword [ebp - 0x48], xmm0
nop
mov ecx, edi
test esi, esi
je 0x403cea
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 - 0x58], ax
inc esi
cmp esi, 0xd
jb 0x403cd0
mov ax, word [ebp - 0x40]
lea ecx, [ebp - 0x78]
movups xmm0, xmmword [ebp - 0x58]
cmp dword [ebp - 0x20], 8
push 0x24
push str.SecureUxTheme.dll
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push 1
push ecx
movups xmmword [ebp - 0x78], xmm0
push eax
movq xmm0, qword [ebp - 0x48]
push reloc.OLEAUT32.dll_SysReAllocString
movq qword [ebp - 0x68], xmm0
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov esi, eax
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x403d76
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403d6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403d9b
push edx
push ecx
call fcn.0040b069
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.0040b05b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040e6bc
call fcn.0040e6bc
int3