Function at 0x58e800
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63b530
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
wait
mov dword [ebp - 0x34], ebx
xor edi, edi
mov dword [ebp - 0x30], edi
mov byte [ebp - 0x25], bl
mov byte [esi + 0x31fa], 1
mov byte [esi + 0x31fb], 1
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [esi + 0x90]
mov edx, dword [ecx + 0x60]
push edx
mov ecx, dword [esi + 0x31dc]
call fcn.005970a0
test eax, eax
je 0x58e8c7
mov byte [ebp - 0x25], 1
mov ecx, dword [ebp - 0x38]
mov eax, ecx
add eax, dword [ebp - 0x44]
adc edi, dword [ebp - 0x40]
add eax, 0xf
mov dword [ebp - 0x34], eax
adc edi, ebx
mov dword [ebp - 0x30], edi
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0xd0], edx
cmp ecx, 0xc350
jbe 0x58e89f
mov ecx, 0xc350
mov dword [esi + 0x4a14], ecx
cmp dword [esi + 0x4a10], ebx
je 0x58e90a
mov byte [ebp - 4], 1
wait
mov eax, dword [esi + 0x4a10]
push eax
call fcn.005cfa9b
add esp, 4
wait
mov dword [ebp - 4], ebx
jmp 0x58e904
mov eax, dword [esi + 0x90]
cmp dword [eax + 0x1c], ebx
jbe 0x58e8a5
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f85e7
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x4a10], ebx
cmp dword [esi + 0xd0], ebx
jne 0x58e926
mov eax, dword [esi + 0x31dc]
mov ecx, dword [esi + 0x90]
cmp ecx, dword [eax + 0xb0]
je 0x58e92f
cmp byte [ebp - 0x25], bl
jne 0x58e9f8
mov dword [esi + 0xd0], ebx
push str.OnRtmpResume__ts0__this_is_first_part__n
mov ecx, esi
call fcn.0054c540
mov edx, dword [esi + 0x90]
mov eax, dword [edx + 0x60]
push eax
push str._dkf
lea ecx, [ebp - 0x24]
push ecx
call fcn.005fb4cb
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
mov eax, dword [esi + 0x31dc]
mov ecx, dword [eax + 0x104]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esi + 0x90]
mov eax, dword [edx + 0x10]
push eax
lea ecx, [esi + 0x10]
call fcn.00554f70
mov byte [esi + 0x31f1], 1
mov byte [esi + 0x31f3], bl
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x68]
sub dword [eax], ecx
mov edx, dword [esi + 0x6c]
sbb dword [eax + 4], edx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
fldz
fstp qword [esi + 0x31e0]
mov dword [esi + 0x50], 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
jmp 0x58e8d2
mov eax, dword [esi + 0x4a14]
push eax
call fcn.005cfaa6
add esp, 4
mov dword [esi + 0x4a10], eax
cmp eax, ebx
je 0x58e8d2
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
lea ecx, [esi + 0x10]
lea edx, [ebp - 0x4c]
push edx
call fcn.00555380
test eax, eax
je 0x58ea4e
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x40]
jg 0x58ea4e
jl 0x58ea3d
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp - 0x44]
jae 0x58ea4e
push str.OnRtmpResume_err_3042_n
mov ecx, esi
call fcn.0054c540
jmp 0x58e8d2
lea eax, [esi + 0x31f5]
push eax
mov edx, dword [esi + 0x4a14]
push edx
mov eax, dword [esi + 0x4a10]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xb
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [esi + 0x10]
call fcn.00555240
test eax, eax
jne 0x58e8d2
mov dword [esi + 0xd8], ebx
mov dword [esi + 0x4a1c], ebx
mov dword [esi + 0x4a18], ebx
mov ecx, dword [esi + 0xd0]
fild dword [esi + 0xd0]
test ecx, ecx
jge 0x58eaaa
fadd qword [0x656fc8]
fstp qword [esi + 0x31e0]
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x54]
cmp eax, edi
jl 0x58ead5
jg 0x58eac1
cmp ecx, dword [ebp - 0x34]
jbe 0x58ead5
mov edx, dword [ebp - 0x34]
sub edx, ecx
mov ecx, edi
sbb ecx, eax
mov eax, dword [esi + 0x94]
add dword [eax], edx
adc dword [eax + 4], ecx
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edi
mov byte [esi + 0x31f3], 1
cmp byte [esi + 0x31f5], bl
je 0x58eafa
mov byte [esi + 0x31f7], 1
mov edx, dword [esi + 0xb0]
fldz
fcomp qword [edx + 0x390]
fnstsw ax
test ah, 1
jne 0x58eb1a
mov ecx, dword [esi + 0x31dc]
call fcn.00598540
mov byte [esi + 0x31f8], bl
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x58e8d3