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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f8f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
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 - 0x1c], esi
mov dword [ebp - 4], 0
je 0x52ba28
mov ecx, dword [esi + 0x330]
test ecx, ecx
jne 0x52b6d2
push eax
mov ecx, esi
call fcn.0052e8c0
test al, al
je 0x52ba28
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 + 0x330]
push str.Host
push eax
call ebx
mov edx, dword [esi + 4]
test edx, edx
je 0x52b71d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x330]
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 + 0x330]
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 + 0x330]
push str.User
push eax
call ebx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x330]
push 0
push ecx
push str.EncPassword
push str.Password
push edx
call fcn.005233c0
mov eax, dword [esi + 0x3c]
add esp, 0x14
test eax, eax
je 0x52b78c
mov ecx, esi
call fcn.0052ba90
mov edx, dword [esi + 0x40]
test edx, edx
je 0x52b7c8
mov al, byte [esi + 0x2a2]
mov dword [ebp - 0x14], str.WDescription
test al, al
jne 0x52b7ab
mov dword [ebp - 0x14], 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 + 0x330]
push edx
push 1
push eax
mov eax, dword [ebp - 0x14]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x20]
test edx, edx
je 0x52b7ed
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 + 0x330]
push 1
push eax
push str.LastModified
push edx
call ebx
mov eax, dword [esi + 0x158]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x52b811
inc ecx
push ecx
push eax
mov eax, dword [esi + 0x330]
push 1
push 0
push 0x631c28
push eax
call ebx
jmp 0x52b823
mov ecx, dword [esi + 0x330]
push 0x631c28
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esi + 0xc0]
mov eax, dword [edx - 8]
test eax, eax
je 0x52b84e
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 + 0x330]
push 1
push eax
push str.mdtm
push edx
call ebx
mov edx, dword [esi + 0x18]
test edx, edx
je 0x52b873
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 + 0x330]
push str.Referer
push eax
call ebx
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x52b898
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x330]
push edx
push 1
push eax
push str.Cookie
push ecx
call ebx
mov eax, dword [esi + 0x154]
lea edi, [esi + 0x154]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x52b8c2
mov edx, dword [esi + 0x330]
inc ecx
push ecx
push eax
push 1
push 0
push 0x631c34
push edx
call ebx
jmp 0x52b90d
mov al, byte [esi + 0x150]
test al, al
je 0x52b8fb
mov al, byte [esi + 0x2a3]
test al, al
je 0x52b8fb
push 0x63e040
mov ecx, edi
call fcn.0056a289
mov edi, dword [edi]
mov eax, dword [esi + 0x330]
push 1
push edi
push 1
push 0
push 0x631c34
push eax
call ebx
jmp 0x52b90d
mov ecx, dword [esi + 0x330]
push 0x631c34
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x52b931
mov edx, dword [esi + 0x330]
inc ecx
push ecx
push eax
push 1
push 0
push str.PDCType
push edx
call ebx
jmp 0x52b943
mov eax, dword [esi + 0x330]
push str.PDCType
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esi + 0x330]
lea ecx, [esi + 0x24]
push 4
push ecx
push 4
push 0
push str.TPswitch
push edx
call ebx
mov ecx, dword [esi + 0x330]
lea eax, [esi + 0x14]
push 4
push eax
push 4
push 0
push str.Port
push ecx
call ebx
mov eax, dword [esi + 0x330]
lea edx, [esi + 0x298]
push 4
push edx
push 4
push 0
push str.categoryID
push eax
call ebx
mov eax, dword [esi + 0x330]
lea edx, [ebp - 0x18]
push 4
push edx
xor ecx, ecx
push 4
mov cl, byte [esi + 0x2a4]
push 0
push str.CISBU
push eax
mov dword [ebp - 0x18], ecx
call ebx
mov edx, dword [esi + 0x330]
lea ecx, [esi + 0x13c]
push 4
push ecx
push 4
push 0
push str.cFlags
push edx
call ebx
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x52b9f4
jg 0x52b9dc
mov eax, dword [ebp + 0xc]
test eax, eax
jbe 0x52b9f4
mov ecx, dword [esi + 0x330]
lea eax, [ebp + 0xc]
push 8
push eax
push 0
push 0
push str.FileSize
push ecx
call ebx
mov al, byte [esi + 0x145]
test al, al
je 0x52ba1d
mov eax, dword [esi + 0x330]
lea edx, [ebp - 0x14]
push 4
push edx
push 4
push 0
push str.bChCnt
push eax
mov dword [ebp - 0x14], 1
call ebx
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.0052bdf0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc