Function at 0x4011bbe4
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov eax, 0x4011df90
call sub.MSVCRT.dll__EH_prolog
mov eax, 0x211c
call fcn.4010db40
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1128]
mov dword [ebp - 0x1c], 1
push eax
call fcn.40114ea4
mov esi, eax
cmp esi, ebx
jl 0x4011c02a
push dword [0x4012148c]
lea eax, [ebp - 0x1128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4011c02a
push dword [0x40113d54]
lea eax, [ebp - 0x1128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push dword [0x40113d4c]
mov edi, eax
neg edi
lea eax, [ebp - 0x1128]
sbb edi, edi
push eax
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4011bc7d
cmp edi, ebx
je 0x4011bd7c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.40114ea4
mov esi, eax
cmp esi, ebx
jl 0x4011c02a
cmp dword [ebp + 0xc], ebx
je 0x4011bd7c
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x1128]
push 0x5c
push eax
mov byte [ebp - 4], 1
call fcn.401156a9
pop ecx
test eax, eax
pop ecx
jne 0x4011c111
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.401150e1
test eax, eax
je 0x4011bce9
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1128]
push eax
call fcn.4011613c
mov dword [ebp - 0x18], ebx
cmp edi, ebx
je 0x4011bd71
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.40114ea4
mov esi, eax
cmp esi, ebx
jl 0x4011c120
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.40115142
mov esi, eax
mov byte [ebp - 4], bl
cmp esi, ebx
lea ecx, [ebp - 0x18]
jl 0x4011c126
call fcn.4011d06a
push dword [0x40121490]
lea eax, [ebp - 0x1128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4011bc29
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.4011bbe4
mov esi, eax
cmp esi, ebx
jl 0x4011c02a
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
jmp 0x4011bc1a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.4011d06a
push dword [0x40113d50]
lea eax, [ebp - 0x1128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4011bdaf
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.40114ea4
mov esi, eax
cmp esi, ebx
jl 0x4011c02a
push dword [0x40113d48]
lea eax, [ebp - 0x1128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4011be7b
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x128]
push eax
call fcn.40114ea4
mov esi, eax
cmp esi, ebx
jl 0x4011c02a
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
mov ecx, edi
call fcn.40114ea4
mov esi, eax
cmp esi, ebx
jl 0x4011c02a
push dword [0x40121494]
lea eax, [ebp - 0x1128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4011c130
cmp dword [ebp + 0xc], ebx
je 0x4011be53
mov eax, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1128]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.40114f7d
mov esi, eax
mov dword [ebp - 0x18], ebx
cmp esi, ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
jmp 0x4011bd23
cmp dword [ebp + 0x10], ebx
jne 0x4011be68
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [ebp - 0x1128]
mov ecx, edi
push eax
call fcn.40115142
jmp 0x4011bc1f
lea eax, [ebp - 0x1128]
push 0x5c
push eax
call fcn.401156a9
pop ecx
test eax, eax
pop ecx
jne 0x4011c143
cmp dword [ebp + 0xc], ebx
je 0x4011bf49
mov esi, 0xf003f
lea eax, [ebp - 0x1128]
push esi
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.401160c6
cmp eax, ebx
je 0x4011bef2
lea eax, [ebp - 0x1128]
push 0x20019
push eax
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.401160c6
cmp eax, ebx
je 0x4011bef2
push ebx
push ebx
push esi
push ebx
lea eax, [ebp - 0x1128]
push ebx
push eax
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.40116078
cmp eax, ebx
jne 0x4011c14d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.40114ea4
mov esi, eax
cmp esi, ebx
jl 0x4011c02a
push dword [0x40121494]
lea eax, [ebp - 0x1128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4011bd2e
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.40114f7d
mov esi, eax
cmp esi, ebx
jge 0x4011bd2e
jmp 0x4011c02a
cmp dword [ebp + 0x10], ebx
jne 0x4011bf70
lea eax, [ebp - 0x1128]
push 0xf003f
push eax
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.401160c6
test eax, eax
je 0x4011bf70
mov dword [ebp + 0x10], 1
lea eax, [ebp - 0x1128]
push 0x104
push eax
lea eax, [ebp - 0x2128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp + 0x10], ebx
jne 0x4011bfb0
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
call fcn.4011510d
test eax, eax
jne 0x4011bfb0
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
call fcn.401156cb
test eax, eax
je 0x4011c0b5
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.40114ea4
mov esi, eax
cmp esi, ebx
jl 0x4011c02a
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
mov ecx, edi
call fcn.40115142
mov esi, eax
cmp esi, ebx
jl 0x4011c02a
push dword [0x40121490]
lea eax, [ebp - 0x1128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4011c049
push dword [ebp + 0x10]
mov ecx, edi
push ebx
push dword [ebp - 0x14]
call fcn.4011bbe4
mov esi, eax
cmp esi, ebx
jl 0x4011c02a
cmp dword [ebp + 0x10], ebx
je 0x4011c052
mov eax, dword [ebp - 0x24]
mov ecx, edi
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x1128]
push eax
call fcn.40114ea4
mov esi, eax
cmp esi, ebx
jge 0x4011be68
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.4011d06a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
cmp dword [ebp + 0x10], ebx
jne 0x4011bc29
push dword [ebp - 0x14]
mov ecx, edi
call fcn.4011510d
test eax, eax
je 0x4011c0ac
cmp dword [ebp - 0x1c], ebx
je 0x4011c0ac
lea eax, [ebp - 0x2128]
mov ecx, edi
push eax
call fcn.401150e1
test eax, eax
je 0x4011c09e
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2128]
push eax
mov byte [ebp - 4], 3
call fcn.4011613c
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], bl
call fcn.4011d06a
lea eax, [ebp - 0x1128]
mov ecx, edi
push eax
jmp 0x4011bc1a
cmp dword [ebp + 0x10], ebx
jne 0x4011bc29
cmp dword [ebp + 0x10], ebx
jne 0x4011c0e4
lea ecx, [ebp - 0x14]
call fcn.4011d06a
test eax, eax
jne 0x4011c154
cmp dword [ebp + 0x10], ebx
jne 0x4011c0e4
cmp dword [ebp - 0x1c], ebx
je 0x4011c0e4
lea eax, [ebp - 0x2128]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.40114ea4
mov esi, eax
cmp esi, ebx
jl 0x4011c02a
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1128]
push eax
call fcn.40115142
jmp 0x4011bf3a
mov ecx, dword [ebp - 0x10]
push 0x211
call fcn.40114e33
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.4011d06a
jmp 0x4011c02a
push 0x206
mov ecx, edi
call fcn.40114e33
mov esi, eax
jmp 0x4011c02a
push 0x211
mov ecx, dword [ebp - 0x10]
jmp 0x4011c137
push 0x207
jmp 0x4011c148
push 0x20a
jmp 0x4011c148