Function at 0x4026c0
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, 0xabc
mov word [ebp - 0xa5e], ax
mov eax, dword [0x40e618]
mov dword [ebp - 0xa6e], 0x280020
mov dword [ebp - 0xa5c], eax
lea eax, [ebp - 0xa90]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.advapi32.dll_RegOpenKeyW]
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
mov dword [esp + 4], str.TypeLib_
mov dword [esp], 0x80000000
mov dword [ebp - 0xaa0], eax
call eax
sub esp, 0xc
test eax, eax
jne 0x40299c
mov dword [ebp - 0xaa4], 0xffffffff
lea edi, [ebp - 0x818]
lea esi, [esi]
inc dword [ebp - 0xaa4]
mov eax, dword [ebp - 0xaa4]
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa90]
mov dword [esp + 8], edi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyW]
sub esp, 0x10
test eax, eax
jne 0x402960
lea eax, [ebp - 0xa8c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa90]
mov dword [esp], eax
mov eax, dword [ebp - 0xaa0]
call eax
sub esp, 0xc
test eax, eax
jne 0x402788
mov esi, 0xffffffff
lea ebx, [ebp - 0xa18]
nop
mov eax, dword [ebp - 0xa8c]
inc esi
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyW]
sub esp, 0x10
test eax, eax
jne 0x402948
lea eax, [ebp - 0xa88]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa8c]
mov dword [esp], eax
mov eax, dword [ebp - 0xaa0]
call eax
sub esp, 0xc
test eax, eax
jne 0x4027f0
lea eax, [ebp - 0xa80]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa88]
mov dword [ebp - 0xa80], 0x200
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegQueryValueW]
mov dword [ebp - 0xab0], eax
call eax
sub esp, 0x10
test eax, eax
jne 0x402892
cmp word [ebp - 0x618], 0
jne 0x4029a8
lea eax, [ebp - 0x418]
mov dword [ebp - 0xa44], ebx
mov dword [ebp - 0xa9c], eax
mov eax, dword [sym.imp.user32.dll_wsprintfW]
mov dword [ebp - 0xaac], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0xaa8], eax
mov eax, dword [ebp - 0xa88]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0xa7a]
mov ecx, dword [ebp - 0xaac]
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa9c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp], eax
call ecx
mov ecx, dword [ebp - 0xaa8]
mov edx, dword [ebp - 0xa9c]
mov eax, 2
mov dword [esp], ecx
mov ecx, edi
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 [0x40e330]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x4027f0
mov eax, dword [ebp - 0xa8c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x402788
mov eax, dword [ebp - 0xa90]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [0x40e618]
sub esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [0x40e330]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1113
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
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 eax, dword [0x40e33c]
mov dword [esp + 4], 0xdd
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
lea eax, [ebp - 0x618]
sub esp, 0x10
cmp word [ebp - 0x618], 0
je 0x4029f9
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4029f0
mov edx, dword [ebp - 0xa9c]
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_wsprintfW]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
lea edx, [ebp - 0xa6e]
mov dword [esp + 4], edx
mov dword [ebp - 0xaac], eax
call eax
lea eax, [ebp - 0x618]
mov dword [esp + 4], str.0win32
mov dword [ebp - 0xa44], eax
lea eax, [ebp - 0xa84]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa88]
mov dword [ebp - 0xa80], 0x100
mov dword [esp], eax
mov eax, dword [ebp - 0xaa0]
call eax
lea eax, [ebp - 0xa80]
sub esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0xaa8], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa84]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xab0]
call eax
mov eax, dword [ebp - 0xa84]
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x4028bb