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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
je 0x56d40e
mov ecx, dword [esi + 0x3c0]
test ecx, ecx
jne 0x56ced2
push eax
mov ecx, esi
call fcn.00570c40
test al, al
je 0x56d40e
mov edx, dword [esi]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
push edx
push 1
push eax
mov eax, dword [esi + 0x3c0]
push str.Host
push eax
call ebx
mov edx, dword [esi + 4]
test edx, edx
je 0x56cf1d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x3c0]
push edx
push 1
push eax
push str.Path
push ecx
call ebx
mov edx, dword [esi + 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esi + 0x3c0]
push 1
push eax
push str.FileName
push edx
call ebx
mov edx, dword [esi + 0xc]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esi + 0x3c0]
push 0x677928
push eax
call ebx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x3c0]
push 0
push ecx
push str.EncPassword
push 0x67791c
push edx
call fcn.00562200
mov eax, dword [esi + 0x3c]
add esp, 0x14
test eax, eax
je 0x56cf8c
mov ecx, esi
call fcn.0056d550
mov edx, dword [esi + 0x40]
test edx, edx
je 0x56cfc8
mov al, byte [esi + 0x2ce]
mov dword [ebp - 0x20], str.WDescription
test al, al
jne 0x56cfab
mov dword [ebp - 0x20], 0x66d050
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x3c0]
push edx
push 1
push eax
mov eax, dword [ebp - 0x20]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x20]
test edx, edx
je 0x56cfed
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esi + 0x3c0]
push 1
push eax
push str.LastModified
push edx
call ebx
mov eax, dword [esi + 0x164]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x56d011
inc ecx
push ecx
push eax
mov eax, dword [esi + 0x3c0]
push 1
push 0
push 0x6852cc
push eax
call ebx
jmp 0x56d023
mov ecx, dword [esi + 0x3c0]
push 0x6852cc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esi + 0xc0]
mov eax, dword [edx - 8]
test eax, eax
je 0x56d04e
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esi + 0x3c0]
push 1
push eax
push str.mdtm
push edx
call ebx
mov edx, dword [esi + 0x18]
test edx, edx
je 0x56d073
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esi + 0x3c0]
push str.Referer
push eax
call ebx
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x56d098
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x3c0]
push edx
push 1
push eax
push str.Cookie
push ecx
call ebx
mov eax, dword [esi + 0x160]
lea edi, [esi + 0x160]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x56d0c2
mov edx, dword [esi + 0x3c0]
inc ecx
push ecx
push eax
push 1
push 0
push 0x6852d8
push edx
call ebx
jmp 0x56d10d
mov al, byte [esi + 0x15c]
test al, al
je 0x56d0fb
mov al, byte [esi + 0x2d1]
test al, al
je 0x56d0fb
push 0x691568
mov ecx, edi
call fcn.005addd6
mov edi, dword [edi]
mov eax, dword [esi + 0x3c0]
push 1
push edi
push 1
push 0
push 0x6852d8
push eax
call ebx
jmp 0x56d10d
mov ecx, dword [esi + 0x3c0]
push 0x6852d8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x56d131
mov edx, dword [esi + 0x3c0]
inc ecx
push ecx
push eax
push 1
push 0
push str.PDCType
push edx
call ebx
jmp 0x56d143
mov eax, dword [esi + 0x3c0]
push str.PDCType
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esi + 0x3c0]
lea eax, [esi + 0x24]
push 4
push eax
push 4
push 0
push str.TPswitch
push ecx
call ebx
mov eax, dword [esi + 0x3c0]
lea edx, [esi + 0x14]
push 4
push edx
push 4
push 0
push 0x685398
push eax
call ebx
mov edx, dword [esi + 0x3c0]
lea ecx, [esi + 0x2c4]
push 4
push ecx
push 4
push 0
push str.categoryID
push edx
call ebx
mov edx, dword [esi + 0x3c0]
lea ecx, [ebp - 0x14]
push 4
push ecx
xor eax, eax
push 4
mov al, byte [esi + 0x2d5]
push 0
push str.CISBU
push edx
mov dword [ebp - 0x14], eax
call ebx
mov al, byte [esi + 0x2d0]
test al, al
je 0x56d1da
mov ecx, dword [esi + 0x3c0]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push str.bPHSBU
push ecx
mov dword [ebp - 0x14], 1
call ebx
mov al, byte [esi + 0x15a]
test al, al
je 0x56d203
mov eax, dword [esi + 0x3c0]
lea edx, [ebp - 0x14]
push 4
push edx
push 4
push 0
push str.bRPCHK
push eax
mov dword [ebp - 0x14], 1
call ebx
mov edx, dword [esi + 0x3c0]
lea ecx, [esi + 0x144]
push 4
push ecx
push 4
push 0
push str.cFlags
push edx
call ebx
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x56d246
jg 0x56d22e
mov eax, dword [ebp + 0xc]
test eax, eax
jbe 0x56d246
mov ecx, dword [esi + 0x3c0]
lea eax, [ebp + 0xc]
push 8
push eax
push 0
push 0
push str.FileSize
push ecx
call ebx
mov edx, dword [esi + 0x114]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56d292
push 0x5c
push edx
call fcn.00592690
mov edx, eax
add esp, 8
test edx, edx
je 0x56d26e
inc edx
jmp 0x56d274
mov edx, dword [esi + 0x114]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esi + 0x3c0]
push 1
push eax
push str.cFromDll
push edx
call ebx
mov al, byte [esi + 0x14d]
test al, al
je 0x56d2bb
mov ecx, dword [esi + 0x3c0]
lea eax, [ebp - 0x20]
push 4
push eax
push 4
push 0
push str.bChCnt
push ecx
mov dword [ebp - 0x20], 1
call ebx
mov eax, dword [esi + 0x24]
cmp eax, 4
je 0x56d2cc
cmp eax, 5
jne 0x56d403
mov al, byte [esi + 0x2d4]
test al, al
je 0x56d403
mov edx, dword [0x68d01c]
mov dword [ebp - 0x20], edx
mov edi, dword [esi + 0x344]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56d31b
mov eax, dword [esi + 0x340]
test eax, eax
je 0x56d31b
mov eax, dword [esi + 0x344]
lea ecx, [ebp - 0x20]
push eax
push str.userArgs_s
push ecx
call fcn.005a6a18
add esp, 0xc
mov edx, dword [0x68d01c]
mov dword [ebp - 0x1c], edx
mov edi, dword [esi + 0x2fc]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x56d352
mov eax, dword [esi + 0x348]
lea ecx, [ebp - 0x1c]
push eax
push str.tcUrl_s
push ecx
call fcn.005a6a18
add esp, 0xc
mov edx, dword [0x68d01c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi + 0x334]
push eax
mov eax, dword [esi + 0x330]
push ecx
mov ecx, dword [esi + 0x32c]
push edx
mov edx, dword [esi + 0x328]
push eax
mov eax, dword [esi + 0x324]
push ecx
mov ecx, dword [esi + 0x320]
push edx
mov edx, dword [esi + 0x31c]
push eax
mov eax, dword [esi + 0x318]
push ecx
mov ecx, dword [esi + 0x314]
push edx
mov edx, dword [esi + 0x310]
push eax
push ecx
push edx
lea eax, [ebp - 0x18]
push str.capabilities_faudioCodecs_fvideoCodecs_fvideoFunction_fduration_I64d_s_s
push eax
mov byte [ebp - 4], 3
call fcn.005a6a18
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x38
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x3c0]
push edx
push 1
push eax
push str.Cookie
push ecx
call ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005adc4d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005adc4d
mov edx, dword [ebp + 8]
mov ecx, esi
push edx
call fcn.0056d8b0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc