Function at 0x401000
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
lea esi, [esi]
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 0x40149d
cmp dword [ebp - 0x8a0], 3
mov ebx, dword [sym.imp.user32.dll_wsprintfW]
je 0x401400
mov edx, dword [ebp - 0x8a8]
lea eax, [ebp - 0x618]
test edx, edx
je 0x4013d8
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 [0x41b008]
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
add dword [ebp - 0x8bc], 1
mov dword [ebp - 0x8c4], eax
mov eax, dword [ebp + 8]
sub esp, 0x10
test eax, eax
je 0x401100
mov eax, dword [str.AppID]
cmp dword [ebp - 0x818], eax
jne 0x401100
mov eax, dword [0x40f0a4]
cmp dword [ebp - 0x814], eax
jne 0x401100
mov eax, dword [0x40f0a8]
cmp dword [ebp - 0x810], eax
jne 0x401100
xor eax, eax
movzx edx, word [ebp + eax - 0x818]
mov word [ebp + eax - 0x418], dx
add eax, 2
test dx, dx
jne 0x401240
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 0x40128f
movzx edx, word [eax + 0x40f094]
mov word [ebp + eax - 0x618], dx
add eax, 2
test dx, dx
jne 0x401288
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 0x401100
mov eax, dword [0x41b008]
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 [0x41b008]
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 [0x41b008]
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 0x401100
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 0x4011c6
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 eax, edi
jne 0x401410
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 0x401458
xor eax, eax
mov edx, 0x2e
jmp 0x401488
movzx edx, word [ebp + eax - 0x89a]
mov word [ebp + eax - 0x422], dx
add eax, 2
test dx, dx
jne 0x401480
jmp 0x401185
mov ebx, dword [ebp - 0x8bc]
test ebx, ebx
jne 0x4014d0
mov eax, dword [ebp - 0x8c8]
cmp word [eax], 0
je 0x4014d0
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x4014b8
sub eax, dword [ebp - 0x8c8]
cmp eax, 2
jg 0x401ad0
mov ebx, 0xffffffff
lea edi, [ebp - 0x8ac]
mov esi, dword [ebp - 0x8c0]
lea eax, [ebp - 0x818]
add ebx, 1
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 0x401597
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 0x4014db
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 dbg.CreateRegRec
mov eax, dword [0x41b008]
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 0x40159f
mov edx, dword [ebp - 0x8ac]
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [esp], edx
call esi
sub esp, 4
jmp 0x4014db
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [str.ProgID]
cmp dword [ebp - 0x818], eax
je 0x401a8c
mov eax, 1
mov edx, dword [ebp - 0x8ac]
test eax, eax
je 0x4019f8
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 0x40160e
mov ecx, dword [ebp - 0x818]
cmp ecx, dword [0x40f03c]
je 0x4017f8
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x40158a
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], 0x40f094
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], 0x40f094
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 [0x41b008]
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 [0x40f094]
lea ecx, [ebp - 0x618]
mov edx, 0x5c
mov dword [esp + 4], ecx
mov dword [ebp - 0x618], eax
mov eax, dword [0x40f098]
mov dword [esp + 8], edi
mov dword [ebp - 0x614], eax
mov eax, dword [0x40f09c]
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 dbg.CreateRegRec
mov eax, dword [ebp - 0x85c]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov dword [esp + 0xc], eax
mov eax, dword [0x41b008]
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 0x40158a
mov eax, dword [ebp - 0x814]
mov dword [ebp - 0x8c8], eax
cmp eax, dword [0x40f040]
jne 0x401603
mov eax, dword [ebp - 0x810]
mov dword [ebp - 0x8d0], eax
cmp eax, dword [0x40f044]
jne 0x401603
mov eax, dword [ebp - 0x80c]
mov dword [ebp - 0x8d4], eax
cmp eax, dword [0x40f048]
jne 0x401603
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], 0x40f03c
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], 0x40f03c
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 [0x41b008]
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 0x4017a3
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 0x4014db
mov dword [esp], 0
mov eax, dword [ebp - 0x8ac]
mov edx, 0xffff0000
lea ecx, [ebp - 0x618]
call dbg.CreateRegRec
mov edx, dword [ebp - 0x8ac]
jmp 0x40158a
mov eax, dword [0x40f088]
cmp dword [ebp - 0x814], eax
jne 0x4015b0
mov eax, dword [0x40f08c]
cmp dword [ebp - 0x810], eax
jne 0x4015b0
movzx eax, word [0x40f090]
cmp word [ebp - 0x80c], ax
jne 0x4015b0
xor eax, eax
jmp 0x4015b5
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 [0x41b008]
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 0x4014d0