Function at 0x554780
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d564
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x5da084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 8]
cmp dword [eax - 0x10], 0
jne 0x5547e7
mov ecx, str.incomplete_entry_for_remove
call fcn.00416660
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.004163d0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 8
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
call fcn.0056eb7f
add esp, 4
mov dword [ebp - 0x14], 0x400
lea ecx, [ebp - 0x60]
mov dword [eax + 4], 0
mov dword [ebp - 0x60], eax
push 0x5df9b0
mov dword [eax], ecx
call fcn.00555000
push 0x5dfa10
lea ecx, [ebp - 0x60]
call fcn.00555000
mov esi, eax
sub esp, 0x10
mov edx, esp
sub esp, 0xc
mov ecx, dword [esi + 0x10]
add ecx, dword [esi + 0xc]
mov dword [edx + 8], ecx
mov ecx, esp
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov eax, dword [esi]
mov dword [ecx], eax
lea ecx, [ebp - 0x4c]
call fcn.00555ac0
mov ebx, 0x3800
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.005552e0
mov eax, dword [ebp - 0x60]
push 8
push eax
mov dword [ebp - 0x60], 0
call fcn.0056ebaf
mov eax, dword [ebp - 0x4c]
add esp, 8
mov ecx, dword [ebp - 0x48]
or esi, 0xffffffff
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
cmp eax, ecx
je 0x554b57
nop dword [eax]
mov ecx, dword [ebp - 0x18]
mov edi, dword [eax]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
call dword [eax + 0x24]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x40], vtable.sibcrux::CSafeRegKey.0
mov edx, eax
mov dword [ebp - 0x3c], 0
call fcn.00414d80
push 0x2011f
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
push edi
push edx
call fcn.0054d5c0
test al, al
je 0x554919
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x14]
call fcn.0054d860
test al, al
jne 0x554b04
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.sibcrux::CSafeRegKey.0
test eax, eax
je 0x554935
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x38]
mov eax, esi
add ecx, 0xfffffff0
lock xadd dword [ecx + 8], eax
dec eax
test eax, eax
jg 0x554956
cmp dword [ecx + 4], 0
jle 0x554956
push ecx
call fcn.00577de8
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00414d80
mov eax, dword [ebp - 0x30]
or ebx, 1
mov ecx, str.failed_to_remove_key:__
mov dword [ebp - 0x14], ebx
mov eax, dword [eax]
push dword [eax - 0x10]
push eax
call fcn.00416660
mov edx, ecx
lea ecx, [ebp - 0x2c]
push eax
call fcn.00544610
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00414d80
mov edx, dword [ebp - 0x2c]
or ebx, 2
mov ecx, 0x5cce18
mov dword [ebp - 0x14], ebx
call fcn.00416660
push eax
push ecx
push dword [edx - 0x10]
lea ecx, [ebp - 0x28]
call fcn.00544610
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.00414d80
mov eax, dword [ebp - 0x18]
or ebx, 4
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ebx
mov eax, dword [eax + 8]
push dword [eax - 0x10]
push eax
push dword [edx - 0x10]
call fcn.00544610
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00414d80
mov edx, dword [ebp - 0x24]
or ebx, 8
mov ecx, str._._Error:
mov dword [ebp - 0x14], ebx
call fcn.00416660
push eax
push ecx
push dword [edx - 0x10]
lea ecx, [ebp - 0x20]
call fcn.00544610
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00414d80
mov eax, dword [ebp + 8]
or ebx, 0x10
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ebx
mov eax, dword [eax]
push dword [eax - 0x10]
push eax
push dword [edx - 0x10]
call fcn.00544610
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
add esp, 0xc
push eax
call fcn.00544730
mov ecx, dword [ebp - 0x1c]
and ebx, 0xffffffef
add ecx, 0xfffffff0
mov eax, esi
lock xadd dword [ecx + 8], eax
dec eax
test eax, eax
jg 0x554a6a
cmp dword [ecx + 4], 0
jle 0x554a6a
push ecx
call fcn.00577de8
add esp, 4
mov ecx, dword [ebp - 0x20]
and ebx, 0xfffffff7
add ecx, 0xfffffff0
mov eax, esi
lock xadd dword [ecx + 8], eax
dec eax
test eax, eax
jg 0x554a8e
cmp dword [ecx + 4], 0
jle 0x554a8e
push ecx
call fcn.00577de8
add esp, 4
mov ecx, dword [ebp - 0x24]
and ebx, 0xfffffffb
add ecx, 0xfffffff0
mov eax, esi
lock xadd dword [ecx + 8], eax
dec eax
test eax, eax
jg 0x554ab2
cmp dword [ecx + 4], 0
jle 0x554ab2
push ecx
call fcn.00577de8
add esp, 4
mov ecx, dword [ebp - 0x28]
and ebx, 0xfffffffd
add ecx, 0xfffffff0
mov eax, esi
lock xadd dword [ecx + 8], eax
dec eax
test eax, eax
jg 0x554ad6
cmp dword [ecx + 4], 0
jle 0x554ad6
push ecx
call fcn.00577de8
add esp, 4
mov byte [ebp - 4], 2
and ebx, 0xfffffffe
mov ecx, dword [ebp - 0x2c]
mov eax, esi
add ecx, 0xfffffff0
lock xadd dword [ecx + 8], eax
dec eax
test eax, eax
jg 0x554afe
cmp dword [ecx + 4], 0
jle 0x554afe
push ecx
call fcn.00577de8
add esp, 4
mov byte [ebp - 0xd], 0
jmp 0x554b45
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.sibcrux::CSafeRegKey.0
test eax, eax
je 0x554b24
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x38]
mov eax, esi
add ecx, 0xfffffff0
lock xadd dword [ecx + 8], eax
dec eax
test eax, eax
jg 0x554b45
cmp dword [ecx + 4], 0
jle 0x554b45
push ecx
call fcn.00577de8
add esp, 4
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x34]
jne 0x5548c0
mov ecx, dword [ebp - 0x18]
mov edi, dword [0x5df9dc]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
call dword [eax + 0x24]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x40], vtable.sibcrux::CSafeRegKey.0
mov edx, eax
mov dword [ebp - 0x3c], 0
call fcn.00414d80
push 0x2011f
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
push edi
push edx
call fcn.0054d5c0
test al, al
jne 0x554bae
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x554c65
push eax
jmp 0x554c5f
cmp byte [0x5df50d], 0
mov edi, dword [ebp - 0x30]
je 0x554bc8
push edi
push 0x5cc4c4
call fcn.005438a0
add esp, 8
push edi
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x3c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
test eax, eax
je 0x554e27
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.005440a0
mov byte [ebp - 4], 0xb
push dword [eax]
push dword [ebp - 0x38]
push dword [ebp - 0x30]
push str.Cannot_delete_registry_value__s_in__s:__s
push dword [ebp + 8]
call fcn.00544cc0
mov byte [ebp - 4], 0xa
add esp, 0x14
mov ecx, dword [ebp - 0x34]
mov eax, esi
add ecx, 0xfffffff0
lock xadd dword [ecx + 8], eax
dec eax
test eax, eax
jg 0x554c3f
cmp dword [ecx + 4], 0
jle 0x554c3f
push ecx
call fcn.00577de8
add esp, 4
cmp byte [0x5df50d], 0
je 0x554c5a
mov eax, dword [ebp + 8]
push dword [eax]
push str.DeleteValue:__s_n
call fcn.005438a0
add esp, 8
test edi, edi
je 0x554c65
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x38]
mov eax, esi
add ecx, 0xfffffff0
lock xadd dword [ecx + 8], eax
dec eax
test eax, eax
jg 0x554c86
cmp dword [ecx + 4], 0
jle 0x554c86
push ecx
call fcn.00577de8
add esp, 4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.00414d80
mov eax, dword [0x5df9dc]
or ebx, 0x20
mov ecx, str.failed_to_remove_key:__
mov dword [ebp - 0x14], ebx
push dword [eax - 0x10]
push eax
call fcn.00416660
mov edx, ecx
lea ecx, [ebp - 0x20]
push eax
call fcn.00544610
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.00414d80
mov edx, dword [ebp - 0x20]
or ebx, 0x40
mov ecx, 0x5cce18
mov dword [ebp - 0x14], ebx
call fcn.00416660
push eax
push ecx
push dword [edx - 0x10]
lea ecx, [ebp - 0x24]
call fcn.00544610
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.00414d80
mov eax, dword [ebp - 0x18]
or ebx, 0x80
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ebx
mov eax, dword [eax + 8]
push dword [eax - 0x10]
push eax
push dword [edx - 0x10]
call fcn.00544610
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.00414d80
mov edx, dword [ebp - 0x28]
or ebx, 0x100
mov ecx, str._._Error:
mov dword [ebp - 0x14], ebx
call fcn.00416660
push eax
push ecx
push dword [edx - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.00544610
add esp, 0xc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x10
call fcn.00414d80
mov edx, dword [ebp - 0x2c]
or ebx, 0x200
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push dword [eax - 0x10]
push eax
push dword [edx - 0x10]
call fcn.00544610
add esp, 0xc
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.00544730
mov ecx, dword [ebp - 0x30]
mov eax, esi
add ecx, 0xfffffff0
lock xadd dword [ecx + 8], eax
dec eax
test eax, eax
jg 0x554d9f
cmp dword [ecx + 4], 0
jle 0x554d9f
push ecx
call fcn.00577de8
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov eax, esi
add ecx, 0xfffffff0
lock xadd dword [ecx + 8], eax
dec eax
test eax, eax
jg 0x554dc0
cmp dword [ecx + 4], 0
jle 0x554dc0
push ecx
call fcn.00577de8
add esp, 4
mov ecx, dword [ebp - 0x28]
mov eax, esi
add ecx, 0xfffffff0
lock xadd dword [ecx + 8], eax
dec eax
test eax, eax
jg 0x554de1
cmp dword [ecx + 4], 0
jle 0x554de1
push ecx
call fcn.00577de8
add esp, 4
mov ecx, dword [ebp - 0x24]
mov eax, esi
add ecx, 0xfffffff0
lock xadd dword [ecx + 8], eax
dec eax
test eax, eax
jg 0x554e02
cmp dword [ecx + 4], 0
jle 0x554e02
push ecx
call fcn.00577de8
add esp, 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lock xadd dword [eax + 8], esi
dec esi
test esi, esi
jg 0x554e21
cmp dword [eax + 4], 0
jle 0x554e21
push eax
call fcn.00577de8
add esp, 4
mov byte [ebp - 0xd], 0
jmp 0x554e51
test edi, edi
je 0x554e32
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lock xadd dword [eax + 8], esi
dec esi
test esi, esi
jg 0x554e51
cmp dword [eax + 4], 0
jle 0x554e51
push eax
call fcn.00577de8
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.005553b0
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4