Function at 0x401000
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
mov ebx, edx
sub esp, 0x8dc
mov dword [ebp - 0x8b8], eax
mov eax, dword [edi]
movdqu xmm0, xmmword [str._s___s___s___s]
mov dword [ebp - 0x8c8], edx
mov edx, 0x580032
mov dword [ebp - 0x8c4], eax
mov eax, 0x300025
mov dword [ebp - 0x898], eax
mov eax, 0x2e002e
mov dword [ebp - 0x894], edx
mov edx, 0x2e
mov dword [ebp - 0x8a0], eax
mov eax, 0x20003d
movups xmmword [ebp - 0x878], xmm0
movdqu xmm0, xmmword [0x4100c0]
mov dword [ebp - 0x89c], edx
mov edx, 0x730025
mov dword [ebp - 0x868], eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x8c0], ecx
mov dword [ebp - 0x890], 0x20
mov dword [ebp - 0x864], edx
mov word [ebp - 0x860], si
mov dword [ebp - 0x854], 1
mov dword [ebp - 0x840], 0x100
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x858], 0xffff0002
mov dword [ebp - 0x85c], ebx
mov dword [ebp - 0x8bc], ebx
mov dword [ebp - 0x8b4], 0
movups xmmword [ebp - 0x888], xmm0
jmp 0x401171
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x818]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c0]
mov dword [esp + 8], eax
lea eax, [ebp - 0x878]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call ebx
mov eax, dword [0x41d008]
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 - 0x8bc], eax
mov eax, dword [ebp - 0x8c4]
sub esp, 0x10
test eax, eax
je 0x40116a
cmp dword [ebp - 0x818], 0x700041
je 0x401238
add dword [ebp - 0x8b4], 1
lea eax, [ebp - 0x8a8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x618]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x8a4]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x8ac]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x818]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8b4]
mov dword [ebp - 0x8ac], 0x100
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8b8]
mov dword [ebp - 0x8a8], 0x200
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
jne 0x401485
cmp dword [ebp - 0x8a4], 3
mov ebx, dword [sym.imp.user32.dll_wsprintfW]
je 0x4013f0
mov edx, dword [ebp - 0x8ac]
lea eax, [ebp - 0x618]
test edx, edx
jne 0x4010f0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c0]
mov dword [esp + 8], eax
lea eax, [ebp - 0x888]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call ebx
jmp 0x40111d
cmp dword [ebp - 0x814], 0x490070
jne 0x40116a
cmp dword [ebp - 0x810], 0x44
jne 0x40116a
xor eax, eax
lea esi, [esi]
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 + 0x410094]
mov word [ebp + eax - 0x618], dx
add eax, 2
test dx, dx
jne 0x4012a0
lea eax, [ebp - 0x8b0]
mov ecx, 0x5c
mov dword [esp], 0x80000000
mov dword [esp + 8], eax
lea eax, [ebp - 0x618]
mov word [ebp - 0x60e], cx
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x40116a
mov eax, dword [0x41d008]
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 - 0x8ac], 0x200
sub esp, 0x10
mov dword [ebp - 0x85c], eax
lea eax, [ebp - 0x8ac]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x818]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8b0]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueW]
mov eax, dword [ebp - 0x8b0]
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 - 0x888]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call ebx
mov eax, dword [0x41d008]
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 [0x41d008]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x8c8]
sub esp, 0x10
mov dword [ebp - 0x85c], eax
jmp 0x40116a
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 - 0x898]
mov dword [esp + 4], eax
call ebx
lea eax, [ebp - 0x20]
cmp eax, edi
jne 0x401400
mov eax, dword [ebp - 0x8a8]
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]
movzx edx, word [ebp + eax - 0x218]
mov word [ebp + eax - 0x618], dx
add eax, 2
test dx, dx
jne 0x401448
xor eax, eax
lea esi, [esi]
movzx edx, word [ebp + eax - 0x8a0]
mov word [ebp + eax - 0x422], dx
add eax, 2
test dx, dx
jne 0x401468
jmp 0x4011f6
mov ebx, dword [ebp - 0x8b4]
test ebx, ebx
jne 0x4014b8
mov eax, dword [ebp - 0x8c0]
cmp word [eax], 0
je 0x4014b8
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x4014a0
sub eax, dword [ebp - 0x8c0]
cmp eax, 2
jg 0x401a89
mov edi, 0xffffffff
lea esi, [ebp - 0x8b0]
mov ebx, dword [ebp - 0x8b8]
lea eax, [ebp - 0x818]
add edi, 1
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_RegEnumKeyW]
sub esp, 0x10
test eax, eax
jne 0x4015e2
lea eax, [ebp - 0x818]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x4014c3
mov ebx, dword [ebp - 0x8c4]
mov edx, dword [ebp - 0x8bc]
lea ecx, [ebp - 0x818]
mov eax, dword [ebp - 0x8b0]
mov dword [esp], ebx
call sym._CreateRegRec
mov eax, dword [ebp - 0x8bc]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov dword [esp + 0xc], eax
mov eax, dword [0x41d008]
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x8b4], eax
call eax
sub esp, 0x10
test ebx, ebx
je 0x4015ee
cmp dword [ebp - 0x818], 0x720050
je 0x401a54
mov eax, 1
mov edx, dword [ebp - 0x8b0]
test eax, eax
je 0x4019c0
lea eax, [ebp - 0x818]
mov dword [esp + 8], 0x22
mov dword [esp + 4], str.ProxyStubClsid32
mov dword [esp], eax
mov dword [ebp - 0x8c0], edx
call sym._memcmp
mov edx, dword [ebp - 0x8c0]
test eax, eax
je 0x4015fc
cmp dword [ebp - 0x818], 0x790054
je 0x4017e6
mov ebx, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [esp], edx
call ebx
sub esp, 4
jmp 0x4014c3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov edx, dword [ebp - 0x8b0]
mov ebx, dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x4015d5
mov dword [esp], edx
lea eax, [ebp - 0x8a8]
mov edx, dword [sym.imp.advapi32.dll_RegQueryValueW]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [ebp - 0x8c0], edx
mov dword [ebp - 0x8a8], 0x200
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call edx
mov eax, dword [ebp - 0x8b0]
mov ebx, dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 0x10
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x410094
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea eax, [ebp - 0x8ac]
mov edx, dword [ebp - 0x8c0]
mov dword [ebp - 0x8ac], 0x200
sub esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x818]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8b0]
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 - 0x888]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp + 8], 0x410094
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 [0x41d008]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
mov eax, dword [ebp - 0x8b4]
call eax
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp - 0x8b0]
sub esp, 0x10
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x8a8]
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 [0x410094]
lea ecx, [ebp - 0x618]
mov edx, 0x5c
mov dword [esp + 4], ecx
mov dword [ebp - 0x618], eax
mov eax, dword [0x410098]
mov dword [esp + 8], esi
mov dword [ebp - 0x614], eax
mov eax, dword [0x41009c]
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 - 0x8b0]
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 [0x41d008]
mov dword [esp], eax
mov eax, dword [ebp - 0x8b4]
call eax
mov eax, dword [ebp - 0x8c8]
mov edx, dword [ebp - 0x8b0]
sub esp, 0x10
mov dword [ebp - 0x85c], eax
jmp 0x4015d5
cmp dword [ebp - 0x814], 0x650070
jne 0x4015cf
cmp dword [ebp - 0x810], 0x69004c
jne 0x4015cf
cmp dword [ebp - 0x80c], 0x62
jne 0x4015cf
mov dword [esp], edx
lea eax, [ebp - 0x8a8]
mov edx, dword [sym.imp.advapi32.dll_RegQueryValueW]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [ebp - 0x8c0], edx
mov dword [ebp - 0x8a8], 0x200
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call edx
mov eax, dword [ebp - 0x8b0]
mov ebx, dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 0x10
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0x41003c
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea eax, [ebp - 0x8ac]
mov edx, dword [ebp - 0x8c0]
mov dword [ebp - 0x8ac], 0x200
sub esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x818]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8b0]
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 - 0x888]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp + 8], 0x41003c
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 [0x41d008]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
mov eax, dword [ebp - 0x8b4]
call eax
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp - 0x8b0]
sub esp, 0x10
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x8a8]
lea ecx, [ebp - 0x618]
sub esp, 4
mov dword [esp + 4], ecx
lea ecx, [ebp - 0x608]
mov dword [esp], ecx
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov eax, dword [0x41003c]
mov dword [esp + 8], esi
lea ecx, [ebp - 0x618]
mov dword [esp + 4], ecx
mov dword [ebp - 0x618], eax
mov eax, dword [0x410040]
mov dword [esp], 0x80000000
mov dword [ebp - 0x614], eax
mov eax, dword [0x410044]
mov dword [ebp - 0x610], eax
mov eax, dword [0x410048]
mov dword [ebp - 0x60c], eax
mov eax, 0x5c
mov word [ebp - 0x60a], ax
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea ecx, [ebp - 0x608]
sub esp, 0xc
mov dword [esp], 0
jmp 0x401791
lea eax, [ebp - 0x8a8]
mov dword [esp], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x618]
mov dword [ebp - 0x8a8], 0x200
mov dword [esp + 8], eax
mov dword [esp + 4], 0
call dword [sym.imp.advapi32.dll_RegQueryValueW]
mov eax, dword [ebp - 0x8b0]
mov ebx, dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 0x10
mov dword [esp], eax
call ebx
lea eax, [ebp - 0x618]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x4014c3
mov dword [esp], 0
mov eax, dword [ebp - 0x8b0]
mov edx, 0xffff0000
lea ecx, [ebp - 0x618]
call sym._CreateRegRec
mov edx, dword [ebp - 0x8b0]
jmp 0x4015d5
cmp dword [ebp - 0x814], 0x67006f
jne 0x40157e
cmp dword [ebp - 0x810], 0x440049
jne 0x40157e
xor eax, eax
cmp word [ebp - 0x80c], 0
je 0x401583
jmp 0x40157e
mov eax, dword [ebp - 0x8c0]
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 [0x41d008]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x8bc], eax
lea eax, [ebp - 0x418]
sub esp, 0x10
mov dword [ebp - 0x844], eax
jmp 0x4014b8