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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af5c8
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 0x54969a
mov ecx, dword [esi + 0x3a0]
test ecx, ecx
jne 0x5491b2
push eax
mov ecx, esi
call fcn.0054cc00
test al, al
je 0x54969a
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 + 0x3a0]
push str.Host
push eax
call ebx
mov edx, dword [esi + 4]
test edx, edx
je 0x5491fd
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x3a0]
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 + 0x3a0]
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 + 0x3a0]
push str.User
push eax
call ebx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x3a0]
push 0
push ecx
push str.EncPassword
push str.Password
push edx
call fcn.0053f850
mov eax, dword [esi + 0x3c]
add esp, 0x14
test eax, eax
je 0x54926c
mov ecx, esi
call fcn.00549790
mov edx, dword [esi + 0x40]
test edx, edx
je 0x5492a8
mov al, byte [esi + 0x2ae]
mov dword [ebp - 0x20], str.WDescription
test al, al
jne 0x54928b
mov dword [ebp - 0x20], str.Description
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x3a0]
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 0x5492cd
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 + 0x3a0]
push 1
push eax
push str.LastModified
push edx
call ebx
mov eax, dword [esi + 0x160]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5492f1
inc ecx
push ecx
push eax
mov eax, dword [esi + 0x3a0]
push 1
push 0
push 0x656da8
push eax
call ebx
jmp 0x549303
mov ecx, dword [esi + 0x3a0]
push 0x656da8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esi + 0xc0]
mov eax, dword [edx - 8]
test eax, eax
je 0x54932e
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 + 0x3a0]
push 1
push eax
push str.mdtm
push edx
call ebx
mov edx, dword [esi + 0x18]
test edx, edx
je 0x549353
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 + 0x3a0]
push str.Referer
push eax
call ebx
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x549378
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x3a0]
push edx
push 1
push eax
push str.Cookie
push ecx
call ebx
mov eax, dword [esi + 0x15c]
lea edi, [esi + 0x15c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5493a2
mov edx, dword [esi + 0x3a0]
inc ecx
push ecx
push eax
push 1
push 0
push 0x656db4
push edx
call ebx
jmp 0x5493ed
mov al, byte [esi + 0x15b]
test al, al
je 0x5493db
mov al, byte [esi + 0x2b1]
test al, al
je 0x5493db
push 0x663188
mov ecx, edi
call fcn.00588849
mov edi, dword [edi]
mov eax, dword [esi + 0x3a0]
push 1
push edi
push 1
push 0
push 0x656db4
push eax
call ebx
jmp 0x5493ed
mov ecx, dword [esi + 0x3a0]
push 0x656db4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x549411
mov edx, dword [esi + 0x3a0]
inc ecx
push ecx
push eax
push 1
push 0
push str.PDCType
push edx
call ebx
jmp 0x549423
mov eax, dword [esi + 0x3a0]
push str.PDCType
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esi + 0x3a0]
lea edi, [esi + 0x24]
push 4
push edi
push 4
push 0
push str.TPswitch
push ecx
call ebx
mov eax, dword [esi + 0x3a0]
lea edx, [esi + 0x14]
push 4
push edx
push 4
push 0
push str.Port
push eax
call ebx
mov edx, dword [esi + 0x3a0]
lea ecx, [esi + 0x2a4]
push 4
push ecx
push 4
push 0
push str.categoryID
push edx
call ebx
mov edx, dword [esi + 0x3a0]
lea ecx, [ebp - 0x14]
push 4
push ecx
xor eax, eax
push 4
mov al, byte [esi + 0x2b5]
push 0
push str.CISBU
push edx
mov dword [ebp - 0x14], eax
call ebx
mov al, byte [esi + 0x2b0]
test al, al
je 0x5494ba
mov ecx, dword [esi + 0x3a0]
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 + 0x159]
test al, al
je 0x5494e3
mov eax, dword [esi + 0x3a0]
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 + 0x3a0]
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 0x549526
jg 0x54950e
mov eax, dword [ebp + 0xc]
test eax, eax
jbe 0x549526
mov ecx, dword [esi + 0x3a0]
lea eax, [ebp + 0xc]
push 8
push eax
push 0
push 0
push str.FileSize
push ecx
call ebx
mov al, byte [esi + 0x14d]
test al, al
je 0x54954f
mov eax, dword [esi + 0x3a0]
lea edx, [ebp - 0x20]
push 4
push edx
push 4
push 0
push str.bChCnt
push eax
mov dword [ebp - 0x20], 1
call ebx
cmp dword [edi], 4
jne 0x54968f
mov al, byte [esi + 0x2b4]
test al, al
je 0x54968f
mov ecx, dword [0x65ec1c]
mov dword [ebp - 0x20], ecx
mov edi, dword [esi + 0x324]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5495a7
mov eax, dword [esi + 0x320]
test eax, eax
je 0x5495a7
mov edx, dword [esi + 0x324]
lea eax, [ebp - 0x20]
push edx
push str.userArgs_s
push eax
call fcn.0058148b
add esp, 0xc
mov ecx, dword [0x65ec1c]
mov dword [ebp - 0x1c], ecx
mov edi, dword [esi + 0x2dc]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5495de
mov edx, dword [esi + 0x328]
lea eax, [ebp - 0x1c]
push edx
push str.tcUrl_s
push eax
call fcn.0058148b
add esp, 0xc
mov ecx, dword [0x65ec1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi + 0x314]
push edx
mov edx, dword [esi + 0x310]
push eax
mov eax, dword [esi + 0x30c]
push ecx
mov ecx, dword [esi + 0x308]
push edx
mov edx, dword [esi + 0x304]
push eax
mov eax, dword [esi + 0x300]
push ecx
mov ecx, dword [esi + 0x2fc]
push edx
mov edx, dword [esi + 0x2f8]
push eax
mov eax, dword [esi + 0x2f4]
push ecx
mov ecx, dword [esi + 0x2f0]
push edx
push eax
push ecx
lea edx, [ebp - 0x18]
push str.capabilities_faudioCodecs_fvideoCodecs_fvideoFunction_fduration_I64d_s_s
push edx
mov byte [ebp - 4], 3
call fcn.0058148b
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
push edx
push 1
push eax
mov eax, dword [esi + 0x3a0]
push str.Cookie
push eax
call ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005886c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005886c0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00549af0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc