Function at 0x10011520
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10065eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x1007c060]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007c060]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
lea eax, [esp + 0x6c]
mov edi, ecx
push eax
call fcn.1000c1c0
add esp, 4
xor ebx, ebx
mov dword [esp + 0x150], ebx
cmp byte [esp + 0x74], 7
je 0x100115b2
push str.RuleParseContent_failed
call fcn.10024017
add esp, 4
push str.Softwareprojonepodlpkeyrule_
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
lea esi, [esp + 0x6c]
mov dword [esp + 0x150], 0xffffffff
call fcn.1003ac21
xor eax, eax
jmp 0x10011dda
and dword [esp + 0x54], 0xfffffe00
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x150], 2
push 0xe
push str.ClientKeyPacks
lea ecx, [esp + 0xd8]
mov dword [esp + 0xf0], 0xf
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
call fcn.10004c30
lea ecx, [esp + 0xd0]
push ecx
lea edi, [esp + 0x50]
lea ecx, [esp + 0x70]
mov byte [esp + 0x154], 3
call fcn.1000c740
add esp, 4
test al, al
sete byte [esp + 0x1b]
mov byte [esp + 0x150], 2
cmp dword [esp + 0xe8], 0x10
jb 0x10011643
mov edx, dword [esp + 0xd4]
push edx
call fcn.1004a7e9
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x1001166b
push str.RuleGetArrayValue_ClientKeyPacks_failed
call fcn.10024017
add esp, 4
lea esi, [esp + 0x4c]
mov byte [esp + 0x150], bl
call fcn.1003ac21
jmp 0x10011597
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], ebx
call fcn.10008f20
push str.Softwareprojonepodlpkeyrule_
push 0x80000002
mov byte [esp + 0x158], 4
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
xor ebp, ebp
lea ebx, [ebx]
movsx eax, byte [esp + 0x54]
cmp eax, 7
ja case.0x100116ae.0
jmp dword [eax*4 + 0x10011e04]
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x1c], ebx
je case.0x100116ae.0
mov ecx, dword [eax + 0x18]
mov eax, dword [eax]
lea esi, [esp + 0x44]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
call fcn.1003dce8
call fcn.1003dc70
mov eax, dword [eax + 4]
inc eax
jmp 0x100116ea
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0x1c]
cmp ebp, eax
jae case.0x100116ae.0
push ebp
lea edx, [esp + 0x50]
push edx
call fcn.1003b630
push eax
lea ebx, [esp + 0x28]
call fcn.1003aa8d
mov byte [esp + 0x150], 5
cmp byte [esp + 0x2c], 7
jne 0x1001193e
push str.kpid
mov eax, ebx
push eax
mov ecx, 0x1006b96c
call fcn.1003b8e7
mov bl, 4
cmp byte [eax + 8], bl
jne 0x1001193e
push str.kptext
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1006b976
call fcn.1003b8e7
cmp byte [eax + 8], bl
jne 0x1001193e
push str.kpid
lea edx, [esp + 0x28]
push edx
mov ecx, 0x1006b96c
call fcn.1003b8e7
push eax
lea ecx, [esp + 0xf0]
call fcn.1003ae0f
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x90]
push ecx
lea ebx, [esp + 0xcc]
mov byte [esp + 0x158], 6
call fcn.10002ed0
push str.kptext
lea edx, [esp + 0x28]
push edx
mov ecx, 0x1006b976
call fcn.1003b8e7
push eax
lea ecx, [esp + 0xd4]
call fcn.1003ae0f
push str.mainkp
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1006b97e
mov byte [esp + 0x158], 7
call fcn.1003b8e7
mov ecx, eax
call fcn.1003bd20
test al, al
je 0x10011844
push str.mainkp
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1006b97e
call fcn.1003b8e7
mov esi, eax
call fcn.1003af06
cmp eax, 1
jne 0x10011844
mov esi, dword [esp + 0xd4]
mov eax, 0x10
cmp dword [esp + 0xe8], eax
jae 0x1001181d
lea esi, [esp + 0xd4]
mov ebx, dword [esp + 0xf0]
cmp dword [esp + 0x104], eax
jae 0x10011834
lea ebx, [esp + 0xf0]
mov edi, str.Softwareprojonepodlpkeyrulemain_
call fcn.10027763
inc dword [esp + 0x40]
jmp 0x10011885
mov esi, dword [esp + 0xd4]
mov eax, 0x10
cmp dword [esp + 0xe8], eax
jae 0x10011860
lea esi, [esp + 0xd4]
mov ebx, dword [esp + 0xf0]
cmp dword [esp + 0x104], eax
jae 0x10011877
lea ebx, [esp + 0xf0]
mov edi, str.Softwareprojonepodlpkeyrulegeneral_
call fcn.10027763
inc dword [esp + 0x1c]
push str.secClass
lea ecx, [esp + 0x110]
call fcn.10002d90
mov byte [esp + 0x150], 8
mov esi, dword [esp + 0xf0]
mov edi, 0x10
cmp dword [esp + 0x104], edi
jae 0x100118ba
lea esi, [esp + 0xf0]
xor ebx, ebx
push ebx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.1000b6f0
add esp, 0xc
push eax
mov ecx, esi
call fcn.1000a8b0
cmp dword [esp + 0x124], edi
jb 0x100118f3
mov ecx, dword [esp + 0x110]
push ecx
call fcn.1004a7e9
add esp, 4
cmp dword [esp + 0xe8], edi
jb 0x1001190c
mov edx, dword [esp + 0xd4]
push edx
call fcn.1004a7e9
add esp, 4
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
cmp dword [esp + 0x104], edi
jb 0x1001193e
mov eax, dword [esp + 0xf0]
push eax
call fcn.1004a7e9
add esp, 4
lea esi, [esp + 0x24]
mov byte [esp + 0x150], 4
call fcn.1003ac21
inc ebp
xor ebx, ebx
jmp 0x100116a0
push 0xb
mov esi, 0xf
push str.defaultKeys
lea ecx, [esp + 0xd8]
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
call fcn.10004c30
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0xd4]
mov byte [esp + 0x154], 9
call fcn.1000c9a0
add esp, 4
mov byte [esp + 0x150], 0xb
cmp dword [esp + 0xe8], 0x10
jb 0x100119c5
mov edx, dword [esp + 0xd4]
push edx
call fcn.1004a7e9
add esp, 4
cmp byte [esp + 0xb4], 7
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
jne 0x10011ce9
lea ebx, [esp + 0x24]
lea ecx, [esp + 0xac]
call fcn.1003bbe7
mov byte [esp + 0x150], 0xc
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov esi, ecx
cmp ecx, eax
jbe 0x10011a1b
call fcn.1004a7af
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x44], eax
cmp ecx, eax
jbe 0x10011a30
call fcn.1004a7af
mov eax, dword [esp + 0x24]
lea edi, [esi + 4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x20], edi
xor esi, esi
cmp ebx, esi
je 0x10011a51
cmp ebx, dword [esp + 0x84]
je 0x10011a56
call fcn.1004a7af
lea ebp, [edi - 4]
cmp ebp, dword [esp + 0x44]
je 0x10011ca0
cmp ebx, esi
jne 0x10011a84
call fcn.1004a7af
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x10011a78
call fcn.1004a7af
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x10011a88
mov edx, dword [edi]
jmp 0x10011a8a
mov eax, dword [ebx]
jmp 0x10011a6e
mov edx, edi
mov ecx, dword [edi + 0x10]
cmp eax, 0x10
jb 0x10011a96
mov eax, dword [edi]
jmp 0x10011a98
mov eax, edi
add ecx, edx
push eax
lea edx, [esp + 0xb0]
push edx
call fcn.1003b8e7
push eax
lea ebx, [esp + 0xf0]
call fcn.1003aa8d
mov byte [esp + 0x150], 0xd
push 0x17
push str.KpId:_KpText:
lea ecx, [esp + 0x130]
mov dword [esp + 0x148], 0xf
mov dword [esp + 0x144], 0
mov byte [esp + 0x134], 0
call fcn.10004c30
lea eax, [esp + 0x128]
push eax
mov ecx, ebx
push ecx
mov byte [esp + 0x158], 0xe
call fcn.1000b420
mov ebp, 0x10
add esp, 8
mov byte [esp + 0x150], 0xd
mov bl, al
cmp dword [esp + 0x140], ebp
jb 0x10011b31
mov edx, dword [esp + 0x12c]
push edx
call fcn.1004a7e9
add esp, 4
test bl, bl
je 0x10011c56
push str.KpId
lea eax, [esp + 0xf0]
push eax
mov ecx, 0x1006ba30
call fcn.1003b8e7
push eax
lea ecx, [esp + 0x12c]
call fcn.1003ae0f
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0xc8]
mov byte [esp + 0x154], 0xf
mov ebx, dword [esp + 0xa8]
mov edi, dword [esp + 0x90]
push edx
lea esi, [esp + 0x94]
call fcn.10012700
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x10011b9b
cmp eax, edi
je 0x10011ba0
call fcn.1004a7af
cmp dword [esi + 4], ebx
jne 0x10011c3d
push str.KpText
lea eax, [esp + 0xf0]
push eax
mov ecx, 0x1006ba3a
call fcn.1003b8e7
push eax
lea ecx, [esp + 0x110]
call fcn.1003ae0f
mov esi, dword [esp + 0x110]
cmp dword [esp + 0x124], ebp
jae 0x10011be4
lea esi, [esp + 0x110]
mov edi, dword [esp + 0x12c]
cmp dword [esp + 0x140], ebp
jae 0x10011bfb
lea edi, [esp + 0x12c]
test esi, esi
je 0x10011c08
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x10011c0a
xor eax, eax
inc eax
push eax
push esi
push 1
push edi
push str.Softwareprojonepodlpkeyrulegeneral_
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
inc dword [esp + 0x1c]
cmp dword [esp + 0x124], ebp
jb 0x10011c3d
mov ecx, dword [esp + 0x110]
push ecx
call fcn.1004a7e9
add esp, 4
cmp dword [esp + 0x140], ebp
jb 0x10011c56
mov edx, dword [esp + 0x12c]
push edx
call fcn.1004a7e9
add esp, 4
lea esi, [esp + 0xec]
mov byte [esp + 0x150], 0xc
call fcn.1003ac21
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x10011c9c
call fcn.1004a7af
xor eax, eax
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffffc
cmp ecx, dword [eax + 0x10]
jb 0x10011c8a
call fcn.1004a7af
add dword [esp + 0x20], 0x1c
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x64]
jmp 0x10011a42
mov eax, dword [eax]
jmp 0x10011c79
mov byte [esp + 0x150], 0xb
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x10011cce
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x34]
push ecx
call fcn.10009440
mov edx, dword [esp + 0x34]
add esp, 4
push edx
call fcn.1004a7e9
add esp, 4
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.1004a7e9
add esp, 4
xor ebx, ebx
lea esi, [esp + 0x10c]
call fcn.100266a5
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x10011d04
mov esi, dword [eax + 4]
jmp 0x10011d07
lea esi, [eax + 4]
cmp esi, ebx
je 0x10011d14
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x10011d16
xor eax, eax
inc eax
push eax
push esi
push 1
push str.ruleTime
push str.Softwareprojonepodlpkeyrule_
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
cmp dword [esp + 0x124], edi
jb 0x10011d49
mov ecx, dword [esp + 0x110]
push ecx
call fcn.1004a7e9
add esp, 4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
push edx
push eax
push str.key_recorded:__d_enc_key___d_dec_key
mov dword [esp + 0x130], 0xf
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
call fcn.10023eb9
add esp, 0xc
lea esi, [esp + 0xac]
mov byte [esp + 0x150], 4
call fcn.1003ac21
lea esi, [esp + 0x8c]
mov byte [esp + 0x150], 0x10
call fcn.100040d0
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.1004a7e9
add esp, 4
lea esi, [esp + 0x4c]
mov byte [esp + 0x150], bl
call fcn.1003ac21
lea esi, [esp + 0x6c]
mov dword [esp + 0x150], 0xffffffff
call fcn.1003ac21
mov eax, 1
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.1004a172
add esp, 0x140
ret