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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565b28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
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 - 0x14], esi
mov dword [ebp - 4], 0
je 0x50905e
mov ecx, dword [esi + 0x3c0]
test ecx, ecx
jne 0x508d22
push eax
mov ecx, esi
call fcn.0050a460
test al, al
je 0x50905e
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 0x508d6d
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 str.User
push eax
call ebx
mov edx, dword [esi + 0x10]
or ecx, 0xffffffff
mov edi, edx
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.Password
push ecx
call ebx
mov edx, dword [esi + 0x34]
test edx, edx
je 0x508e4e
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.LocalNameForSave
push edx
call ebx
mov eax, dword [0x5c2a74]
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x34]
lea edx, [ebp + 8]
push ecx
push 0x5a3e24
push edx
mov byte [ebp - 4], 1
call fcn.0053afda
mov eax, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.00507990
mov edx, dword [ebp + 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x3c0]
push edx
push eax
push eax
push str.EncLNFS
push ecx
call ebx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.005421be
mov edx, dword [esi + 0x38]
test edx, edx
je 0x508e73
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.Description
push eax
call ebx
mov edx, dword [esi + 0x20]
test edx, edx
je 0x508e98
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.LastModified
push ecx
call ebx
mov eax, dword [esi + 0x1f0]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x508ed5
mov edx, dword [esi + 0x3c0]
inc ecx
push ecx
push eax
push 1
push 0
push 0x5befd8
push edx
call ebx
jmp 0x508ee7
mov eax, dword [esi + 0x3c0]
push 0x5befd8
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esi + 0x1b4]
mov eax, dword [edx - 8]
test eax, eax
je 0x508f12
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.mdtm
push ecx
call ebx
mov edx, dword [esi + 0x18]
test edx, edx
je 0x508f37
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.Referer
push edx
call ebx
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x508f5c
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.Cookie
push eax
call ebx
mov eax, dword [esi + 0x1ec]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x508f80
inc ecx
push ecx
mov ecx, dword [esi + 0x3c0]
push eax
push 1
push 0
push 0x5befe4
push ecx
call ebx
jmp 0x508f92
mov edx, dword [esi + 0x3c0]
push 0x5befe4
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x1c4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x508fb6
inc ecx
push ecx
push eax
mov eax, dword [esi + 0x3c0]
push 1
push 0
push str.PDCType
push eax
call ebx
jmp 0x508fc8
mov ecx, dword [esi + 0x3c0]
push str.PDCType
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x3c0]
lea edx, [esi + 0x24]
push 4
push edx
push 4
push 0
push str.TPswitch
push eax
call ebx
mov edx, dword [esi + 0x3c0]
lea ecx, [esi + 0x14]
push 4
push ecx
push 4
push 0
push str.Port
push edx
call ebx
mov ecx, dword [esi + 0x3c0]
lea eax, [esi + 0x334]
push 4
push eax
push 4
push 0
push str.categoryID
push ecx
call ebx
mov ecx, dword [esi + 0x3c0]
lea eax, [ebp - 0x18]
push 4
push eax
xor edx, edx
push 4
mov dl, byte [esi + 0x33b]
push 0
push str.CISBU
push ecx
mov dword [ebp - 0x18], edx
call ebx
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x50905e
jg 0x509046
mov eax, dword [ebp + 0xc]
test eax, eax
jbe 0x50905e
mov eax, dword [esi + 0x3c0]
lea edx, [ebp + 0xc]
push 8
push edx
push 0
push 0
push str.FileSize
push eax
call ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc