Function at 0x10044b70
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f7ec
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x1007b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x434], 0
movq qword [ebp - 0x43c], xmm0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x490], 1
mov dword [ebp - 0x440], 7
mov dword [ebp - 0x444], 0
mov word [ebp - 0x454], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x484]
push 0x43
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers_
mov dword [ebp - 0x470], 7
mov dword [ebp - 0x474], eax
mov word [ebp - 0x484], ax
call fcn.10002e00
mov byte [ebp - 4], 2
test esi, esi
jne 0x10044ca0
push 0x20a
lea eax, [ebp - 0x21c]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x10044ccc
cmp word [ebp - 0x21c], si
jne 0x10044c7e
xor ecx, ecx
lea eax, [ebp - 0x21c]
push ecx
push eax
jmp 0x10044cc1
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10044c87
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
jmp 0x10044cc1
cmp word [esi], 0
jne 0x10044caa
xor ecx, ecx
jmp 0x10044cbf
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10044cb0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x454]
call fcn.10002e00
mov edi, dword [ebp - 0x440]
lea ecx, [ebp - 0x454]
mov esi, dword [ebp - 0x454]
lea ebx, [ebp - 0x454]
mov eax, dword [ebp - 0x444]
cmp edi, 8
cmovae ecx, esi
cmovae ebx, esi
lea edx, [ecx + eax*2]
lea eax, [ebp - 0x488]
lea ecx, [ebp - 0x454]
push eax
cmovae ecx, esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
push ebx
mov dword [ebp - 0x488], esi
call fcn.10049130
add esp, 8
lea eax, [ebp - 0x484]
cmp dword [ebp - 0x470], 8
lea ecx, [ebp - 0x43c]
cmovae eax, dword [ebp - 0x484]
push 0x2001f
push eax
push SysReAllocString
call fcn.1001e6e0
mov ebx, dword [ebp - 0x43c]
test eax, eax
jne 0x10044f92
push 0x20a
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x494], 0
push 0
push eax
mov dword [ebp - 0x430], 0x104
call sub.VCRUNTIME140.dll_memset
push 0x20a
lea eax, [ebp - 0x428]
mov dword [ebp - 0x42c], 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x488], 0
add esp, 0x18
mov dword [ebp - 0x458], 7
mov dword [ebp - 0x45c], 0
mov word [ebp - 0x46c], ax
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x488]
push eax
push 0
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x10044f7a
mov dword [ebp - 0x48c], esi
cmp word [ebp - 0x21c], 0
jne 0x10044e0f
xor eax, eax
jmp 0x10044e2f
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10044e20
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x46c]
call fcn.10002e00
mov edi, dword [ebp - 0x458]
lea ecx, [ebp - 0x46c]
mov esi, dword [ebp - 0x46c]
lea ebx, [ebp - 0x46c]
mov eax, dword [ebp - 0x45c]
cmp edi, 8
cmovae ecx, esi
cmovae ebx, esi
lea edx, [ecx + eax*2]
lea eax, [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x46c]
cmovae ecx, esi
push ebx
call fcn.10049130
add esp, 8
lea eax, [ebp - 0x454]
cmp dword [ebp - 0x440], 8
lea ecx, [ebp - 0x46c]
cmovae eax, dword [ebp - 0x454]
push dword [ebp - 0x444]
push 0
push eax
call fcn.1000b060
cmp eax, 0xffffffff
jne 0x10044f3d
push 0x20a
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x430], 0x104
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x20a
lea eax, [ebp - 0x428]
mov dword [ebp - 0x42c], 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [ebp - 0x494]
lea eax, [ebp - 0x42c]
add esp, 0x18
inc ebx
mov dword [ebp - 0x494], ebx
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x488]
push eax
push 0
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
mov ebx, dword [ebp - 0x43c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10044e01
jmp 0x10044f7a
cmp dword [ebp - 0x45c], 0
mov ebx, dword [ebp - 0x43c]
jbe 0x10044f7a
cmp dword [ebp - 0x458], 8
lea eax, [ebp - 0x46c]
cmovae eax, dword [ebp - 0x46c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor edx, edx
mov ecx, 1
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x490], ecx
mov eax, dword [ebp - 0x458]
cmp eax, 8
jb 0x10044f92
inc eax
push eax
push dword [ebp - 0x46c]
call fcn.10003020
mov eax, dword [ebp - 0x470]
cmp eax, 8
jb 0x10044faa
inc eax
push eax
push dword [ebp - 0x484]
call fcn.10003020
xor eax, eax
mov dword [ebp - 0x470], 7
mov word [ebp - 0x484], ax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x474], 0
cmp eax, 8
jb 0x10044fdf
inc eax
push eax
push dword [ebp - 0x454]
call fcn.10003020
xor eax, eax
mov dword [ebp - 0x440], 7
mov dword [ebp - 0x444], 0
mov word [ebp - 0x454], ax
test ebx, ebx
je 0x10045007
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x490]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005b6db
mov esp, ebp
pop ebp
ret