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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6599a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
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 0x5c5e04
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 + 0x478], 0
jne 0x5c5e19
push eax
mov ecx, esi
call fcn.005c2b90
test al, al
je 0x5c5def
mov ecx, dword [esi]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5c5e20
sub eax, edi
inc eax
push eax
push ecx
push 1
push 0
push 0x6a5cf8
mov eax, dword [esi + 0x478]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5c5e6e
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5c5e50
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.Path
mov ecx, dword [esi + 0x478]
push ecx
call edi
mov ecx, dword [esi + 8]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5c5e76
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.FileName
mov edx, dword [esi + 0x478]
push edx
call edi
mov ecx, dword [esi + 0xc]
mov eax, ecx
lea edx, [eax + 1]
lea esp, [esp]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x5c5ea0
sub eax, edx
inc eax
push eax
push ecx
push 1
push 0
push 0x67e62c
mov eax, dword [esi + 0x478]
push eax
call edi
push 0
mov ecx, dword [esi + 0x10]
push ecx
push str.EncPassword
push 0x68cf5c
mov edx, dword [esi + 0x478]
push edx
call fcn.005ae320
add esp, 0x14
cmp dword [esi + 0x3c], 0
je 0x5c5eea
mov ecx, esi
call fcn.005c0050
mov edx, dword [esi + 0x40]
test edx, edx
je 0x5c5f22
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c5ef6
sub eax, ebx
cmp byte [esi + 0x32e], cl
mov ecx, str.WDescription
jne 0x5c5f11
mov ecx, 0x67c960
inc eax
push eax
push edx
push 1
push 0
push ecx
mov eax, dword [esi + 0x478]
push eax
call edi
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x5c5f4e
mov eax, ecx
lea ebx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5c5f30
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.LastModified
mov ecx, dword [esi + 0x478]
push ecx
call edi
mov eax, dword [esi + 0x18c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x5c5f72
inc ecx
push ecx
push eax
push 1
push 0
push 0x6a738c
mov edx, dword [esi + 0x478]
push edx
call edi
jmp 0x5c5f84
push 0x6a738c
mov eax, dword [esi + 0x478]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esi + 0xc0]
cmp dword [ecx - 0xc], 0
je 0x5c5fb3
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5c5f95
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.mdtm
mov ecx, dword [esi + 0x478]
push ecx
call edi
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x5c5fde
mov eax, ecx
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5c5fc0
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.Referer
mov edx, dword [esi + 0x478]
push edx
call edi
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x5c600e
mov eax, ecx
lea ebx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5c5ff0
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.Cookie
mov eax, dword [esi + 0x478]
push eax
call edi
lea ebx, [esi + 0x188]
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x5c6038
inc ecx
push ecx
push eax
mov ebx, 1
push ebx
push 0
push 0x6a7398
mov ecx, dword [esi + 0x478]
push ecx
call edi
jmp 0x5c6086
cmp byte [esi + 0x184], 0
je 0x5c606f
cmp byte [esi + 0x333], 0
je 0x5c606f
push 0x66b96c
mov ecx, ebx
call fcn.00545860
mov ebx, dword [ebx]
push 1
push ebx
push 1
push 0
push 0x6a7398
mov edx, dword [esi + 0x478]
push edx
call edi
jmp 0x5c6081
push 0x6a7398
mov eax, dword [esi + 0x478]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebx, 1
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x5c60a9
inc ecx
push ecx
push eax
push ebx
push 0
push str.PDCType
mov ecx, dword [esi + 0x478]
push ecx
call edi
jmp 0x5c60bb
push str.PDCType
mov edx, dword [esi + 0x478]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [esi + 0x24]
push 4
push eax
push 4
push 0
push str.TPswitch
mov eax, dword [esi + 0x478]
push eax
call edi
push 4
lea ecx, [esi + 0x14]
push ecx
push 4
push 0
push 0x6a7424
mov edx, dword [esi + 0x478]
push edx
call edi
push 4
lea eax, [esi + 0x304]
push eax
push 4
push 0
push str.categoryID
mov ecx, dword [esi + 0x478]
push ecx
call edi
movzx edx, byte [esi + 0x337]
mov dword [ebp - 0x14], edx
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.CISBU
mov ecx, dword [esi + 0x478]
push ecx
call edi
cmp byte [esi + 0x330], 0
je 0x5c614c
mov dword [ebp - 0x14], ebx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push 0
push str.bPHSBU
mov eax, dword [esi + 0x478]
push eax
call edi
cmp byte [esi + 0x331], 0
je 0x5c6170
mov dword [ebp - 0x14], ebx
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.bFLSBU
mov edx, dword [esi + 0x478]
push edx
call edi
cmp byte [esi + 0x182], 0
je 0x5c6194
mov dword [ebp - 0x14], ebx
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.bRPCHK
mov ecx, dword [esi + 0x478]
push ecx
call edi
cmp byte [esi + 0x17d], 0
je 0x5c61b8
mov dword [ebp - 0x14], ebx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push 0
push str.bMUIMPV
mov eax, dword [esi + 0x478]
push eax
call edi
cmp byte [esi + 0x1a0], 0
je 0x5c61dc
mov dword [ebp - 0x14], ebx
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.bUNRA
mov edx, dword [esi + 0x478]
push edx
call edi
push 4
lea eax, [esi + 0x154]
push eax
push 4
push 0
push str.cFlags
mov ecx, dword [esi + 0x478]
push ecx
call edi
cmp dword [ebp + 0x10], 0
jl 0x5c621d
jg 0x5c6205
cmp dword [ebp + 0xc], 0
jbe 0x5c621d
push 8
lea edx, [ebp + 0xc]
push edx
push 0
push 0
push str.FileSize
mov eax, dword [esi + 0x478]
push eax
call edi
mov edx, dword [esi + 0x128]
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c6228
sub eax, ebx
je 0x5c626e
push 0x5c
push edx
call fcn.006159e0
add esp, 8
test eax, eax
je 0x5c6245
inc eax
jmp 0x5c624b
mov eax, dword [esi + 0x128]
mov ecx, eax
lea ebx, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x5c6250
sub ecx, ebx
inc ecx
push ecx
push eax
push 1
push 0
push str.cFromDll
mov ecx, dword [esi + 0x478]
push ecx
call edi
mov eax, dword [esi + 0x320]
test eax, eax
je 0x5c6293
mov dword [ebp - 0x20], eax
push 4
lea edx, [ebp - 0x20]
push edx
push 4
push 0
push str.nAggrV
mov eax, dword [esi + 0x478]
push eax
call edi
mov edx, dword [esi + 0x308]
mov eax, edx
lea ebx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c62a0
sub eax, ebx
je 0x5c62ce
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c62b0
sub eax, ebx
inc eax
push eax
push edx
push 1
push 0
push str.bstrInfo
mov ecx, dword [esi + 0x478]
push ecx
call edi
mov eax, dword [esi + 0x318]
test eax, eax
je 0x5c62f3
mov dword [ebp - 0x1c], eax
push 4
lea edx, [ebp - 0x1c]
push edx
push 4
push 0
push str.nAggr2
mov eax, dword [esi + 0x478]
push eax
call edi
cmp dword [esi + 0x318], 0
jne 0x5c630e
mov eax, dword [esi + 0x320]
cmp eax, 0x40
je 0x5c630e
cmp eax, 0x800
jne 0x5c6356
cmp byte [esi + 0x326], 0
je 0x5c6336
mov dword [ebp - 0x18], 1
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
push str.bPFAV
mov edx, dword [esi + 0x478]
push edx
call edi
lea eax, [esi + 0x314]
cmp dword [eax], 0
je 0x5c6356
push 4
push eax
push 4
push 0
push str.nAATDID
mov eax, dword [esi + 0x478]
push eax
call edi
cmp byte [esi + 0x165], 0
je 0x5c637e
mov dword [ebp - 0x24], 1
push 4
lea ecx, [ebp - 0x24]
push ecx
push 4
push 0
push str.bChCnt
mov edx, dword [esi + 0x478]
push edx
call edi
mov eax, dword [esi + 0x24]
cmp eax, 4
je 0x5c638f
cmp eax, 5
jne 0x5c64c2
cmp byte [esi + 0x336], 0
je 0x5c64c2
lea ecx, [ebp - 0x20]
call fcn.00402500
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x3ec]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c63b1
sub eax, edx
je 0x5c63dd
cmp dword [esi + 0x3e8], 0
je 0x5c63dd
mov eax, dword [esi + 0x3ec]
push eax
push str.userArgs_s
lea ecx, [ebp - 0x20]
push ecx
call fcn.00402f80
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00402500
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x3a0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c63f2
sub eax, edx
je 0x5c6415
mov edx, dword [esi + 0x3f0]
push edx
push str.tcUrl_s
lea eax, [ebp - 0x1c]
push eax
call fcn.00402f80
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00402500
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [esi + 0x3dc]
push eax
mov ecx, dword [esi + 0x3d8]
push ecx
sub esp, 0x20
fld qword [esi + 0x3d0]
fstp qword [esp + 0x18]
fld qword [esi + 0x3c8]
fstp qword [esp + 0x10]
fld qword [esi + 0x3c0]
fstp qword [esp + 8]
fld qword [esi + 0x3b8]
fstp qword [esp]
push str.capabilities_faudioCodecs_fvideoCodecs_fvideoFunction_fduration_I64d_s_s
lea edx, [ebp - 0x18]
push edx
call fcn.00402f80
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 0x5c6480
sub eax, ebx
inc eax
push eax
push edx
push 1
push 0
push str.Cookie
mov eax, dword [esi + 0x478]
push eax
call edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00402570
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.005c3c90
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