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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60b128
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 0x59e5c9
mov ecx, dword [esi + 0x408]
test ecx, ecx
jne 0x59dfa2
push eax
mov ecx, esi
call fcn.005a2060
test al, al
je 0x59e5c9
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 + 0x408]
push str.Host
push eax
call ebx
mov edx, dword [esi + 4]
test edx, edx
je 0x59dfed
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x408]
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 + 0x408]
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 + 0x408]
push 0x6a6580
push eax
call ebx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x408]
push 0
push ecx
push str.EncPassword
push 0x6b1cac
push edx
call fcn.00590830
mov eax, dword [esi + 0x3c]
add esp, 0x14
test eax, eax
je 0x59e05c
mov ecx, esi
call fcn.0059e710
mov edx, dword [esi + 0x40]
test edx, edx
je 0x59e098
mov al, byte [esi + 0x2f6]
mov dword [ebp - 0x20], str.WDescription
test al, al
jne 0x59e07b
mov dword [ebp - 0x20], 0x6a5c40
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x408]
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 0x59e0bd
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 + 0x408]
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 0x59e0e1
inc ecx
push ecx
push eax
mov eax, dword [esi + 0x408]
push 1
push 0
push 0x6c02cc
push eax
call ebx
jmp 0x59e0f3
mov ecx, dword [esi + 0x408]
push 0x6c02cc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esi + 0xc0]
mov eax, dword [edx - 8]
test eax, eax
je 0x59e11e
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 + 0x408]
push 1
push eax
push str.mdtm
push edx
call ebx
mov edx, dword [esi + 0x18]
test edx, edx
je 0x59e143
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 + 0x408]
push str.Referer
push eax
call ebx
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x59e168
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x408]
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 0x59e192
mov edx, dword [esi + 0x408]
inc ecx
push ecx
push eax
push 1
push 0
push 0x6c02d8
push edx
call ebx
jmp 0x59e1dd
mov al, byte [esi + 0x15e]
test al, al
je 0x59e1cb
mov al, byte [esi + 0x2fa]
test al, al
je 0x59e1cb
push 0x6cc7b8
mov ecx, edi
call fcn.005df6df
mov edi, dword [edi]
mov eax, dword [esi + 0x408]
push 1
push edi
push 1
push 0
push 0x6c02d8
push eax
call ebx
jmp 0x59e1dd
mov ecx, dword [esi + 0x408]
push 0x6c02d8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59e205
mov edx, dword [esi + 0x408]
inc ecx
push ecx
mov edi, 1
push eax
push edi
push 0
push str.PDCType
push edx
call ebx
jmp 0x59e21c
mov eax, dword [esi + 0x408]
push str.PDCType
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, 1
mov ecx, dword [esi + 0x408]
lea eax, [esi + 0x24]
push 4
push eax
push 4
push 0
push str.TPswitch
push ecx
call ebx
mov eax, dword [esi + 0x408]
lea edx, [esi + 0x14]
push 4
push edx
push 4
push 0
push 0x6c0398
push eax
call ebx
mov edx, dword [esi + 0x408]
lea ecx, [esi + 0x2cc]
push 4
push ecx
push 4
push 0
push str.categoryID
push edx
call ebx
mov edx, dword [esi + 0x408]
lea ecx, [ebp - 0x14]
push 4
push ecx
xor eax, eax
push 4
mov al, byte [esi + 0x2fe]
push 0
push str.CISBU
push edx
mov dword [ebp - 0x14], eax
call ebx
mov al, byte [esi + 0x2f8]
test al, al
je 0x59e2af
mov ecx, dword [esi + 0x408]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push str.bPHSBU
push ecx
mov dword [ebp - 0x14], edi
call ebx
mov al, byte [esi + 0x15c]
test al, al
je 0x59e2d4
mov eax, dword [esi + 0x408]
lea edx, [ebp - 0x14]
push 4
push edx
push 4
push 0
push str.bRPCHK
push eax
mov dword [ebp - 0x14], edi
call ebx
mov al, byte [esi + 0x178]
test al, al
je 0x59e2f9
mov edx, dword [esi + 0x408]
lea ecx, [ebp - 0x14]
push 4
push ecx
push 4
push 0
push str.bUNRA
push edx
mov dword [ebp - 0x14], edi
call ebx
mov ecx, dword [esi + 0x408]
lea eax, [esi + 0x144]
push 4
push eax
push 4
push 0
push str.cFlags
push ecx
call ebx
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x59e33c
jg 0x59e324
mov eax, dword [ebp + 0xc]
test eax, eax
jbe 0x59e33c
mov eax, dword [esi + 0x408]
lea edx, [ebp + 0xc]
push 8
push edx
push 0
push 0
push str.FileSize
push eax
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 0x59e388
push 0x5c
push edx
call fcn.005c3ed0
mov edx, eax
add esp, 8
test edx, edx
je 0x59e364
inc edx
jmp 0x59e36a
mov edx, dword [esi + 0x114]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x408]
push edx
push 1
push eax
push str.cFromDll
push ecx
call ebx
mov eax, dword [esi + 0x2e8]
test eax, eax
je 0x59e3ad
lea edx, [ebp - 0x20]
push 4
push edx
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x408]
push 4
push 0
push str.nAggrV
push eax
call ebx
mov edx, dword [esi + 0x2d0]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x59e3dd
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x408]
push edx
push 1
push eax
push str.bstrInfo
push ecx
call ebx
mov eax, dword [esi + 0x2e0]
test eax, eax
je 0x59e450
lea edx, [ebp - 0x18]
push 4
push edx
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x408]
push 4
push 0
push str.nAggr2
push eax
call ebx
mov al, byte [esi + 0x2ee]
test al, al
je 0x59e42b
mov edx, dword [esi + 0x408]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
push 0
push str.bPFAV
push edx
mov dword [ebp - 0x18], 1
call ebx
mov ecx, dword [esi + 0x2dc]
lea eax, [esi + 0x2dc]
test ecx, ecx
je 0x59e450
push 4
push eax
mov eax, dword [esi + 0x408]
push 4
push 0
push str.nAATDID
push eax
call ebx
mov al, byte [esi + 0x14d]
test al, al
je 0x59e479
mov edx, dword [esi + 0x408]
lea ecx, [ebp - 0x20]
push 4
push ecx
push 4
push 0
push str.bChCnt
push edx
mov dword [ebp - 0x20], 1
call ebx
mov eax, dword [esi + 0x24]
cmp eax, 4
je 0x59e48a
cmp eax, 5
jne 0x59e5be
mov al, byte [esi + 0x2fd]
test al, al
je 0x59e5be
mov eax, dword [0x6c826c]
mov dword [ebp - 0x20], eax
mov edi, dword [esi + 0x38c]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x59e4d8
mov eax, dword [esi + 0x388]
test eax, eax
je 0x59e4d8
mov ecx, dword [esi + 0x38c]
lea edx, [ebp - 0x20]
push ecx
push str.userArgs_s
push edx
call fcn.005d838b
add esp, 0xc
mov eax, dword [0x6c826c]
mov dword [ebp - 0x1c], eax
mov edi, dword [esi + 0x340]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x59e50e
mov ecx, dword [esi + 0x390]
lea edx, [ebp - 0x1c]
push ecx
push str.tcUrl_s
push edx
call fcn.005d838b
add esp, 0xc
mov eax, dword [0x6c826c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x37c]
push ecx
mov ecx, dword [esi + 0x378]
push edx
mov edx, dword [esi + 0x374]
push eax
mov eax, dword [esi + 0x370]
push ecx
mov ecx, dword [esi + 0x36c]
push edx
mov edx, dword [esi + 0x368]
push eax
mov eax, dword [esi + 0x364]
push ecx
mov ecx, dword [esi + 0x360]
push edx
mov edx, dword [esi + 0x35c]
push eax
mov eax, dword [esi + 0x358]
push ecx
push edx
push eax
lea ecx, [ebp - 0x18]
push str.capabilities_faudioCodecs_fvideoCodecs_fvideoFunction_fduration_I64d_s_s
push ecx
mov byte [ebp - 4], 3
call fcn.005d838b
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
mov edx, dword [esi + 0x408]
push 1
push eax
push str.Cookie
push edx
call ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005df556
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005df556
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005df556
mov eax, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.0059ea70
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc