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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push esi
mov esi, ecx
lea ecx, [ebp - 0x70]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x74]
push 0x55fdc0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.00413670
add esp, 0xc
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x455ca0
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455c96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455e77
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov word [ebp - 0x70], ax
cmovae ecx, dword [ebp - 0x40]
cmp byte [esi + 0xb5], al
push 0x2001f
sete al
mov dword [ebp - 0x5c], 7
add eax, 0x80000001
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00432d30
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push str.name
push eax
call fcn.00432eb0
add esp, 0x1c
test al, al
je 0x455d5a
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push str.Failed_to_delete_channel_name_in__s
push eax
call fcn.004b99e0
add esp, 0xc
mov esi, eax
push str.name
push dword [ebp - 0x28]
mov byte [ebp - 4], 5
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push eax
call fcn.00437850
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00416700
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 8
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.expiration
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x455dd0
cmp dword [ebp - 0x14], 0xb
jne 0x455dd0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push str.Failed_to_delete_channel_expiration_in__s
push eax
call fcn.004b99e0
add esp, 0xc
mov esi, eax
push str.expiration
push dword [ebp - 0x28]
mov byte [ebp - 4], 6
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push eax
call fcn.00437850
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.00416700
mov edx, dword [ebp - 0x44]
pop esi
cmp edx, 0x10
jb 0x455e05
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x455dfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455e7c
push edx
push ecx
call fcn.004b9160
add esp, 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
test eax, eax
je 0x455e2c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], 0
cmp edx, 8
jb 0x455e69
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455e5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455e7c
push edx
push ecx
call fcn.004b9160
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0051bb5f
call fcn.0051bb5f
int3