Function at 0x10a804c
Capabilities:
Delete registry value

Disassembly:
push 0x60
mov eax, 0x10e049e
call fcn.010a0cd3
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [0x10ed030]
mov ebx, 0x10ed030
mov esi, 0x100a5a8
cmp eax, ebx
je 0x10a8099
test byte [eax + 0x1c], 1
je 0x10a8099
cmp byte [eax + 0x19], 5
jb 0x10a8099
push edx
push dword [ebp + 0xc]
push ecx
push esi
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010a6cc7
xor edi, edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
push 0x10f1178
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.0102847f
push edi
push 0xffffffffffffffff
push dword [ebp - 0x38]
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push 0x10037ec
mov dword [ebp - 0x30], edi
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
je 0x10a8787
push dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
call fcn.01028ac9
lea ecx, [ebp - 0x2c]
call fcn.0104bd22
mov ecx, dword [ebp - 0x44]
push edi
lea eax, [ebp - 0x60]
push eax
call fcn.010a7653
mov dword [ebp - 0x30], eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a8125
test byte [eax + 0x1c], 2
je 0x10a8125
cmp byte [eax + 0x19], 4
jb 0x10a8125
push dword [ebp - 0x30]
push esi
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov eax, dword [0x10ed030]
cmp dword [ebp - 0x30], edi
jne 0x10a8387
push dword [ebp - 0x2c]
lea eax, [ebp - 0x60]
push eax
call fcn.010a2313
mov dword [ebp - 0x30], eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a816b
test byte [eax + 0x1c], 2
je 0x10a816b
cmp byte [eax + 0x19], 4
jb 0x10a816b
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push esi
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01059d60
mov eax, dword [0x10ed030]
cmp dword [ebp - 0x30], 2
jne 0x10a81a7
mov dword [ebp - 0x30], 0x490
cmp eax, ebx
je 0x10a8387
test byte [eax + 0x1c], 2
je 0x10a8387
cmp byte [eax + 0x19], 4
jb 0x10a8387
push esi
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
mov eax, dword [0x10ed030]
cmp dword [ebp - 0x30], edi
jne 0x10a8387
push dword [ebp - 0x2c]
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [0x10ed030]
cmp ecx, ebx
je 0x10a81e4
test byte [ecx + 0x1c], 2
je 0x10a81e4
cmp byte [ecx + 0x19], 4
jb 0x10a81e4
push eax
push dword [ebp - 0x2c]
push esi
push 0x1f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01059d60
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
je 0x10a8382
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.01028b87
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
push 0x2011f
push dword [ebp - 0x28]
lea ecx, [ebp - 0x6c]
push 0x80000002
mov byte [ebp - 4], 4
call fcn.010292e8
mov dword [ebp - 0x24], eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a825c
test byte [eax + 0x1c], 2
je 0x10a825c
cmp byte [eax + 0x19], 4
jb 0x10a825c
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push esi
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01059d60
cmp dword [ebp - 0x24], edi
jne 0x10a8363
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.010a4160
mov dword [ebp - 0x24], eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a829b
test byte [eax + 0x1c], 2
je 0x10a829b
cmp byte [eax + 0x19], 4
jb 0x10a829b
push dword [ebp - 0x24]
push esi
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
cmp dword [ebp - 0x24], edi
jne 0x10a8363
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x4c], edi
jbe 0x10a8363
push dword [ebp - 0x24]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0106144a
mov eax, dword [eax]
push 0x2011f
push eax
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x1c]
call fcn.010292e8
mov dword [ebp - 0x40], eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a8313
test byte [eax + 0x1c], 2
je 0x10a8313
cmp byte [eax + 0x19], 4
jb 0x10a8313
push dword [ebp - 0x24]
lea ecx, [ebp - 0x50]
call fcn.0106144a
push dword [ebp - 0x40]
mov eax, dword [eax]
push eax
mov eax, dword [0x10ed030]
push esi
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01059d60
cmp dword [ebp - 0x40], edi
jne 0x10a834c
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [0x10ed030]
cmp ecx, ebx
je 0x10a834c
test byte [ecx + 0x1c], 2
je 0x10a834c
cmp byte [ecx + 0x19], 4
jb 0x10a834c
push eax
push dword [ebp - 0x2c]
push esi
push 0x23
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01059d60
lea ecx, [ebp - 0x1c]
call fcn.010292ca
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x4c]
jb 0x10a82b0
lea ecx, [ebp - 0x50]
call fcn.010322ee
lea ecx, [ebp - 0x6c]
call fcn.010292ca
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.01028079
mov eax, dword [0x10ed030]
cmp dword [ebp + 0xc], edi
je 0x10a8741
cmp dword [ebp - 0x30], edi
jne 0x10a878c
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x10a8710
call fcn.010da154
test al, al
jne 0x10a8710
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x3c], edi
je 0x10a83c9
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x24]
call fcn.01073db7
jmp 0x10a8420
lea eax, [ebp - 0x24]
push eax
call fcn.010c01b6
mov dword [ebp - 0x28], eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a8410
test byte [eax + 0x1c], 2
je 0x10a8410
movzx ecx, byte [eax + 0x19]
xor edx, edx
cmp dword [ebp - 0x28], edx
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x10a840e
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push esi
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cb22
xor edi, edi
cmp dword [ebp - 0x28], edi
jl 0x10a86fd
mov esi, 0x100a5a8
xor edi, edi
mov dword [ebp - 0x34], edi
push 0x1004e38
lea ecx, [ebp - 0x54]
call fcn.0102e3bb
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push 1
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a8483
test byte [eax + 0x1c], 2
je 0x10a8483
movzx ecx, byte [eax + 0x19]
xor edx, edx
cmp dword [ebp - 0x28], edx
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x10a8481
push dword [ebp - 0x28]
push esi
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov eax, dword [0x10ed030]
xor edi, edi
cmp dword [ebp - 0x28], edi
jne 0x10a86e3
jmp 0x10a8493
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a84b8
test byte [eax + 0x1c], 2
je 0x10a84b8
cmp byte [eax + 0x19], 5
jb 0x10a84b8
push dword [ebp - 0x34]
push 0x100a5a8
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10a86ce
and dword [ebp - 0x28], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 0x54]
push eax
call dword [ecx + 0x20]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a8510
test byte [eax + 0x1c], 8
je 0x10a8510
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x10a8510
push dword [ebp - 0x28]
push esi
push 0x100a5a8
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01059cca
test esi, esi
jl 0x10a86bd
push 0xffffffffffffffff
push dword [ebp - 0x2c]
push 0xffffffffffffffff
push dword [ebp - 0x28]
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10a86b4
xor esi, esi
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x20], 0
xor eax, eax
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x10]
mov edi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a859c
test byte [eax + 0x1c], 2
je 0x10a859c
movzx ecx, byte [eax + 0x19]
xor edx, edx
cmp edi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x10a859c
push dword [ebp - 0x2c]
push edi
push 0x100a5a8
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01059cca
cmp edi, esi
jl 0x10a86a3
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a85ed
test byte [eax + 0x1c], 2
je 0x10a85ed
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x10a85ed
push dword [ebp - 0x2c]
push esi
push 0x100a5a8
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01059cca
test esi, esi
jl 0x10a86a3
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
lea edx, [ebp - 0x40]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a8648
test byte [eax + 0x1c], 2
je 0x10a8648
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x10a8648
push dword [ebp - 0x2c]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push esi
push 0x100a5a8
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010a6d63
test esi, esi
jl 0x10a86a3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x3c]
lea esi, [ebp - 0x20]
push dword [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x10]
mov esi, eax
mov ecx, dword [0x10ed030]
cmp ecx, ebx
je 0x10a86a3
test byte [ecx + 0x1c], 2
je 0x10a86a3
movzx eax, byte [ecx + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp eax, edx
jl 0x10a86a3
push esi
push 0x100a5a8
push 0x2c
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010294b2
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 7
test eax, eax
je 0x10a86b4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10a86ce
and dword [ebp - 0x34], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
je 0x10a848e
push dword [ebp - 0x54]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 5
test eax, eax
je 0x10a86fd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
test eax, eax
je 0x10a8746
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10a8746
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a8746
test byte [eax + 0x1c], 2
je 0x10a8746
cmp byte [eax + 0x19], 2
jb 0x10a8746
push dword [ebp - 0x38]
push 0x100a5a8
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e3b
mov eax, dword [0x10ed030]
xor edi, edi
cmp dword [ebp - 0x30], edi
jne 0x10a878c
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
push 0
push 0
push dword [ebp - 0x2c]
push 0x3ea
call dword [eax + 0x24]
push eax
call fcn.010abe56
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a87c0
test byte [eax + 0x1c], 2
je 0x10a878c
cmp byte [eax + 0x19], 4
jb 0x10a878c
push 0x100a5a8
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10a87c0
test byte [eax + 0x1c], 1
je 0x10a87c0
mov edx, dword [ebp - 0x30]
movzx ecx, byte [eax + 0x19]
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x10a87c0
push dword [ebp - 0x30]
push 0x100a5a8
push 0x2e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.01028079
lea ecx, [ebp - 0x60]
call fcn.010292ca
mov eax, dword [ebp - 0x30]
call fcn.010a0d65
ret 0xc