Function at 0x557210
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5ac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], esp
mov ecx, dword [esi + 0x80]
mov byte [esi + 0x3102], 1
mov byte [esi + 0x3103], 1
xor ebx, ebx
mov edx, dword [ecx + 0x40]
mov ecx, dword [esi + 0x30e4]
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.00559610
cmp eax, ebx
je 0x5572c4
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x44]
mov eax, ecx
mov byte [ebp - 0x11], 1
add eax, edx
mov edx, dword [ebp - 0x40]
adc edi, edx
mov edx, dword [ebp - 0x3c]
add eax, 0xf
mov dword [esi + 0xb8], edx
adc edi, ebx
cmp ecx, 0xc350
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
jbe 0x5572a5
mov ecx, 0xc350
mov dword [esi + 0x4914], ecx
mov eax, dword [esi + 0x4910]
cmp eax, ebx
je 0x5572ec
push eax
mov byte [ebp - 4], 1
call fcn.005aa012
add esp, 4
jmp 0x5572e3
mov eax, dword [esi + 0x80]
cmp dword [eax + 0x1c], ebx
ja 0x5573df
jmp 0x5572ab
mov dword [ebp - 4], ebx
mov dword [esi + 0x4910], ebx
cmp dword [esi + 0xb8], ebx
jne 0x557305
mov eax, dword [esi + 0x30e4]
mov ecx, dword [esi + 0x80]
cmp ecx, dword [eax + 0x68]
je 0x55730e
cmp byte [ebp - 0x11], bl
jne 0x5573f0
push str.OnRtmpResume__ts0__this_is_first_part__n
mov ecx, esi
mov dword [esi + 0xb8], ebx
call fcn.005133a0
mov edx, dword [esi + 0x80]
lea ecx, [ebp - 0x34]
mov eax, dword [edx + 0x40]
push eax
push str._dkf
push ecx
call fcn.005920ea
mov eax, dword [esi + 0x30e4]
add esp, 0xc
lea edx, [ebp - 0x34]
mov ecx, dword [eax + 0xbc]
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esi + 0x80]
lea ecx, [esi + 0x10]
mov eax, dword [edx + 0x10]
push eax
call fcn.00518590
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x58]
mov byte [esi + 0x30f9], 1
mov byte [esi + 0x30fb], bl
mov edx, dword [eax]
sub edx, ecx
mov dword [eax], edx
mov edx, dword [esi + 0x5c]
mov ecx, dword [eax + 4]
sbb ecx, edx
mov dword [eax + 4], ecx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x30e8], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x30ec], ebx
mov dword [esi + 0x44], ebx
mov byte [esi + 0x30fd], bl
mov byte [esi + 0x30fe], bl
mov dword [esi + 0x4918], ebx
mov dword [esi + 0x491c], ebx
mov dword [esi + 0xc0], ebx
mov byte [esi + 0x30f5], bl
mov byte [esi + 0x30f4], bl
mov dword [esi + 0x312c], ebx
mov byte [esi + 0x3101], bl
mov byte [esi + 0x3100], 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 + 0x4914]
push eax
call fcn.005a9fe9
add esp, 4
cmp eax, ebx
mov dword [esi + 0x4910], eax
je 0x5573df
lea edx, [ebp - 0x2c]
lea ecx, [esi + 0x10]
push edx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.00518a20
cmp eax, ebx
je 0x557452
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x40]
cmp eax, ecx
jg 0x557452
jl 0x557435
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jae 0x557452
push str.OnRtmpResume_err_3042_n
mov ecx, esi
call fcn.005133a0
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 + 0x4914]
mov ecx, dword [ebp - 0x38]
lea eax, [esi + 0x30fd]
add ecx, 0xb
push eax
mov eax, dword [esi + 0x4910]
push edx
mov edx, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push ecx
push edx
push eax
lea ecx, [esi + 0x10]
call fcn.005188e0
cmp eax, ebx
jne 0x5573df
mov ecx, dword [esi + 0xb8]
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x18], ebx
cmp eax, edi
fild qword [ebp - 0x1c]
mov dword [esi + 0xc0], ebx
mov dword [esi + 0x491c], ebx
mov dword [esi + 0x4918], ebx
fstp qword [esi + 0x30e8]
jl 0x5574dd
jg 0x5574be
cmp ecx, dword [ebp - 0x24]
jbe 0x5574dd
mov edx, dword [esi + 0x84]
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 + 0x30fb], 1
mov dword [esi + 0x58], eax
mov dword [esi + 0x40], eax
mov al, byte [esi + 0x30fd]
mov dword [esi + 0x5c], edi
cmp al, bl
mov dword [esi + 0x44], edi
je 0x557504
mov byte [esi + 0x30ff], 1
mov edx, dword [esi + 0xa0]
fld qword [edx + 0x300]
fcomp qword [0x5e3750]
fnstsw ax
test ah, 0x41
je 0x5573d9
mov ecx, dword [esi + 0x30e4]
call fcn.0055a7c0
jmp 0x5573d9