Function at 0x5d29e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x667ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
wait
mov eax, dword [ebp + 8]
test eax, eax
jne 0x5d2a34
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0x48c], 0
jne 0x5d2a49
push eax
mov ecx, esi
call fcn.005cf670
test al, al
je 0x5d2a1f
mov ecx, dword [esi]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d2a50
sub eax, edi
inc eax
push eax
push ecx
push 1
push 0
push 0x6b4628
mov eax, dword [esi + 0x48c]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5d2a9e
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d2a80
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.Path
mov ecx, dword [esi + 0x48c]
push ecx
call edi
mov eax, dword [esi]
push str.googlevideo.com
push eax
call fcn.00622230
add esp, 8
test eax, eax
je 0x5d2ad0
push str.FileName
push 0x67e6f8
mov edx, dword [esi + 8]
push edx
mov eax, dword [esi + 0x48c]
push eax
mov ecx, esi
call fcn.005ce550
jmp 0x5d2af6
mov ecx, dword [esi + 8]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d2ad8
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.FileName
mov ecx, dword [esi + 0x48c]
push ecx
call edi
mov ecx, dword [esi + 0xc]
mov eax, ecx
lea ebx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d2b00
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push 0x68cbf4
mov edx, dword [esi + 0x48c]
push edx
call edi
push 0
mov eax, dword [esi + 0x10]
push eax
push str.EncPassword
push 0x69b5ec
mov ecx, dword [esi + 0x48c]
push ecx
call fcn.005ba700
add esp, 0x14
cmp dword [esi + 0x3c], 0
je 0x5d2b4a
mov ecx, esi
call fcn.005cc7c0
mov edx, dword [esi + 0x40]
test edx, edx
je 0x5d2b82
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d2b56
sub eax, ebx
cmp byte [esi + 0x342], cl
mov ecx, str.WDescription
jne 0x5d2b71
mov ecx, 0x68af0c
inc eax
push eax
push edx
push 1
push 0
push ecx
mov edx, dword [esi + 0x48c]
push edx
call edi
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x5d2bae
mov eax, ecx
lea ebx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d2b90
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.LastModified
mov eax, dword [esi + 0x48c]
push eax
call edi
mov eax, dword [esi + 0x19c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x5d2bd2
inc ecx
push ecx
push eax
push 1
push 0
push 0x6b5d64
mov ecx, dword [esi + 0x48c]
push ecx
call edi
jmp 0x5d2be4
push 0x6b5d64
mov edx, dword [esi + 0x48c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esi + 0xc0]
cmp dword [ecx - 0xc], 0
je 0x5d2c13
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d2bf5
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.mdtm
mov eax, dword [esi + 0x48c]
push eax
call edi
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x5d2c3e
mov eax, ecx
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d2c20
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.Referer
mov ecx, dword [esi + 0x48c]
push ecx
call edi
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x5d2c6e
mov eax, ecx
lea ebx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d2c50
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.Cookie
mov edx, dword [esi + 0x48c]
push edx
call edi
lea ebx, [esi + 0x198]
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x5d2c98
inc ecx
push ecx
push eax
mov ebx, 1
push ebx
push 0
push 0x6b5d70
mov eax, dword [esi + 0x48c]
push eax
call edi
jmp 0x5d2ce6
cmp byte [esi + 0x195], 0
je 0x5d2ccf
cmp byte [esi + 0x347], 0
je 0x5d2ccf
push 0x67997c
mov ecx, ebx
call fcn.0054f750
mov ebx, dword [ebx]
push 1
push ebx
push 1
push 0
push 0x6b5d70
mov ecx, dword [esi + 0x48c]
push ecx
call edi
jmp 0x5d2ce1
push 0x6b5d70
mov edx, dword [esi + 0x48c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebx, 1
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x5d2d09
inc ecx
push ecx
push eax
push ebx
push 0
push str.PDCType
mov eax, dword [esi + 0x48c]
push eax
call edi
jmp 0x5d2d1b
push str.PDCType
mov ecx, dword [esi + 0x48c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [esi + 0x24]
push 4
push eax
push 4
push 0
push str.TPswitch
mov edx, dword [esi + 0x48c]
push edx
call edi
push 4
lea eax, [esi + 0x14]
push eax
push 4
push 0
push 0x6b5dfc
mov ecx, dword [esi + 0x48c]
push ecx
call edi
push 4
lea edx, [esi + 0x314]
push edx
push 4
push 0
push str.categoryID
mov eax, dword [esi + 0x48c]
push eax
call edi
movzx ecx, byte [esi + 0x34b]
mov dword [ebp - 0x14], ecx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push 0
push str.CISBU
mov eax, dword [esi + 0x48c]
push eax
call edi
cmp byte [esi + 0x344], 0
je 0x5d2dac
mov dword [ebp - 0x14], ebx
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.bPHSBU
mov edx, dword [esi + 0x48c]
push edx
call edi
cmp byte [esi + 0x345], 0
je 0x5d2dd0
mov dword [ebp - 0x14], ebx
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.bFLSBU
mov ecx, dword [esi + 0x48c]
push ecx
call edi
cmp byte [esi + 0x193], 0
je 0x5d2df4
mov dword [ebp - 0x14], ebx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push 0
push str.bRPCHK
mov eax, dword [esi + 0x48c]
push eax
call edi
cmp byte [esi + 0x18d], 0
je 0x5d2e18
mov dword [ebp - 0x14], ebx
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.bMUIMPV
mov edx, dword [esi + 0x48c]
push edx
call edi
cmp byte [esi + 0x1b0], 0
je 0x5d2e3c
mov dword [ebp - 0x14], ebx
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.bUNRA
mov ecx, dword [esi + 0x48c]
push ecx
call edi
push 4
lea edx, [esi + 0x15c]
push edx
push 4
push 0
push str.cFlags
mov eax, dword [esi + 0x48c]
push eax
call edi
cmp dword [ebp + 0x10], 0
jl 0x5d2e7d
jg 0x5d2e65
cmp dword [ebp + 0xc], 0
jbe 0x5d2e7d
push 8
lea ecx, [ebp + 0xc]
push ecx
push 0
push 0
push str.FileSize
mov edx, dword [esi + 0x48c]
push edx
call edi
mov eax, dword [esi + 0x128]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d2e86
sub eax, edx
je 0x5d2ee3
cmp dword [esi + 0x168], 0
jne 0x5d2ea1
mov ecx, esi
call fcn.00427380
mov eax, dword [esi + 0x128]
push 0x5c
push eax
call fcn.00623330
add esp, 8
test eax, eax
je 0x5d2eba
add eax, ebx
jmp 0x5d2ec0
mov eax, dword [esi + 0x128]
mov ecx, eax
lea ebx, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x5d2ec5
sub ecx, ebx
inc ecx
push ecx
push eax
push 1
push 0
push str.cFromDll
mov eax, dword [esi + 0x48c]
push eax
call edi
mov edx, dword [esi + 0x12c]
mov eax, edx
lea ebx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d2ef0
sub eax, ebx
je 0x5d2f1e
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d2f00
sub eax, ebx
inc eax
push eax
push edx
push 1
push 0
push str.cFPBrExe
mov ecx, dword [esi + 0x48c]
push ecx
call edi
mov eax, dword [esi + 0x334]
test eax, eax
je 0x5d2f43
mov dword [ebp - 0x20], eax
push 4
lea edx, [ebp - 0x20]
push edx
push 4
push 0
push str.nAggrV
mov eax, dword [esi + 0x48c]
push eax
call edi
mov edx, dword [esi + 0x318]
mov eax, edx
lea ebx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d2f50
sub eax, ebx
je 0x5d2f7e
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d2f60
sub eax, ebx
inc eax
push eax
push edx
push 1
push 0
push str.bstrInfo
mov ecx, dword [esi + 0x48c]
push ecx
call edi
mov eax, dword [esi + 0x32c]
test eax, eax
je 0x5d2fa3
mov dword [ebp - 0x1c], eax
push 4
lea edx, [ebp - 0x1c]
push edx
push 4
push 0
push str.nAggr2
mov eax, dword [esi + 0x48c]
push eax
call edi
cmp dword [esi + 0x32c], 0
jne 0x5d2fbe
mov eax, dword [esi + 0x334]
cmp eax, 0x40
je 0x5d2fbe
cmp eax, 0x800
jne 0x5d3006
cmp byte [esi + 0x33a], 0
je 0x5d2fe6
mov dword [ebp - 0x18], 1
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
push str.bPFAV
mov edx, dword [esi + 0x48c]
push edx
call edi
lea eax, [esi + 0x324]
cmp dword [eax], 0
je 0x5d3006
push 4
push eax
push 4
push 0
push str.nAATDID
mov eax, dword [esi + 0x48c]
push eax
call edi
cmp byte [esi + 0x171], 0
je 0x5d302e
mov dword [ebp - 0x24], 1
push 4
lea ecx, [ebp - 0x24]
push ecx
push 4
push 0
push str.bChCnt
mov edx, dword [esi + 0x48c]
push edx
call edi
mov eax, dword [esi + 0x24]
cmp eax, 4
je 0x5d303f
cmp eax, 5
jne 0x5d3172
cmp byte [esi + 0x34a], 0
je 0x5d3172
lea ecx, [ebp - 0x20]
call fcn.004024f0
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x3fc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d3061
sub eax, edx
je 0x5d308d
cmp dword [esi + 0x3f8], 0
je 0x5d308d
mov eax, dword [esi + 0x3fc]
push eax
push str.userArgs_s
lea ecx, [ebp - 0x20]
push ecx
call fcn.00402f60
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004024f0
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x3b4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d30a2
sub eax, edx
je 0x5d30c5
mov edx, dword [esi + 0x400]
push edx
push str.tcUrl_s
lea eax, [ebp - 0x1c]
push eax
call fcn.00402f60
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.004024f0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [esi + 0x3ec]
push eax
mov ecx, dword [esi + 0x3e8]
push ecx
sub esp, 0x20
fld qword [esi + 0x3e0]
fstp qword [esp + 0x18]
fld qword [esi + 0x3d8]
fstp qword [esp + 0x10]
fld qword [esi + 0x3d0]
fstp qword [esp + 8]
fld qword [esi + 0x3c8]
fstp qword [esp]
push str.capabilities_faudioCodecs_fvideoCodecs_fvideoFunction_fduration_I64d_s_s
lea edx, [ebp - 0x18]
push edx
call fcn.00402f60
add esp, 0x38
mov edx, dword [ebp - 0x18]
mov eax, edx
lea ebx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d3130
sub eax, ebx
inc eax
push eax
push edx
push 1
push 0
push str.Cookie
mov eax, dword [esi + 0x48c]
push eax
call edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00402560
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.005d0770
wait
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc