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
mov ebx, edx
sub esp, 0x8dc
mov dword [ebp - 0x8c0], eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x8c8], edx
mov dword [ebp - 0x894], 0x300025
mov dword [ebp - 0x890], 0x580032
mov dword [ebp - 0x88c], 0x20
mov dword [ebp - 0x89c], 0x2e002e
mov dword [ebp - 0x898], 0x2e
mov dword [ebp - 0x878], 0x730025
mov dword [ebp - 0x874], 0x5b0020
mov dword [ebp - 0x870], 0x730025
mov dword [ebp - 0x86c], 0x20005d
mov dword [ebp - 0x868], 0x20003d
mov dword [ebp - 0x864], 0x730025
mov word [ebp - 0x860], si
mov dword [ebp - 0x888], 0x730025
mov dword [ebp - 0x884], 0x3d0020
mov dword [ebp - 0x880], 0x250020
mov dword [ebp - 0x87c], 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
mov dword [ebp - 0x8c4], ecx
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 - 0x878]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call sym._wsprintfW
lea esi, [ebp - 0x85c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0x1132
mov eax, dword [0x416008]
mov dword [esp], eax
call sym._SendMessageW_16
mov ebx, 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
mov dword [ebp - 0x8a8], 0x100
lea eax, [ebp - 0x8a4]
mov dword [ebp - 0x8a4], 0x200
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 + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8bc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c0]
mov dword [esp], eax
call sym._RegEnumValueW_32
sub esp, 0x20
test eax, eax
jne 0x40148d
cmp dword [ebp - 0x8a0], 3
je 0x4013f8
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 - 0x888]
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
lea esi, [esi]
nop
movzx edx, word [eax + 0x40f094]
mov word [ebp + eax - 0x618], dx
add eax, 2
test dx, dx
jne 0x4012a0
lea eax, [ebp - 0x8ac]
mov edi, 0x5c
mov word [ebp - 0x60e], di
mov dword [esp + 8], eax
lea eax, [ebp - 0x618]
mov dword [esp + 4], eax
mov dword [esp], 0x80000000
call sym._RegOpenKeyW_12
sub esp, 0xc
test eax, eax
jne 0x401173
mov dword [ebp - 0x85c], 0xffff0000
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov eax, dword [0x416008]
mov dword [esp], eax
call sym._SendMessageW_16
mov dword [ebp - 0x8a8], 0x200
mov dword [ebp - 0x85c], eax
sub esp, 0x10
lea eax, [ebp - 0x8a8]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x818]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x8ac]
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 - 0x888]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call sym._wsprintfW
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov eax, dword [0x416008]
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [ebp - 0x85c]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov eax, dword [0x416008]
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [ebp - 0x8c8]
sub esp, 0x10
mov dword [ebp - 0x85c], eax
jmp 0x401173
lea esi, [ebp - 0x618]
lea edi, [ebp - 0x218]
lea ebx, [ebp - 0x894]
lea esi, [esi]
movzx eax, byte [esi]
mov dword [esp], edi
add edi, 6
add esi, 2
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call sym._wsprintfW
lea eax, [ebp - 0x20]
cmp eax, edi
jne 0x401410
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
nop
movzx edx, word [ebp + eax - 0x218]
mov word [ebp + eax - 0x618], dx
add eax, 2
test dx, dx
jne 0x401450
xor eax, eax
lea esi, [esi]
movzx edx, word [ebp + eax - 0x89c]
mov word [ebp + eax - 0x422], dx
add eax, 2
test dx, dx
jne 0x401470
jmp 0x4011f8
mov edi, ebx
mov ebx, dword [ebp - 0x8bc]
mov ecx, dword [ebp - 0x8c4]
test ebx, ebx
jne 0x4014c4
cmp word [ecx], 0
je 0x4014c4
mov eax, ecx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x4014b0
sub eax, ecx
cmp eax, 2
jg 0x401a47
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 dword [esp + 4], ebx
mov eax, dword [ebp - 0x8c0]
mov dword [esp], eax
call sym._RegEnumKeyW_16
sub esp, 0x10
test eax, eax
jne 0x401978
lea ecx, [ebp - 0x818]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x8c0]
mov dword [esp], eax
call sym._RegOpenKeyW_12
sub esp, 0xc
test eax, eax
jne 0x4014cf
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 dword [esp + 0xc], edi
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov eax, dword [0x416008]
mov dword [esp], eax
call sym._SendMessageW_16
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
je 0x401962
cmp dword [ebp - 0x818], 0x720050
je 0x401980
mov eax, 1
mov edx, dword [ebp - 0x8ac]
test eax, eax
je 0x4019b8
lea eax, [ebp - 0x818]
mov dword [ebp - 0x8bc], edx
mov dword [esp + 8], 0x22
mov dword [esp + 4], str.ProxyStubClsid32
mov dword [esp], eax
call sym._memcmp
mov edx, dword [ebp - 0x8bc]
test eax, eax
je 0x401798
cmp dword [ebp - 0x818], 0x790054
jne 0x401968
cmp dword [ebp - 0x814], 0x650070
jne 0x401968
cmp dword [ebp - 0x810], 0x69004c
jne 0x401968
cmp dword [ebp - 0x80c], 0x62
jne 0x401968
mov dword [ebp - 0x8a4], 0x200
lea eax, [ebp - 0x8a4]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
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 dword [esp + 4], 0
mov eax, dword [ebp - 0x8ac]
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 - 0x888]
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 dword [esp + 4], 0x1132
mov eax, dword [0x416008]
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 [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 + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 0x80000000
call sym._RegOpenKeyW_12
lea ecx, [ebp - 0x608]
sub esp, 0xc
mov dword [esp], 0
jmp 0x40191b
mov dword [ebp - 0x8a4], 0x200
lea eax, [ebp - 0x8a4]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
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 dword [esp + 4], 0
mov eax, dword [ebp - 0x8ac]
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 - 0x888]
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 dword [esp + 4], 0x1132
mov eax, dword [0x416008]
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 edx, 0x5c
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 word [ebp - 0x60e], dx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 0x80000000
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 [0x416008]
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 0x4014cf
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebp - 0x814], 0x67006f
jne 0x40157c
cmp dword [ebp - 0x810], 0x440049
jne 0x40157c
xor eax, eax
cmp word [ebp - 0x80c], 0
je 0x401581
jmp 0x40157c
mov dword [ebp - 0x8a4], 0x200
lea eax, [ebp - 0x8a4]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
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 0x4014cf
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 0x401968
lea eax, [ebp - 0x85c]
mov dword [ebp - 0x844], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov eax, dword [0x416008]
mov dword [esp], eax
call sym._SendMessageW_16
mov edi, eax
lea eax, [ebp - 0x418]
sub esp, 0x10
mov dword [ebp - 0x844], eax
jmp 0x4014c4