Function at 0x4054c0
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 - 0xa5e], ax
mov eax, dword [0x418678]
mov dword [esp + 4], str.TypeLib_
mov dword [ebp - 0xa5c], eax
lea eax, [ebp - 0xa90]
mov dword [esp + 8], eax
mov dword [esp], 0x80000000
mov dword [ebp - 0xa6e], 0x280020
mov dword [ebp - 0xa6a], 0x730025
mov dword [ebp - 0xa66], 0x250020
mov dword [ebp - 0xa62], 0x290073
mov dword [ebp - 0xa7a], 0x730025
mov dword [ebp - 0xa76], 0x25005c
mov dword [ebp - 0xa72], 0x73
mov dword [ebp - 0xa54], 5
mov dword [ebp - 0xa40], 0x100
mov dword [ebp - 0xa58], 0xffff0001
call sym._RegOpenKeyW_12
sub esp, 0xc
test eax, eax
jne 0x40577a
mov dword [ebp - 0xa9c], 0xffffffff
lea esi, [esi]
nop
add dword [ebp - 0xa9c], 1
mov eax, dword [ebp - 0xa9c]
lea ecx, [ebp - 0x818]
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa90]
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym._RegEnumKeyW_16
sub esp, 0x10
test eax, eax
jne 0x405740
lea eax, [ebp - 0xa8c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x818]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa90]
mov dword [esp], eax
call sym._RegOpenKeyW_12
sub esp, 0xc
test eax, eax
jne 0x405580
mov ebx, 0xffffffff
lea esi, [ebp - 0xa18]
mov eax, dword [ebp - 0xa8c]
add ebx, 1
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._RegEnumKeyW_16
sub esp, 0x10
test eax, eax
jne 0x405728
lea eax, [ebp - 0xa88]
mov dword [esp + 4], esi
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 0x4055f0
lea eax, [ebp - 0xa80]
lea edi, [ebp - 0x618]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xa88]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [ebp - 0xa80], 0x200
call sym._RegQueryValueW_16
sub esp, 0x10
test eax, eax
jne 0x405688
cmp word [ebp - 0x618], 0
jne 0x405788
mov dword [ebp - 0xa44], esi
lea edx, [ebp - 0x418]
lea edi, [ebp - 0x218]
mov eax, dword [ebp - 0xa88]
mov dword [ebp - 0xaa0], edx
mov dword [esp], eax
call sym._RegCloseKey_4
mov edx, dword [ebp - 0xaa0]
lea eax, [ebp - 0x818]
sub esp, 4
mov dword [esp + 8], eax
lea eax, [ebp - 0xa7a]
mov dword [esp], edx
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
call sym._wsprintfW
mov dword [esp], edi
mov edx, dword [ebp - 0xaa0]
lea ecx, [ebp - 0x818]
mov eax, 2
call sym._CreateITEM_INFO
mov dword [esp + 8], 0
mov dword [ebp - 0xa30], eax
lea eax, [ebp - 0xa5c]
mov dword [esp + 0xc], eax
mov eax, dword [0x418030]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x4055f0
mov eax, dword [ebp - 0xa8c]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
jmp 0x405580
mov eax, dword [ebp - 0xa90]
mov dword [esp], eax
call sym._RegCloseKey_4
mov eax, dword [0x418678]
sub esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [0x418030]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1113
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x41803c]
lea edx, [ebp - 0x418]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], edx
mov dword [esp + 4], 0xdd
mov dword [esp], eax
mov dword [ebp - 0xaa0], edx
call sym._LoadStringW_16
mov edx, dword [ebp - 0xaa0]
mov eax, edi
sub esp, 0x10
cmp word [ebp - 0x618], 0
je 0x4057d9
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4057d0
lea ecx, [ebp - 0xa6e]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [ebp - 0xaa0], edx
call sym._wsprintfW
lea eax, [ebp - 0xa84]
mov dword [esp + 4], str.0win32
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa88]
mov dword [ebp - 0xa44], edi
lea edi, [ebp - 0x218]
mov dword [esp], eax
mov dword [ebp - 0xa80], 0x100
call sym._RegOpenKeyW_12
lea eax, [ebp - 0xa80]
sub esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xa84]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._RegQueryValueW_16
mov eax, dword [ebp - 0xa84]
sub esp, 0x10
mov dword [esp], eax
call sym._RegCloseKey_4
mov edx, dword [ebp - 0xaa0]
sub esp, 4
jmp 0x40569a