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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x8fc
mov dword [ebp - 0x8c0], eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x8cc], edx
mov dword [ebp - 0x8c8], ecx
mov dword [ebp - 0x892], 0x300025
mov dword [ebp - 0x88e], 0x580032
mov dword [ebp - 0x88a], 0x20
mov dword [ebp - 0x89a], 0x2e002e
mov dword [ebp - 0x896], 0x2e
mov dword [ebp - 0x876], 0x730025
mov dword [ebp - 0x872], 0x5b0020
mov dword [ebp - 0x86e], 0x730025
mov dword [ebp - 0x86a], 0x20005d
mov dword [ebp - 0x866], 0x20003d
mov dword [ebp - 0x862], 0x730025
mov word [ebp - 0x85e], si
mov dword [ebp - 0x886], 0x730025
mov dword [ebp - 0x882], 0x3d0020
mov dword [ebp - 0x87e], 0x250020
mov dword [ebp - 0x87a], 0x73
mov dword [ebp - 0x854], 1
mov dword [ebp - 0x840], 0x100
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x858], 0xffff0002
mov dword [ebp - 0x85c], edx
mov dword [ebp - 0x8c4], edx
mov dword [ebp - 0x8bc], 0
jmp 0x40442e
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x818]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c8]
mov dword [esp + 8], eax
lea eax, [ebp - 0x876]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call ebx
mov eax, dword [0x40e310]
lea edi, [ebp - 0x85c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], edi
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call esi
mov dword [ebp - 0x8c4], eax
mov eax, dword [ebp + 8]
sub esp, 0x10
test eax, eax
je 0x404428
mov eax, dword [str.AppID]
cmp dword [ebp - 0x818], eax
je 0x4044f0
inc dword [ebp - 0x8bc]
lea eax, [ebp - 0x8a4]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x618]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x8a0]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x8a8]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x818]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8bc]
mov dword [ebp - 0x8a8], 0x100
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c0]
mov dword [ebp - 0x8a4], 0x200
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
jne 0x40474d
cmp dword [ebp - 0x8a0], 3
mov ebx, dword [sym.imp.user32.dll_wsprintfW]
je 0x4046b0
mov edx, dword [ebp - 0x8a8]
lea eax, [ebp - 0x618]
test edx, edx
jne 0x4043b0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c8]
mov dword [esp + 8], eax
lea eax, [ebp - 0x886]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call ebx
jmp 0x4043dd
mov eax, dword [0x417c04]
cmp dword [ebp - 0x814], eax
jne 0x404428
mov eax, dword [0x417c08]
cmp dword [ebp - 0x810], eax
jne 0x404428
xor eax, eax
lea esi, [esi]
movzx edx, word [ebp + eax - 0x818]
mov word [ebp + eax - 0x418], dx
add eax, 2
test dx, dx
jne 0x404518
lea eax, [ebp - 0x618]
mov dword [esp + 8], 0x1f4
mov dword [esp + 4], eax
lea eax, [ebp - 0x60c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
xor eax, eax
mov edx, 0x43
jmp 0x404567
movzx edx, word [eax + 0x417c1c]
mov word [ebp + eax - 0x618], dx
add eax, 2
test dx, dx
jne 0x404560
mov eax, 0x5c
mov dword [esp], 0x80000000
mov word [ebp - 0x60e], ax
lea eax, [ebp - 0x8ac]
mov dword [esp + 8], eax
lea eax, [ebp - 0x618]
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x404428
mov eax, dword [0x40e310]
mov dword [esp + 0xc], edi
mov dword [ebp - 0x85c], 0xffff0000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call esi
mov dword [ebp - 0x8a8], 0x200
sub esp, 0x10
mov dword [ebp - 0x85c], eax
lea eax, [ebp - 0x8a8]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x818]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8ac]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueW]
mov eax, dword [ebp - 0x8ac]
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x818]
sub esp, 4
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x60c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x886]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call ebx
mov eax, dword [0x40e310]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x85c]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [0x40e310]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x8cc]
sub esp, 0x10
mov dword [ebp - 0x85c], eax
jmp 0x404428
lea esi, [ebp - 0x618]
lea edi, [ebp - 0x218]
lea esi, [esi]
movzx eax, byte [esi]
mov dword [esp], edi
add edi, 6
add esi, 2
mov dword [esp + 8], eax
lea eax, [ebp - 0x892]
mov dword [esp + 4], eax
call ebx
lea eax, [ebp - 0x20]
cmp edi, eax
jne 0x4046c0
mov eax, dword [ebp - 0x8a4]
mov edx, 0xff
lea eax, [eax + eax*2]
cmp eax, 0xff
cmova eax, edx
xor ecx, ecx
mov word [ebp + eax*2 - 0x218], cx
xor eax, eax
lea esi, [esi]
movzx edx, word [ebp + eax - 0x218]
mov word [ebp + eax - 0x618], dx
add eax, 2
test dx, dx
jne 0x404708
xor eax, eax
mov edx, 0x2e
jmp 0x404738
movzx edx, word [ebp + eax - 0x89a]
mov word [ebp + eax - 0x422], dx
add eax, 2
test dx, dx
jne 0x404730
jmp 0x4044b3
mov ebx, dword [ebp - 0x8bc]
test ebx, ebx
jne 0x404780
mov eax, dword [ebp - 0x8c8]
cmp word [eax], 0
je 0x404780
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x404768
sub eax, dword [ebp - 0x8c8]
cmp eax, 2
jg 0x404d78
mov ebx, 0xffffffff
lea edi, [ebp - 0x8ac]
mov esi, dword [ebp - 0x8c0]
lea eax, [ebp - 0x818]
inc ebx
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.advapi32.dll_RegEnumKeyW]
sub esp, 0x10
test eax, eax
jne 0x404845
lea eax, [ebp - 0x818]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x40478b
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x8c4]
lea ecx, [ebp - 0x818]
mov dword [esp], eax
mov eax, dword [ebp - 0x8ac]
mov edx, esi
call sym._CreateRegRec
mov eax, dword [0x40e310]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 2
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 4], 0x1102
mov dword [ebp - 0x8bc], eax
call eax
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
jne 0x40484d
mov edx, dword [ebp - 0x8ac]
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [esp], edx
call esi
sub esp, 4
jmp 0x40478b
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [str.ProgID]
cmp dword [ebp - 0x818], eax
je 0x404d34
mov eax, 1
mov edx, dword [ebp - 0x8ac]
test eax, eax
je 0x404ca0
lea eax, [ebp - 0x818]
mov dword [esp + 8], 0x22
mov dword [esp + 4], str.ProxyStubClsid32
mov dword [esp], eax
mov dword [ebp - 0x8c8], edx
call sym._memcmp
mov edx, dword [ebp - 0x8c8]
test eax, eax
je 0x4048bc
mov ecx, dword [ebp - 0x818]
cmp ecx, dword [0x417f84]
je 0x404aa6
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x404838
mov dword [esp], edx
lea eax, [ebp - 0x8a4]
mov edx, dword [sym.imp.advapi32.dll_RegQueryValueW]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [ebp - 0x8c8], edx
mov dword [ebp - 0x8a4], 0x200
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call edx
mov eax, dword [ebp - 0x8ac]
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 0x10
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp + 8], edi
mov dword [esp + 4], 0x417c1c
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea eax, [ebp - 0x8a8]
mov edx, dword [ebp - 0x8c8]
mov dword [ebp - 0x8a8], 0x200
sub esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x818]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8ac]
mov dword [esp + 4], 0
mov dword [esp], eax
call edx
lea eax, [ebp - 0x818]
mov dword [ebp - 0x85c], 0xffff0000
sub esp, 0x10
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x886]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp + 8], 0x417c1c
mov dword [esp], eax
call dword [sym.imp.user32.dll_wsprintfW]
lea eax, [ebp - 0x85c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [0x40e310]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
mov eax, dword [ebp - 0x8bc]
call eax
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp - 0x8ac]
sub esp, 0x10
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x8a4]
lea ecx, [ebp - 0x618]
sub esp, 4
mov dword [esp + 4], ecx
lea ecx, [ebp - 0x60c]
mov dword [esp], ecx
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov eax, dword [0x417c1c]
lea ecx, [ebp - 0x618]
mov edx, 0x5c
mov dword [esp + 4], ecx
mov dword [ebp - 0x618], eax
mov eax, dword [0x417c20]
mov dword [esp + 8], edi
mov dword [ebp - 0x614], eax
mov eax, dword [0x417c24]
mov dword [esp], 0x80000000
mov dword [ebp - 0x610], eax
mov word [ebp - 0x60e], dx
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea ecx, [ebp - 0x60c]
sub esp, 0xc
mov dword [esp], 0
mov edx, dword [ebp - 0x85c]
mov eax, dword [ebp - 0x8ac]
call sym._CreateRegRec
mov eax, dword [ebp - 0x85c]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov dword [esp + 0xc], eax
mov eax, dword [0x40e310]
mov dword [esp], eax
mov eax, dword [ebp - 0x8bc]
call eax
mov eax, dword [ebp - 0x8cc]
mov edx, dword [ebp - 0x8ac]
sub esp, 0x10
mov dword [ebp - 0x85c], eax
jmp 0x404838
mov eax, dword [ebp - 0x814]
mov dword [ebp - 0x8c8], eax
cmp eax, dword [0x417f88]
jne 0x4048b1
mov eax, dword [ebp - 0x810]
mov dword [ebp - 0x8d0], eax
cmp eax, dword [0x417f8c]
jne 0x4048b1
mov eax, dword [ebp - 0x80c]
mov dword [ebp - 0x8d4], eax
cmp eax, dword [0x417f90]
jne 0x4048b1
mov dword [esp], edx
lea eax, [ebp - 0x8a4]
mov edx, dword [sym.imp.advapi32.dll_RegQueryValueW]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [ebp - 0x8dc], ecx
mov dword [ebp - 0x8d8], edx
mov dword [ebp - 0x8a4], 0x200
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call edx
mov eax, dword [ebp - 0x8ac]
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 0x10
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp + 8], edi
mov dword [esp + 4], 0x417f84
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea eax, [ebp - 0x8a8]
mov edx, dword [ebp - 0x8d8]
mov dword [ebp - 0x8a8], 0x200
sub esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x818]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8ac]
mov dword [esp + 4], 0
mov dword [esp], eax
call edx
lea eax, [ebp - 0x818]
mov dword [ebp - 0x85c], 0xffff0000
sub esp, 0x10
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x886]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp + 8], 0x417f84
mov dword [esp], eax
call dword [sym.imp.user32.dll_wsprintfW]
lea eax, [ebp - 0x85c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [0x40e310]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
mov eax, dword [ebp - 0x8bc]
call eax
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp - 0x8ac]
sub esp, 0x10
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x8a4]
lea edx, [ebp - 0x608]
lea ecx, [ebp - 0x618]
sub esp, 4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov ecx, dword [ebp - 0x8dc]
mov dword [esp + 8], edi
mov eax, 0x5c
mov dword [esp], 0x80000000
mov dword [ebp - 0x618], ecx
mov ecx, dword [ebp - 0x8c8]
mov dword [ebp - 0x614], ecx
mov ecx, dword [ebp - 0x8d0]
mov dword [ebp - 0x610], ecx
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x60c], ecx
lea ecx, [ebp - 0x618]
mov dword [esp + 4], ecx
mov word [ebp - 0x60a], ax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea edx, [ebp - 0x608]
sub esp, 0xc
mov ecx, edx
mov dword [esp], 0
jmp 0x404a51
lea eax, [ebp - 0x8a4]
mov dword [esp], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [ebp - 0x8a4], 0x200
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call dword [sym.imp.advapi32.dll_RegQueryValueW]
mov eax, dword [ebp - 0x8ac]
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 0x10
mov dword [esp], eax
call esi
lea eax, [ebp - 0x618]
sub esp, 4
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x40478b
mov dword [esp], 0
mov eax, dword [ebp - 0x8ac]
mov edx, 0xffff0000
lea ecx, [ebp - 0x618]
call sym._CreateRegRec
mov edx, dword [ebp - 0x8ac]
jmp 0x404838
mov eax, dword [0x417ea8]
cmp dword [ebp - 0x814], eax
jne 0x40485e
mov eax, dword [0x417eac]
cmp dword [ebp - 0x810], eax
jne 0x40485e
movzx eax, word [0x417eb0]
cmp word [ebp - 0x80c], ax
jne 0x40485e
xor eax, eax
jmp 0x404863
mov eax, dword [ebp - 0x8c8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [ebp - 0x844], eax
lea eax, [ebp - 0x85c]
mov dword [esp + 0xc], eax
mov eax, dword [0x40e310]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x8c4], eax
lea eax, [ebp - 0x418]
sub esp, 0x10
mov dword [ebp - 0x844], eax
jmp 0x404780