Function at 0x5a4970
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62cd20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x10], esp
mov ecx, dword [esi + 0x90]
mov byte [esi + 0x31fa], 1
mov byte [esi + 0x31fb], 1
xor ebx, ebx
mov edx, dword [ecx + 0x60]
mov ecx, dword [esi + 0x31dc]
xor edi, edi
push eax
push edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x11], bl
call fcn.005a6df0
cmp eax, ebx
je 0x5a4a24
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x3c]
mov eax, ecx
mov byte [ebp - 0x11], 1
add eax, edx
mov edx, dword [ebp - 0x38]
adc edi, edx
mov edx, dword [ebp - 0x34]
add eax, 0xf
mov dword [esi + 0xd0], edx
adc edi, ebx
cmp ecx, 0xc350
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
jbe 0x5a4a05
mov ecx, 0xc350
mov dword [esi + 0x4a14], ecx
mov eax, dword [esi + 0x4a10]
cmp eax, ebx
je 0x5a4a4c
push eax
mov byte [ebp - 4], 1
call fcn.005fef05
add esp, 4
jmp 0x5a4a43
mov eax, dword [esi + 0x90]
cmp dword [eax + 0x1c], ebx
ja 0x5a4b42
jmp 0x5a4a0b
mov dword [ebp - 4], ebx
mov dword [esi + 0x4a10], ebx
cmp dword [esi + 0xd0], ebx
jne 0x5a4a68
mov eax, dword [esi + 0x31dc]
mov ecx, dword [esi + 0x90]
cmp ecx, dword [eax + 0xb0]
je 0x5a4a71
cmp byte [ebp - 0x11], bl
jne 0x5a4b53
push str.OnRtmpResume__ts0__this_is_first_part__n
mov ecx, esi
mov dword [esi + 0xd0], ebx
call fcn.0054c4f0
mov edx, dword [esi + 0x90]
lea ecx, [ebp - 0x4c]
mov eax, dword [edx + 0x60]
push eax
push str._dkf
push ecx
call fcn.005e6db3
mov eax, dword [esi + 0x31dc]
add esp, 0xc
lea edx, [ebp - 0x4c]
mov ecx, dword [eax + 0x104]
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esi + 0x90]
lea ecx, [esi + 0x10]
mov eax, dword [edx + 0x10]
push eax
call fcn.00554e50
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x68]
mov byte [esi + 0x31f1], 1
mov byte [esi + 0x31f3], bl
mov edx, dword [eax]
sub edx, ecx
mov dword [eax], edx
mov edx, dword [esi + 0x6c]
mov ecx, dword [eax + 4]
sbb ecx, edx
mov dword [eax + 4], ecx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x31e0], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x31e4], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x31f5], bl
mov byte [esi + 0x31f6], bl
mov dword [esi + 0x4a18], ebx
mov dword [esi + 0x4a1c], ebx
mov dword [esi + 0xd8], ebx
mov byte [esi + 0x31ed], bl
mov byte [esi + 0x31ec], bl
mov dword [esi + 0x3228], ebx
mov byte [esi + 0x31f9], bl
mov byte [esi + 0x31f8], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x4a14]
push eax
call fcn.005feedc
add esp, 4
cmp eax, ebx
mov dword [esi + 0x4a10], eax
je 0x5a4b42
lea edx, [ebp - 0x2c]
lea ecx, [esi + 0x10]
push edx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.00555470
cmp eax, ebx
je 0x5a4bb5
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jg 0x5a4bb5
jl 0x5a4b98
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
jae 0x5a4bb5
push str.OnRtmpResume_err_3042_n
mov ecx, esi
call fcn.0054c4f0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x4a14]
mov ecx, dword [ebp - 0x30]
lea eax, [esi + 0x31f5]
add ecx, 0xb
push eax
mov eax, dword [esi + 0x4a10]
push edx
mov edx, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push ecx
push edx
push eax
lea ecx, [esi + 0x10]
call fcn.00555330
cmp eax, ebx
jne 0x5a4b42
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x18], ebx
cmp eax, edi
fild qword [ebp - 0x1c]
mov dword [esi + 0xd8], ebx
mov dword [esi + 0x4a1c], ebx
mov dword [esi + 0x4a18], ebx
fstp qword [esi + 0x31e0]
jl 0x5a4c40
jg 0x5a4c21
cmp ecx, dword [ebp - 0x24]
jbe 0x5a4c40
mov edx, dword [esi + 0x94]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x24]
sub edx, ecx
mov ecx, edi
sbb ecx, eax
mov eax, dword [ebp - 0x18]
add dword [eax], edx
mov edx, dword [eax + 4]
adc edx, ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x24]
mov byte [esi + 0x31f3], 1
mov dword [esi + 0x68], eax
mov dword [esi + 0x50], eax
mov al, byte [esi + 0x31f5]
mov dword [esi + 0x6c], edi
cmp al, bl
mov dword [esi + 0x54], edi
je 0x5a4c67
mov byte [esi + 0x31f7], 1
mov edx, dword [esi + 0xb0]
fld qword [edx + 0x360]
fcomp qword [0x633d48]
fnstsw ax
test ah, 0x41
je 0x5a4b3c
mov ecx, dword [esi + 0x31dc]
call fcn.005a82a0
jmp 0x5a4b3c