Function at 0x544d45
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0x28
mov eax, 0x6cad8c
call fcn.00648b1c
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
call fcn.00544fb8
mov edi, eax
xor esi, esi
cmp dword [edi + 0xc], 4
je 0x544dda
mov ecx, dword [ebp - 0x10]
mov ebx, dword [edi + 0x10]
add ebx, dword [ebp - 0x18]
cmp ecx, 2
jne 0x544dfe
mov eax, dword [edi + 4]
test eax, eax
je 0x544de7
cmp dword [edi + 8], 0
je 0x544dc7
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
push 0x2001f
push eax
push dword [edi]
call fcn.0051e4ac
test eax, eax
jne 0x544f9d
push dword [edi + 8]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
jne 0x544f99
lea ecx, [ebp - 0x34]
jmp 0x544f7f
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
je 0x544f84
mov ecx, esi
call fcn.00534cf6
call fcn.00648ae5
ret
cmp dword [edi + 8], 0
je 0x544f87
push dword [edi + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x544dd0
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
and dword [ebp - 4], 0
mov eax, 0x2001f
cmp ecx, 1
lea ecx, [ebp - 0x28]
lea edx, [eax - 6]
cmovne eax, edx
push eax
push dword [edi + 4]
push dword [edi]
call fcn.0051e4ac
mov esi, eax
test esi, esi
je 0x544e5a
cmp dword [ebp - 0x10], 0
je 0x544f55
push ecx
push ecx
push 0x2001f
push ecx
push ecx
push dword [edi + 4]
lea ecx, [ebp - 0x28]
push dword [edi]
call fcn.00534d73
mov esi, eax
test esi, esi
jne 0x544f55
mov eax, dword [edi + 0xc]
xor edx, edx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x14], ecx
sub eax, edx
je 0x544f5c
sub eax, 1
je 0x544f02
sub eax, 1
je 0x544edf
sub eax, 1
jne 0x544f78
cmp dword [ebp - 0x10], edx
jne 0x544ec9
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 3
push eax
push ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
push eax
push edx
push dword [edi + 8]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x544f78
mov ecx, eax
call fcn.00534cf6
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0051e50a
mov eax, esi
jmp 0x544de1
push ecx
push ebx
push 3
push edx
push dword [edi + 8]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x544f76
cmp dword [ebp - 0x10], 1
jne 0x544ef4
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 4
push eax
push 4
jmp 0x544ecd
push ebx
push dword [edi + 8]
lea ecx, [ebp - 0x28]
call fcn.00534ddd
jmp 0x544f76
cmp dword [ebp - 0x10], 1
jne 0x544f18
push ecx
push dword [ebx]
push dword [edi + 8]
lea ecx, [ebp - 0x28]
call fcn.0051e38e
jmp 0x544f76
lea eax, [ebp - 0x14]
push eax
push edx
push dword [edi + 8]
lea ecx, [ebp - 0x28]
call fcn.0051e3d6
test eax, eax
jne 0x544eb1
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.005159ef
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [edi + 8]
lea ecx, [ebp - 0x28]
call fcn.0051e3d6
push 0xffffffffffffffff
mov ecx, ebx
mov esi, eax
call fcn.0051d5f9
test esi, esi
je 0x544f78
mov ecx, esi
jmp 0x544eb3
cmp dword [ebp - 0x10], 1
jne 0x544f66
push ecx
push ebx
jmp 0x544f0b
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [edi + 8]
lea ecx, [ebp - 0x28]
call fcn.0051e3d6
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0051e50a
mov ecx, dword [ebp - 0x10]
add edi, 0x18
cmp dword [edi + 0xc], 4
jne 0x544d69
jmp 0x544dda
mov ecx, esi
jmp 0x544f9f
mov ecx, eax
call fcn.00534cf6
lea ecx, [ebp - 0x34]
jmp 0x544ebb