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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6670e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
wait
mov eax, dword [ebp + 8]
test eax, eax
jne 0x5d2164
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0x48c], 0
jne 0x5d2179
push eax
mov ecx, esi
call fcn.005cee30
test al, al
je 0x5d214f
mov ecx, dword [esi]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d2180
sub eax, edi
inc eax
push eax
push ecx
push 1
push 0
push 0x6b45d8
mov eax, dword [esi + 0x48c]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5d21ce
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d21b0
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.Path
mov ecx, dword [esi + 0x48c]
push ecx
call edi
mov ecx, dword [esi + 8]
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d21d6
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.FileName
mov edx, dword [esi + 0x48c]
push edx
call edi
mov ecx, dword [esi + 0xc]
mov eax, ecx
lea edx, [eax + 1]
lea esp, [esp]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x5d2200
sub eax, edx
inc eax
push eax
push ecx
push 1
push 0
push 0x68cb9c
mov eax, dword [esi + 0x48c]
push eax
call edi
push 0
mov ecx, dword [esi + 0x10]
push ecx
push str.EncPassword
push 0x69b594
mov edx, dword [esi + 0x48c]
push edx
call fcn.005ba240
add esp, 0x14
cmp dword [esi + 0x3c], 0
je 0x5d224a
mov ecx, esi
call fcn.005cc2a0
mov edx, dword [esi + 0x40]
test edx, edx
je 0x5d2282
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d2256
sub eax, ebx
cmp byte [esi + 0x342], cl
mov ecx, str.WDescription
jne 0x5d2271
mov ecx, 0x68aeb4
inc eax
push eax
push edx
push 1
push 0
push ecx
mov eax, dword [esi + 0x48c]
push eax
call edi
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x5d22ae
mov eax, ecx
lea ebx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d2290
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.LastModified
mov ecx, dword [esi + 0x48c]
push ecx
call edi
mov eax, dword [esi + 0x19c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x5d22d2
inc ecx
push ecx
push eax
push 1
push 0
push 0x6b5d14
mov edx, dword [esi + 0x48c]
push edx
call edi
jmp 0x5d22e4
push 0x6b5d14
mov eax, dword [esi + 0x48c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esi + 0xc0]
cmp dword [ecx - 0xc], 0
je 0x5d2313
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d22f5
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.mdtm
mov ecx, dword [esi + 0x48c]
push ecx
call edi
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x5d233e
mov eax, ecx
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d2320
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.Referer
mov edx, dword [esi + 0x48c]
push edx
call edi
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x5d236e
mov eax, ecx
lea ebx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5d2350
sub eax, ebx
inc eax
push eax
push ecx
push 1
push 0
push str.Cookie
mov eax, dword [esi + 0x48c]
push eax
call edi
lea ebx, [esi + 0x198]
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x5d2398
inc ecx
push ecx
push eax
mov ebx, 1
push ebx
push 0
push 0x6b5d20
mov ecx, dword [esi + 0x48c]
push ecx
call edi
jmp 0x5d23e6
cmp byte [esi + 0x194], 0
je 0x5d23cf
cmp byte [esi + 0x347], 0
je 0x5d23cf
push 0x67997c
mov ecx, ebx
call fcn.0054f250
mov ebx, dword [ebx]
push 1
push ebx
push 1
push 0
push 0x6b5d20
mov edx, dword [esi + 0x48c]
push edx
call edi
jmp 0x5d23e1
push 0x6b5d20
mov eax, dword [esi + 0x48c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebx, 1
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x5d2409
inc ecx
push ecx
push eax
push ebx
push 0
push str.PDCType
mov ecx, dword [esi + 0x48c]
push ecx
call edi
jmp 0x5d241b
push str.PDCType
mov edx, dword [esi + 0x48c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [esi + 0x24]
push 4
push eax
push 4
push 0
push str.TPswitch
mov eax, dword [esi + 0x48c]
push eax
call edi
push 4
lea ecx, [esi + 0x14]
push ecx
push 4
push 0
push 0x6b5dac
mov edx, dword [esi + 0x48c]
push edx
call edi
push 4
lea eax, [esi + 0x314]
push eax
push 4
push 0
push str.categoryID
mov ecx, dword [esi + 0x48c]
push ecx
call edi
movzx edx, byte [esi + 0x34b]
mov dword [ebp - 0x14], edx
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.CISBU
mov ecx, dword [esi + 0x48c]
push ecx
call edi
cmp byte [esi + 0x344], 0
je 0x5d24ac
mov dword [ebp - 0x14], ebx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push 0
push str.bPHSBU
mov eax, dword [esi + 0x48c]
push eax
call edi
cmp byte [esi + 0x345], 0
je 0x5d24d0
mov dword [ebp - 0x14], ebx
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.bFLSBU
mov edx, dword [esi + 0x48c]
push edx
call edi
cmp byte [esi + 0x192], 0
je 0x5d24f4
mov dword [ebp - 0x14], ebx
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.bRPCHK
mov ecx, dword [esi + 0x48c]
push ecx
call edi
cmp byte [esi + 0x18d], 0
je 0x5d2518
mov dword [ebp - 0x14], ebx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push 0
push str.bMUIMPV
mov eax, dword [esi + 0x48c]
push eax
call edi
cmp byte [esi + 0x1b0], 0
je 0x5d253c
mov dword [ebp - 0x14], ebx
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.bUNRA
mov edx, dword [esi + 0x48c]
push edx
call edi
push 4
lea eax, [esi + 0x15c]
push eax
push 4
push 0
push str.cFlags
mov ecx, dword [esi + 0x48c]
push ecx
call edi
cmp dword [ebp + 0x10], 0
jl 0x5d257d
jg 0x5d2565
cmp dword [ebp + 0xc], 0
jbe 0x5d257d
push 8
lea edx, [ebp + 0xc]
push edx
push 0
push 0
push str.FileSize
mov eax, dword [esi + 0x48c]
push eax
call edi
mov eax, dword [esi + 0x128]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d2586
sub eax, edx
je 0x5d25e3
cmp dword [esi + 0x168], 0
jne 0x5d25a1
mov ecx, esi
call fcn.00426a80
mov eax, dword [esi + 0x128]
push 0x5c
push eax
call fcn.006229e0
add esp, 8
test eax, eax
je 0x5d25ba
add eax, ebx
jmp 0x5d25c0
mov eax, dword [esi + 0x128]
mov ecx, eax
lea ebx, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x5d25c5
sub ecx, ebx
inc ecx
push ecx
push eax
push 1
push 0
push str.cFromDll
mov ecx, dword [esi + 0x48c]
push ecx
call edi
mov edx, dword [esi + 0x12c]
mov eax, edx
lea ebx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d25f0
sub eax, ebx
je 0x5d261e
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d2600
sub eax, ebx
inc eax
push eax
push edx
push 1
push 0
push str.cFPBrExe
mov edx, dword [esi + 0x48c]
push edx
call edi
mov eax, dword [esi + 0x334]
test eax, eax
je 0x5d2643
mov dword [ebp - 0x20], eax
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push 0
push str.nAggrV
mov ecx, dword [esi + 0x48c]
push ecx
call edi
mov edx, dword [esi + 0x318]
mov eax, edx
lea ebx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d2650
sub eax, ebx
je 0x5d267e
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d2660
sub eax, ebx
inc eax
push eax
push edx
push 1
push 0
push str.bstrInfo
mov edx, dword [esi + 0x48c]
push edx
call edi
mov eax, dword [esi + 0x32c]
test eax, eax
je 0x5d26a3
mov dword [ebp - 0x1c], eax
push 4
lea eax, [ebp - 0x1c]
push eax
push 4
push 0
push str.nAggr2
mov ecx, dword [esi + 0x48c]
push ecx
call edi
cmp dword [esi + 0x32c], 0
jne 0x5d26be
mov eax, dword [esi + 0x334]
cmp eax, 0x40
je 0x5d26be
cmp eax, 0x800
jne 0x5d2706
cmp byte [esi + 0x33a], 0
je 0x5d26e6
mov dword [ebp - 0x18], 1
push 4
lea edx, [ebp - 0x18]
push edx
push 4
push 0
push str.bPFAV
mov eax, dword [esi + 0x48c]
push eax
call edi
lea eax, [esi + 0x324]
cmp dword [eax], 0
je 0x5d2706
push 4
push eax
push 4
push 0
push str.nAATDID
mov ecx, dword [esi + 0x48c]
push ecx
call edi
cmp byte [esi + 0x171], 0
je 0x5d272e
mov dword [ebp - 0x24], 1
push 4
lea edx, [ebp - 0x24]
push edx
push 4
push 0
push str.bChCnt
mov eax, dword [esi + 0x48c]
push eax
call edi
mov eax, dword [esi + 0x24]
cmp eax, 4
je 0x5d273f
cmp eax, 5
jne 0x5d2872
cmp byte [esi + 0x34a], 0
je 0x5d2872
lea ecx, [ebp - 0x20]
call fcn.00402510
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x3fc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d2761
sub eax, edx
je 0x5d278d
cmp dword [esi + 0x3f8], 0
je 0x5d278d
mov ecx, dword [esi + 0x3fc]
push ecx
push str.userArgs_s
lea edx, [ebp - 0x20]
push edx
call fcn.00402f80
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00402510
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x3b4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d27a2
sub eax, edx
je 0x5d27c5
mov eax, dword [esi + 0x400]
push eax
push str.tcUrl_s
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00402f80
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00402510
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [esi + 0x3ec]
push ecx
mov edx, dword [esi + 0x3e8]
push edx
sub esp, 0x20
fld qword [esi + 0x3e0]
fstp qword [esp + 0x18]
fld qword [esi + 0x3d8]
fstp qword [esp + 0x10]
fld qword [esi + 0x3d0]
fstp qword [esp + 8]
fld qword [esi + 0x3c8]
fstp qword [esp]
push str.capabilities_faudioCodecs_fvideoCodecs_fvideoFunction_fduration_I64d_s_s
lea eax, [ebp - 0x18]
push eax
call fcn.00402f80
add esp, 0x38
mov edx, dword [ebp - 0x18]
mov eax, edx
lea ebx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d2830
sub eax, ebx
inc eax
push eax
push edx
push 1
push 0
push str.Cookie
mov ecx, dword [esi + 0x48c]
push ecx
call edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00402580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00402580
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.005cff30
wait
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc