Function at 0x4053c0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xaac
mov word [ebp - 0xa60], ax
mov eax, dword [0x416678]
mov dword [ebp - 0xa70], 0x280020
mov dword [ebp - 0xa5c], eax
lea eax, [ebp - 0xa90]
mov dword [ebp - 0xa6c], 0x730025
mov dword [ebp - 0xa68], 0x250020
mov dword [ebp - 0xa64], 0x290073
mov dword [ebp - 0xa7c], 0x730025
mov dword [ebp - 0xa78], 0x25005c
mov dword [ebp - 0xa74], 0x73
mov dword [ebp - 0xa54], 5
mov dword [ebp - 0xa40], 0x100
mov dword [ebp - 0xa58], 0xffff0001
mov dword [esp + 8], eax
mov dword [esp + 4], str.TypeLib_
mov dword [esp], 0x80000000
call sym._RegOpenKeyW_12
sub esp, 0xc
test eax, eax
jne 0x40567a
mov dword [ebp - 0xaa0], 0xffffffff
lea edi, [ebp - 0x818]
lea esi, [esi]
add dword [ebp - 0xaa0], 1
mov eax, dword [ebp - 0xaa0]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa90]
mov dword [esp], eax
call sym._RegEnumKeyW_16
sub esp, 0x10
test eax, eax
jne 0x405640
lea eax, [ebp - 0xa8c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa90]
mov dword [esp], eax
call sym._RegOpenKeyW_12
sub esp, 0xc
test eax, eax
jne 0x405480
mov esi, 0xffffffff
lea ebx, [ebp - 0xa18]
lea esi, [esi]
add esi, 1
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov eax, dword [ebp - 0xa8c]
mov dword [esp], eax
call sym._RegEnumKeyW_16
sub esp, 0x10
test eax, eax
jne 0x405620
lea eax, [ebp - 0xa88]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa8c]
mov dword [esp], eax
call sym._RegOpenKeyW_12
sub esp, 0xc
test eax, eax
jne 0x4054e8
mov dword [ebp - 0xa80], 0x200
lea eax, [ebp - 0xa80]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xa88]
mov dword [esp], eax
call sym._RegQueryValueW_16
sub esp, 0x10
test eax, eax
jne 0x405580
cmp word [ebp - 0x618], 0
jne 0x405688
lea eax, [ebp - 0x418]
mov dword [ebp - 0xa44], ebx
mov dword [ebp - 0xa9c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0xaa4], eax
mov eax, dword [ebp - 0xa88]
mov dword [esp], eax
call sym._RegCloseKey_4
lea eax, [ebp - 0xa7c]
sub esp, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa9c]
mov dword [esp], eax
call sym._wsprintfW
mov ecx, dword [ebp - 0xaa4]
mov eax, 2
mov dword [esp], ecx
mov edx, dword [ebp - 0xa9c]
mov ecx, edi
call sym._CreateITEM_INFO
mov dword [ebp - 0xa30], eax
lea eax, [ebp - 0xa5c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov eax, dword [0x416030]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x4054e8
mov eax, dword [ebp - 0xa8c]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
jmp 0x405480
mov eax, dword [ebp - 0xa90]
mov dword [esp], eax
call sym._RegCloseKey_4
mov eax, dword [0x416678]
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1113
mov eax, dword [0x416030]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x418]
mov dword [esp + 0xc], 0x100
mov dword [ebp - 0xa9c], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0xdd
mov eax, dword [0x41603c]
mov dword [esp], eax
call sym._LoadStringW_16
lea eax, [ebp - 0x618]
sub esp, 0x10
cmp word [ebp - 0x618], 0
je 0x4056d9
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x4056d0
mov dword [esp + 0xc], ebx
mov edx, dword [ebp - 0xa9c]
mov dword [esp], eax
mov dword [esp + 8], edx
lea edx, [ebp - 0xa70]
mov dword [esp + 4], edx
call sym._wsprintfW
lea eax, [ebp - 0x618]
mov dword [ebp - 0xa80], 0x100
mov dword [ebp - 0xa44], eax
lea eax, [ebp - 0xa84]
mov dword [esp + 8], eax
mov dword [esp + 4], str.0win32
mov eax, dword [ebp - 0xa88]
mov dword [esp], eax
call sym._RegOpenKeyW_12
lea eax, [ebp - 0xa80]
sub esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0xaa4], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xa84]
mov dword [esp], eax
call sym._RegQueryValueW_16
mov eax, dword [ebp - 0xa84]
sub esp, 0x10
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
jmp 0x40559e