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, 0x8d8
mov dword [ebp - 0x8a8], eax
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x8b4], edx
mov dword [ebp - 0x8b0], ecx
mov dword [ebp - 0x886], 0x300025
mov dword [ebp - 0x882], 0x580032
mov dword [ebp - 0x87e], 0x20
mov dword [ebp - 0x88e], 0x2e002e
mov dword [ebp - 0x88a], 0x2e
mov dword [ebp - 0x86a], 0x730025
mov dword [ebp - 0x866], 0x5b0020
mov dword [ebp - 0x862], 0x730025
mov dword [ebp - 0x85e], 0x20005d
mov dword [ebp - 0x85a], 0x20003d
mov dword [ebp - 0x856], 0x730025
mov word [ebp - 0x852], si
mov dword [ebp - 0x87a], 0x730025
mov dword [ebp - 0x876], 0x3d0020
mov dword [ebp - 0x872], 0x250020
mov dword [ebp - 0x86e], 0x73
mov dword [ebp - 0x848], 1
mov dword [ebp - 0x834], 0x100
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x84c], 0xffff0002
mov dword [ebp - 0x850], edx
mov dword [ebp - 0x8ac], edx
mov dword [ebp - 0x8a4], 0
jmp 0x401187
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x80c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8b0]
mov dword [esp + 8], eax
lea eax, [ebp - 0x86a]
mov dword [esp + 4], eax
lea eax, [ebp - 0x40c]
mov dword [esp], eax
call ebx
mov eax, dword [0x41b008]
lea edi, [ebp - 0x850]
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 - 0x8ac], eax
mov eax, dword [ebp + 8]
sub esp, 0x10
test eax, eax
je 0x401180
mov eax, dword [str.AppID]
cmp dword [ebp - 0x80c], eax
je 0x401250
add dword [ebp - 0x8a4], 1
lea eax, [ebp - 0x898]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x60c]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x894]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x89c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x80c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8a4]
mov dword [ebp - 0x89c], 0x100
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8a8]
mov dword [ebp - 0x898], 0x200
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
jne 0x4014ad
cmp dword [ebp - 0x894], 3
mov ebx, dword [sym.imp.user32.dll_wsprintfW]
je 0x401410
mov edx, dword [ebp - 0x89c]
lea eax, [ebp - 0x60c]
test edx, edx
jne 0x401108
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8b0]
mov dword [esp + 8], eax
lea eax, [ebp - 0x87a]
mov dword [esp + 4], eax
lea eax, [ebp - 0x40c]
mov dword [esp], eax
call ebx
jmp 0x401135
mov eax, dword [0x4100a4]
cmp dword [ebp - 0x808], eax
jne 0x401180
mov eax, dword [0x4100a8]
cmp dword [ebp - 0x804], eax
jne 0x401180
xor eax, eax
lea esi, [esi]
movzx edx, word [ebp + eax - 0x80c]
mov word [ebp + eax - 0x40c], dx
add eax, 2
test dx, dx
jne 0x401278
lea eax, [ebp - 0x60c]
mov dword [esp + 8], 0x1f4
mov dword [esp + 4], eax
lea eax, [ebp - 0x600]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
xor eax, eax
mov edx, 0x43
jmp 0x4012c7
movzx edx, word [eax + 0x410094]
mov word [ebp + eax - 0x60c], dx
add eax, 2
test dx, dx
jne 0x4012c0
mov eax, 0x5c
mov dword [esp], 0x80000000
mov word [ebp - 0x602], ax
lea eax, [ebp - 0x8a0]
mov dword [esp + 8], eax
lea eax, [ebp - 0x60c]
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x401180
mov eax, dword [0x41b008]
mov dword [esp + 0xc], edi
mov dword [ebp - 0x850], 0xffff0000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call esi
mov dword [ebp - 0x89c], 0x200
sub esp, 0x10
mov dword [ebp - 0x850], eax
lea eax, [ebp - 0x89c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x80c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8a0]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueW]
mov eax, dword [ebp - 0x8a0]
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x80c]
sub esp, 4
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x600]
mov dword [esp + 8], eax
lea eax, [ebp - 0x87a]
mov dword [esp + 4], eax
lea eax, [ebp - 0x40c]
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 - 0x850]
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 - 0x8b4]
sub esp, 0x10
mov dword [ebp - 0x850], eax
jmp 0x401180
lea esi, [ebp - 0x60c]
lea edi, [ebp - 0x20c]
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 - 0x886]
mov dword [esp + 4], eax
call ebx
lea eax, [ebp - 0x14]
cmp edi, eax
jne 0x401420
mov eax, dword [ebp - 0x898]
mov edx, 0xff
lea eax, [eax + eax*2]
cmp eax, 0xff
cmova eax, edx
xor ecx, ecx
mov word [ebp + eax*2 - 0x20c], cx
xor eax, eax
lea esi, [esi]
movzx edx, word [ebp + eax - 0x20c]
mov word [ebp + eax - 0x60c], dx
add eax, 2
test dx, dx
jne 0x401468
xor eax, eax
mov edx, 0x2e
jmp 0x401498
movzx edx, word [ebp + eax - 0x88e]
mov word [ebp + eax - 0x416], dx
add eax, 2
test dx, dx
jne 0x401490
jmp 0x40120c
mov ebx, dword [ebp - 0x8a4]
test ebx, ebx
jne 0x4014e0
mov eax, dword [ebp - 0x8b0]
cmp word [eax], 0
je 0x4014e0
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x4014c8
sub eax, dword [ebp - 0x8b0]
cmp eax, 2
jg 0x401ae0
mov ebx, 0xffffffff
lea edi, [ebp - 0x8a0]
mov esi, dword [ebp - 0x8a8]
lea eax, [ebp - 0x80c]
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 0x4015a7
lea eax, [ebp - 0x80c]
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 0x4014eb
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x8ac]
lea ecx, [ebp - 0x80c]
mov dword [esp], eax
mov eax, dword [ebp - 0x8a0]
mov edx, esi
call section..text
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 - 0x8a4], eax
call eax
mov ecx, dword [ebp + 8]
sub esp, 0x10
test ecx, ecx
jne 0x4015af
mov edx, dword [ebp - 0x8a0]
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [esp], edx
call esi
sub esp, 4
jmp 0x4014eb
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [str.ProgID]
cmp dword [ebp - 0x80c], eax
je 0x401a9c
mov eax, 1
mov edx, dword [ebp - 0x8a0]
test eax, eax
je 0x401a08
lea eax, [ebp - 0x80c]
mov dword [esp + 8], 0x22
mov dword [esp + 4], str.ProxyStubClsid32
mov dword [esp], eax
mov dword [ebp - 0x8b0], edx
call sub.ucrtbase.dll_memcmp
mov edx, dword [ebp - 0x8b0]
test eax, eax
je 0x40161e
mov ecx, dword [ebp - 0x80c]
cmp ecx, dword [0x41003c]
je 0x401808
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x40159a
mov dword [esp], edx
lea eax, [ebp - 0x898]
mov edx, dword [sym.imp.advapi32.dll_RegQueryValueW]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x8b0], edx
mov dword [ebp - 0x898], 0x200
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call edx
mov eax, dword [ebp - 0x8a0]
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], 0x410094
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea eax, [ebp - 0x89c]
mov edx, dword [ebp - 0x8b0]
mov dword [ebp - 0x89c], 0x200
sub esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x80c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8a0]
mov dword [esp + 4], 0
mov dword [esp], eax
call edx
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x850], 0xffff0000
sub esp, 0x10
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x87a]
mov dword [esp + 4], eax
lea eax, [ebp - 0x40c]
mov dword [esp + 8], 0x410094
mov dword [esp], eax
call dword [sym.imp.user32.dll_wsprintfW]
lea eax, [ebp - 0x850]
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 - 0x8a4]
call eax
mov dword [ebp - 0x850], eax
mov eax, dword [ebp - 0x8a0]
sub esp, 0x10
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x898]
lea ecx, [ebp - 0x60c]
sub esp, 4
mov dword [esp + 4], ecx
lea ecx, [ebp - 0x600]
mov dword [esp], ecx
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov eax, dword [0x410094]
lea ecx, [ebp - 0x60c]
mov edx, 0x5c
mov dword [esp + 4], ecx
mov dword [ebp - 0x60c], eax
mov eax, dword [0x410098]
mov dword [esp + 8], edi
mov dword [ebp - 0x608], eax
mov eax, dword [0x41009c]
mov dword [esp], 0x80000000
mov dword [ebp - 0x604], eax
mov word [ebp - 0x602], dx
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea ecx, [ebp - 0x600]
sub esp, 0xc
mov dword [esp], 0
mov edx, dword [ebp - 0x850]
mov eax, dword [ebp - 0x8a0]
call section..text
mov eax, dword [ebp - 0x850]
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 - 0x8a4]
call eax
mov eax, dword [ebp - 0x8b4]
mov edx, dword [ebp - 0x8a0]
sub esp, 0x10
mov dword [ebp - 0x850], eax
jmp 0x40159a
mov eax, dword [ebp - 0x808]
mov dword [ebp - 0x8b0], eax
cmp eax, dword [0x410040]
jne 0x401613
mov eax, dword [ebp - 0x804]
mov dword [ebp - 0x8b8], eax
cmp eax, dword [0x410044]
jne 0x401613
mov eax, dword [ebp - 0x800]
mov dword [ebp - 0x8bc], eax
cmp eax, dword [0x410048]
jne 0x401613
mov dword [esp], edx
lea eax, [ebp - 0x898]
mov edx, dword [sym.imp.advapi32.dll_RegQueryValueW]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x8c4], ecx
mov dword [ebp - 0x8c0], edx
mov dword [ebp - 0x898], 0x200
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call edx
mov eax, dword [ebp - 0x8a0]
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], 0x41003c
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea eax, [ebp - 0x89c]
mov edx, dword [ebp - 0x8c0]
mov dword [ebp - 0x89c], 0x200
sub esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x80c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8a0]
mov dword [esp + 4], 0
mov dword [esp], eax
call edx
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x850], 0xffff0000
sub esp, 0x10
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x87a]
mov dword [esp + 4], eax
lea eax, [ebp - 0x40c]
mov dword [esp + 8], 0x41003c
mov dword [esp], eax
call dword [sym.imp.user32.dll_wsprintfW]
lea eax, [ebp - 0x850]
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 - 0x8a4]
call eax
mov dword [ebp - 0x850], eax
mov eax, dword [ebp - 0x8a0]
sub esp, 0x10
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x898]
lea edx, [ebp - 0x5fc]
lea ecx, [ebp - 0x60c]
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 - 0x8c4]
mov dword [esp + 8], edi
mov eax, 0x5c
mov dword [esp], 0x80000000
mov dword [ebp - 0x60c], ecx
mov ecx, dword [ebp - 0x8b0]
mov dword [ebp - 0x608], ecx
mov ecx, dword [ebp - 0x8b8]
mov dword [ebp - 0x604], ecx
mov ecx, dword [ebp - 0x8bc]
mov dword [ebp - 0x600], ecx
lea ecx, [ebp - 0x60c]
mov dword [esp + 4], ecx
mov word [ebp - 0x5fe], ax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea edx, [ebp - 0x5fc]
sub esp, 0xc
mov ecx, edx
mov dword [esp], 0
jmp 0x4017b3
lea eax, [ebp - 0x898]
mov dword [esp], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x898], 0x200
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call dword [sym.imp.advapi32.dll_RegQueryValueW]
mov eax, dword [ebp - 0x8a0]
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 0x10
mov dword [esp], eax
call esi
lea eax, [ebp - 0x60c]
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 0x4014eb
mov dword [esp], 0
mov eax, dword [ebp - 0x8a0]
mov edx, 0xffff0000
lea ecx, [ebp - 0x60c]
call section..text
mov edx, dword [ebp - 0x8a0]
jmp 0x40159a
mov eax, dword [0x410088]
cmp dword [ebp - 0x808], eax
jne 0x4015c0
mov eax, dword [0x41008c]
cmp dword [ebp - 0x804], eax
jne 0x4015c0
movzx eax, word [0x410090]
cmp word [ebp - 0x800], ax
jne 0x4015c0
xor eax, eax
jmp 0x4015c5
mov eax, dword [ebp - 0x8b0]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x850]
mov dword [esp + 0xc], eax
mov eax, dword [0x41b008]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x8ac], eax
lea eax, [ebp - 0x40c]
sub esp, 0x10
mov dword [ebp - 0x838], eax
jmp 0x4014e0