Function at 0x107f0e9
Capabilities:
Delete registry value

Disassembly:
push 0x24
mov eax, 0x10a8918
call fcn.0107a6db
mov dword [ebp - 0x24], ecx
mov eax, dword [0x10b30cc]
mov esi, 0x10b30cc
cmp eax, esi
mov edi, 0x1007980
je 0x107f128
test byte [eax + 0x1c], 1
je 0x107f128
cmp byte [eax + 0x19], 5
jb 0x107f128
push dword [ebp + 8]
push edi
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026c2b
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.01027916
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.01040d30
mov ecx, dword [ebp - 0x24]
push ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.0107e843
mov dword [ebp + 8], eax
mov eax, dword [0x10b30cc]
cmp eax, esi
je 0x107f182
test byte [eax + 0x1c], 2
je 0x107f182
cmp byte [eax + 0x19], 4
jb 0x107f182
push dword [ebp + 8]
push edi
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov eax, dword [0x10b30cc]
cmp dword [ebp + 8], ebx
jne 0x107f3f4
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0107c13a
mov dword [ebp + 8], eax
mov eax, dword [0x10b30cc]
cmp eax, esi
je 0x107f1c8
test byte [eax + 0x1c], 2
je 0x107f1c8
cmp byte [eax + 0x19], 4
jb 0x107f1c8
push dword [ebp + 8]
push dword [ebp - 0x10]
push edi
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0105f560
mov eax, dword [0x10b30cc]
cmp dword [ebp + 8], 2
jne 0x107f204
mov dword [ebp + 8], 0x490
cmp eax, esi
je 0x107f424
test byte [eax + 0x1c], 2
je 0x107f3f4
cmp byte [eax + 0x19], 4
jb 0x107f3f4
push edi
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026c05
mov eax, dword [0x10b30cc]
cmp dword [ebp + 8], ebx
jne 0x107f3f4
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [0x10b30cc]
cmp ecx, esi
je 0x107f241
test byte [ecx + 0x1c], 2
je 0x107f241
cmp byte [ecx + 0x19], 4
jb 0x107f241
push eax
push dword [ebp - 0x10]
push edi
push 0x1f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0105f560
push 0x1002678
lea ecx, [ebp - 0x24]
call fcn.01027916
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push 0x2011f
push dword [ebp - 0x24]
lea ecx, [ebp - 0x18]
push 0x80000002
mov byte [ebp - 4], 4
call fcn.01028000
mov dword [ebp - 0x14], eax
mov eax, dword [0x10b30cc]
cmp eax, esi
je 0x107f29f
test byte [eax + 0x1c], 2
je 0x107f29f
cmp byte [eax + 0x19], 4
jb 0x107f29f
push dword [ebp - 0x14]
push dword [ebp - 0x24]
push edi
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0105f560
cmp dword [ebp - 0x14], ebx
jne 0x107f39e
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0107d88e
mov dword [ebp - 0x14], eax
mov eax, dword [0x10b30cc]
cmp eax, esi
je 0x107f2de
test byte [eax + 0x1c], 2
je 0x107f2de
cmp byte [eax + 0x19], 4
jb 0x107f2de
push dword [ebp - 0x14]
push edi
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
cmp dword [ebp - 0x14], ebx
jne 0x107f39e
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], ebx
jbe 0x107f39e
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], ebx
call fcn.0103fb38
mov eax, dword [eax]
push 0x2011f
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
call fcn.01028000
mov ebx, eax
mov eax, dword [0x10b30cc]
cmp eax, esi
je 0x107f34d
test byte [eax + 0x1c], 2
je 0x107f34d
cmp byte [eax + 0x19], 4
jb 0x107f34d
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.0103fb38
mov eax, dword [eax]
push ebx
push eax
mov eax, dword [0x10b30cc]
push edi
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0105f560
test ebx, ebx
jne 0x107f385
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [0x10b30cc]
cmp ecx, esi
je 0x107f385
test byte [ecx + 0x1c], 2
je 0x107f385
cmp byte [ecx + 0x19], 4
jb 0x107f385
push eax
push dword [ebp - 0x10]
push edi
push 0x23
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0105f560
lea ecx, [ebp - 0x20]
call fcn.01027fe2
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
xor ebx, ebx
cmp eax, dword [ebp - 0x2c]
jb 0x107f2f3
lea ecx, [ebp - 0x30]
call fcn.0102d6e9
lea ecx, [ebp - 0x18]
call fcn.01027fe2
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.01026e74
push ebx
push ebx
push dword [ebp - 0x10]
push 0x3ea
call fcn.01081411
mov eax, dword [0x10b30cc]
cmp eax, esi
je 0x107f424
test byte [eax + 0x1c], 2
je 0x107f3f4
cmp byte [eax + 0x19], 4
jb 0x107f3f4
push edi
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026c05
mov eax, dword [0x10b30cc]
cmp eax, esi
je 0x107f424
test byte [eax + 0x1c], 1
je 0x107f424
mov edx, dword [ebp + 8]
movzx ecx, byte [eax + 0x19]
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x107f424
push dword [ebp + 8]
push edi
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.01026e74
lea ecx, [ebp - 0x1c]
call fcn.01027fe2
mov eax, dword [ebp + 8]
call fcn.0107a7c7
ret 4