Function at 0x402760
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, 0xa9c
mov word [ebp - 0xa52], ax
mov eax, dword [0x40e618]
mov dword [ebp - 0xa62], 0x280020
mov dword [ebp - 0xa50], eax
lea eax, [ebp - 0xa84]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.advapi32.dll_RegOpenKeyW]
mov dword [ebp - 0xa5e], 0x730025
mov dword [ebp - 0xa5a], 0x250020
mov dword [ebp - 0xa56], 0x290073
mov dword [ebp - 0xa6e], 0x730025
mov dword [ebp - 0xa6a], 0x25005c
mov dword [ebp - 0xa66], 0x73
mov dword [ebp - 0xa48], 5
mov dword [ebp - 0xa34], 0x100
mov dword [ebp - 0xa4c], 0xffff0001
mov dword [esp + 4], str.TypeLib_
mov dword [esp], 0x80000000
mov dword [ebp - 0xa8c], eax
call eax
sub esp, 0xc
test eax, eax
jne 0x402aa3
mov dword [ebp - 0xa90], 0xffffffff
lea ebx, [ebp - 0x80c]
lea esi, [esi]
inc dword [ebp - 0xa90]
mov eax, dword [ebp - 0xa90]
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa84]
mov dword [esp + 8], ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyW]
sub esp, 0x10
test eax, eax
jne 0x402a67
lea eax, [ebp - 0xa80]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa84]
mov dword [esp], eax
mov eax, dword [ebp - 0xa8c]
call eax
sub esp, 0xc
test eax, eax
jne 0x402828
mov dword [ebp - 0xa88], 0xffffffff
nop
inc dword [ebp - 0xa88]
mov eax, dword [ebp - 0xa88]
lea esi, [ebp - 0xa0c]
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa80]
mov dword [esp + 8], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyW]
sub esp, 0x10
test eax, eax
jne 0x402a50
lea eax, [ebp - 0xa7c]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa80]
mov dword [esp], eax
mov eax, dword [ebp - 0xa8c]
call eax
sub esp, 0xc
test eax, eax
jne 0x402890
lea eax, [ebp - 0xa74]
lea esi, [ebp - 0x60c]
mov dword [ebp - 0xa74], 0x200
mov edi, dword [sym.imp.advapi32.dll_RegQueryValueW]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xa7c]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
sub esp, 0x10
test eax, eax
jne 0x40293e
cmp word [ebp - 0x60c], 0
jne 0x402aab
lea eax, [ebp - 0xa0c]
lea edx, [ebp - 0x40c]
mov dword [ebp - 0xa38], eax
mov eax, dword [sym.imp.user32.dll_wsprintfW]
lea esi, [ebp - 0x20c]
mov dword [ebp - 0xa98], eax
mov eax, dword [ebp - 0xa7c]
mov dword [ebp - 0xa94], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov edx, dword [ebp - 0xa94]
lea eax, [ebp - 0xa0c]
sub esp, 4
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xa6e]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa98]
mov dword [esp + 8], ebx
call eax
mov dword [esp + 4], 0x60c
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
mov edx, dword [ebp - 0xa94]
mov byte [eax], 2
mov ecx, eax
xor eax, eax
lea esi, [esi]
movzx edi, word [edx + eax]
mov word [ecx + eax + 2], di
add eax, 2
test di, di
jne 0x4029c8
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [ebx + eax]
mov word [ecx + eax + 0x202], dx
add eax, 2
test dx, dx
jne 0x4029e0
xor eax, eax
lea esi, [esi]
lea esi, [esi]
movzx edx, word [esi + eax]
mov word [ecx + eax + 0x402], dx
add eax, 2
test dx, dx
jne 0x402a00
lea eax, [ebp - 0xa50]
mov dword [ebp - 0xa24], ecx
mov dword [esp + 0xc], eax
mov eax, dword [0x40e330]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x402890
mov eax, dword [ebp - 0xa80]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x402828
mov eax, dword [ebp - 0xa84]
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
mov eax, dword [0x40e33c]
lea edx, [ebp - 0x40c]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], edx
mov dword [ebp - 0xa94], edx
mov dword [esp + 4], 0xdd
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
mov edx, dword [ebp - 0xa94]
mov eax, esi
sub esp, 0x10
cmp word [ebp - 0x60c], 0
je 0x402af9
nop
add eax, 2
cmp word [eax], 0
jne 0x402af0
mov dword [esp], eax
lea ecx, [ebp - 0xa0c]
mov eax, dword [sym.imp.user32.dll_wsprintfW]
mov dword [esp + 0xc], ecx
lea ecx, [ebp - 0xa62]
mov dword [esp + 8], edx
mov dword [ebp - 0xa94], edx
mov dword [esp + 4], ecx
mov dword [ebp - 0xa98], eax
call eax
lea eax, [ebp - 0xa78]
mov dword [ebp - 0xa38], esi
lea esi, [ebp - 0x20c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa7c]
mov dword [ebp - 0xa74], 0x100
mov dword [esp], eax
mov eax, dword [ebp - 0xa8c]
mov dword [esp + 4], str.0win32
call eax
lea eax, [ebp - 0xa74]
sub esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xa78]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0xa78]
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov edx, dword [ebp - 0xa94]
sub esp, 4
jmp 0x402961