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
mov edi, edx
push esi
xor esi, esi
push ebx
sub esp, 0x8dc
mov dword [ebp - 0x8c0], eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x8c8], edx
mov dword [ebp - 0x8c4], 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 - 0x8bc], 0
jmp 0x40117a
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x818]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c4]
mov dword [esp + 8], eax
lea eax, [ebp - 0x876]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call sym._wsprintfW
mov eax, dword [0x418008]
lea esi, [ebp - 0x85c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call sym._SendMessageW_16
mov edi, eax
mov eax, dword [ebp + 8]
sub esp, 0x10
test eax, eax
je 0x401173
cmp dword [ebp - 0x818], 0x700041
je 0x401240
add dword [ebp - 0x8bc], 1
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 sym._RegEnumValueW_32
sub esp, 0x20
test eax, eax
jne 0x4014a5
cmp dword [ebp - 0x8a0], 3
je 0x401400
mov edx, dword [ebp - 0x8a8]
lea eax, [ebp - 0x618]
test edx, edx
jne 0x401100
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c4]
mov dword [esp + 8], eax
lea eax, [ebp - 0x886]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call sym._wsprintfW
jmp 0x401130
cmp dword [ebp - 0x814], 0x490070
jne 0x401173
cmp dword [ebp - 0x810], 0x44
jne 0x401173
xor eax, eax
nop
movzx edx, word [ebp + eax - 0x818]
mov word [ebp + eax - 0x418], dx
add eax, 2
test dx, dx
jne 0x401260
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 0x4012af
movzx edx, word [eax + 0x40f094]
mov word [ebp + eax - 0x618], dx
add eax, 2
test dx, dx
jne 0x4012a8
lea eax, [ebp - 0x8ac]
mov dword [esp], 0x80000000
mov ebx, 0x5c
mov dword [esp + 8], eax
lea eax, [ebp - 0x618]
mov dword [esp + 4], eax
mov word [ebp - 0x60e], bx
call sym._RegOpenKeyW_12
sub esp, 0xc
test eax, eax
jne 0x401173
mov eax, dword [0x418008]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [esp], eax
mov dword [ebp - 0x85c], 0xffff0000
call sym._SendMessageW_16
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 sym._RegQueryValueW_16
mov eax, dword [ebp - 0x8ac]
sub esp, 0x10
mov dword [esp], eax
call sym._RegCloseKey_4
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 sym._wsprintfW
mov eax, dword [0x418008]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [ebp - 0x85c]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [0x418008]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [ebp - 0x8c8]
sub esp, 0x10
mov dword [ebp - 0x85c], eax
jmp 0x401173
lea ebx, [ebp - 0x618]
lea edi, [ebp - 0x218]
lea esi, [ebp - 0x892]
lea esi, [esi]
movzx eax, byte [ebx]
mov dword [esp], edi
add edi, 6
add ebx, 2
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call sym._wsprintfW
lea eax, [ebp - 0x20]
cmp edi, eax
jne 0x401418
mov eax, dword [ebp - 0x8a4]
mov edx, 0xff
lea eax, [eax + eax*2]
cmp eax, edx
cmova eax, edx
xor ecx, ecx
mov word [ebp + eax*2 - 0x218], cx
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [ebp + eax - 0x218]
mov word [ebp + eax - 0x618], dx
add eax, 2
test dx, dx
jne 0x401460
xor eax, eax
mov edx, 0x2e
jmp 0x401490
movzx edx, word [ebp + eax - 0x89a]
mov word [ebp + eax - 0x422], dx
add eax, 2
test dx, dx
jne 0x401488
jmp 0x4011f8
mov ebx, dword [ebp - 0x8bc]
test ebx, ebx
jne 0x4014d8
mov eax, dword [ebp - 0x8c4]
cmp word [eax], 0
je 0x4014d8
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x4014c0
sub eax, dword [ebp - 0x8c4]
cmp eax, 2
jg 0x401a54
mov ebx, 0xffffffff
lea esi, [ebp - 0x8ac]
lea eax, [ebp - 0x818]
add ebx, 1
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c0]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._RegEnumKeyW_16
sub esp, 0x10
test eax, eax
jne 0x401988
mov eax, dword [ebp - 0x8c0]
lea ecx, [ebp - 0x818]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._RegOpenKeyW_12
sub esp, 0xc
test eax, eax
jne 0x4014e3
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x818]
mov edx, edi
mov dword [esp], eax
mov eax, dword [ebp - 0x8ac]
call dbg.CreateRegRec
mov eax, dword [0x418008]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov dword [esp], eax
call sym._SendMessageW_16
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
je 0x401972
cmp dword [ebp - 0x818], 0x720050
je 0x401a1f
mov eax, 1
mov edx, dword [ebp - 0x8ac]
test eax, eax
je 0x401990
lea eax, [ebp - 0x818]
mov dword [esp + 8], 0x22
mov dword [esp + 4], str.ProxyStubClsid32
mov dword [esp], eax
mov dword [ebp - 0x8bc], edx
call sym._memcmp
mov edx, dword [ebp - 0x8bc]
test eax, eax
je 0x4017a8
cmp dword [ebp - 0x818], 0x790054
jne 0x401978
cmp dword [ebp - 0x814], 0x650070
jne 0x401978
cmp dword [ebp - 0x810], 0x69004c
jne 0x401978
cmp dword [ebp - 0x80c], 0x62
jne 0x401978
lea eax, [ebp - 0x8a4]
mov dword [esp], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [ebp - 0x8a4], 0x200
call sym._RegQueryValueW_16
mov eax, dword [ebp - 0x8ac]
sub esp, 0x10
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x40f03c
mov dword [esp], 0x80000000
call sym._RegOpenKeyW_12
lea eax, [ebp - 0x8a8]
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 sym._RegQueryValueW_16
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 sym._wsprintfW
lea eax, [ebp - 0x85c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [0x418008]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call sym._SendMessageW_16
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp - 0x8ac]
sub esp, 0x10
mov dword [esp], eax
call sym._RegCloseKey_4
mov eax, dword [ebp - 0x8a4]
lea ecx, [ebp - 0x608]
sub esp, 4
mov dword [esp + 8], eax
lea eax, [ebp - 0x618]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov eax, dword [0x40f03c]
mov dword [esp + 8], esi
mov dword [esp], 0x80000000
mov dword [ebp - 0x618], eax
mov eax, dword [0x40f040]
mov dword [ebp - 0x614], eax
mov eax, dword [0x40f044]
mov dword [ebp - 0x610], eax
mov eax, dword [0x40f048]
mov dword [ebp - 0x60c], eax
mov eax, 0x5c
mov word [ebp - 0x60a], ax
lea eax, [ebp - 0x618]
mov dword [esp + 4], eax
call sym._RegOpenKeyW_12
lea ecx, [ebp - 0x608]
sub esp, 0xc
mov dword [esp], 0
jmp 0x40192b
lea eax, [ebp - 0x8a4]
mov dword [esp], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [ebp - 0x8a4], 0x200
call sym._RegQueryValueW_16
mov eax, dword [ebp - 0x8ac]
sub esp, 0x10
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x40f094
mov dword [esp], 0x80000000
call sym._RegOpenKeyW_12
lea eax, [ebp - 0x8a8]
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 sym._RegQueryValueW_16
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 sym._wsprintfW
lea eax, [ebp - 0x85c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [0x418008]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call sym._SendMessageW_16
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp - 0x8ac]
sub esp, 0x10
mov dword [esp], eax
call sym._RegCloseKey_4
mov eax, dword [ebp - 0x8a4]
lea ecx, [ebp - 0x60c]
sub esp, 4
mov dword [esp + 8], eax
lea eax, [ebp - 0x618]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov eax, dword [0x40f094]
mov dword [esp + 8], esi
mov edx, 0x5c
mov dword [esp], 0x80000000
mov dword [ebp - 0x618], eax
mov eax, dword [0x40f098]
mov dword [ebp - 0x614], eax
mov eax, dword [0x40f09c]
mov dword [ebp - 0x610], eax
lea eax, [ebp - 0x618]
mov dword [esp + 4], eax
mov word [ebp - 0x60e], dx
call sym._RegOpenKeyW_12
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 [0x418008]
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [ebp - 0x8c8]
sub esp, 0x10
mov dword [ebp - 0x85c], eax
mov edx, dword [ebp - 0x8ac]
mov dword [esp], edx
call sym._RegCloseKey_4
sub esp, 4
jmp 0x4014e3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x8a4]
mov dword [esp], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [ebp - 0x8a4], 0x200
call sym._RegQueryValueW_16
mov eax, dword [ebp - 0x8ac]
sub esp, 0x10
mov dword [esp], eax
call sym._RegCloseKey_4
lea eax, [ebp - 0x618]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 0x80000000
call sym._RegOpenKeyW_12
sub esp, 0xc
test eax, eax
jne 0x4014e3
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 0x401978
cmp dword [ebp - 0x814], 0x67006f
jne 0x401590
cmp dword [ebp - 0x810], 0x440049
jne 0x401590
xor eax, eax
cmp word [ebp - 0x80c], 0
je 0x401595
jmp 0x401590
mov eax, dword [ebp - 0x8c4]
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 [0x418008]
mov dword [esp], eax
call sym._SendMessageW_16
mov edi, eax
lea eax, [ebp - 0x418]
sub esp, 0x10
mov dword [ebp - 0x844], eax
jmp 0x4014d8