Function at 0x12a1b80d
Capabilities:
Delete registry value

Disassembly:
push 0x60
mov eax, 0x12a328b1
call fcn.12a1a02e
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 [0x12a37010]
mov ebx, 0x12a37010
mov esi, 0x12a02a04
cmp eax, ebx
je 0x12a1b85a
test byte [eax + 0x1c], 1
je 0x12a1b85a
cmp byte [eax + 0x19], 5
jb 0x12a1b85a
push edx
push dword [ebp + 0xc]
push ecx
push esi
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a06d39
xor edi, edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
push 0x12a3979c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.12a07196
push edi
push 0xffffffffffffffff
push dword [ebp - 0x38]
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push 0x12a02a5c
mov dword [ebp - 0x30], edi
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
je 0x12a1bf48
push dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
call fcn.12a081f0
lea ecx, [ebp - 0x2c]
call fcn.12a0f8be
mov ecx, dword [ebp - 0x44]
push edi
lea eax, [ebp - 0x60]
push eax
call fcn.12a1b2c9
mov dword [ebp - 0x30], eax
mov eax, dword [0x12a37010]
cmp eax, ebx
je 0x12a1b8e6
test byte [eax + 0x1c], 2
je 0x12a1b8e6
cmp byte [eax + 0x19], 4
jb 0x12a1b8e6
push dword [ebp - 0x30]
push esi
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a039b3
mov eax, dword [0x12a37010]
cmp dword [ebp - 0x30], edi
jne 0x12a1bb48
push dword [ebp - 0x2c]
lea eax, [ebp - 0x60]
push eax
call fcn.12a21350
mov dword [ebp - 0x30], eax
mov eax, dword [0x12a37010]
cmp eax, ebx
je 0x12a1b92c
test byte [eax + 0x1c], 2
je 0x12a1b92c
cmp byte [eax + 0x19], 4
jb 0x12a1b92c
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push esi
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a1a78a
mov eax, dword [0x12a37010]
cmp dword [ebp - 0x30], 2
jne 0x12a1b968
mov dword [ebp - 0x30], 0x490
cmp eax, ebx
je 0x12a1bb48
test byte [eax + 0x1c], 2
je 0x12a1bb48
cmp byte [eax + 0x19], 4
jb 0x12a1bb48
push esi
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a03957
mov eax, dword [0x12a37010]
cmp dword [ebp - 0x30], edi
jne 0x12a1bb48
push dword [ebp - 0x2c]
push dword [ebp - 0x60]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegDeleteValueW]
mov ecx, dword [0x12a37010]
cmp ecx, ebx
je 0x12a1b9a5
test byte [ecx + 0x1c], 2
je 0x12a1b9a5
cmp byte [ecx + 0x19], 4
jb 0x12a1b9a5
push eax
push dword [ebp - 0x2c]
push esi
push 0x1f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.12a1a78a
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
je 0x12a1bb43
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.12a1878c
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.12a03fc5
mov dword [ebp - 0x24], eax
mov eax, dword [0x12a37010]
cmp eax, ebx
je 0x12a1ba1d
test byte [eax + 0x1c], 2
je 0x12a1ba1d
cmp byte [eax + 0x19], 4
jb 0x12a1ba1d
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push esi
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a1a78a
cmp dword [ebp - 0x24], edi
jne 0x12a1bb24
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.12a22f02
mov dword [ebp - 0x24], eax
mov eax, dword [0x12a37010]
cmp eax, ebx
je 0x12a1ba5c
test byte [eax + 0x1c], 2
je 0x12a1ba5c
cmp byte [eax + 0x19], 4
jb 0x12a1ba5c
push dword [ebp - 0x24]
push esi
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a039b3
cmp dword [ebp - 0x24], edi
jne 0x12a1bb24
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x4c], edi
jbe 0x12a1bb24
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.12a15a77
mov eax, dword [eax]
push 0x2011f
push eax
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x1c]
call fcn.12a03fc5
mov dword [ebp - 0x40], eax
mov eax, dword [0x12a37010]
cmp eax, ebx
je 0x12a1bad4
test byte [eax + 0x1c], 2
je 0x12a1bad4
cmp byte [eax + 0x19], 4
jb 0x12a1bad4
push dword [ebp - 0x24]
lea ecx, [ebp - 0x50]
call fcn.12a15a77
push dword [ebp - 0x40]
mov eax, dword [eax]
push eax
mov eax, dword [0x12a37010]
push esi
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a1a78a
cmp dword [ebp - 0x40], edi
jne 0x12a1bb0d
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegDeleteValueW]
mov ecx, dword [0x12a37010]
cmp ecx, ebx
je 0x12a1bb0d
test byte [ecx + 0x1c], 2
je 0x12a1bb0d
cmp byte [ecx + 0x19], 4
jb 0x12a1bb0d
push eax
push dword [ebp - 0x2c]
push esi
push 0x23
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.12a1a78a
lea ecx, [ebp - 0x1c]
call fcn.12a03f52
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x4c]
jb 0x12a1ba71
lea ecx, [ebp - 0x50]
call fcn.12a0f8eb
lea ecx, [ebp - 0x6c]
call fcn.12a03f52
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.12a06e65
mov eax, dword [0x12a37010]
cmp dword [ebp + 0xc], edi
je 0x12a1bf02
cmp dword [ebp - 0x30], edi
jne 0x12a1bf4d
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x12a1bed1
call fcn.12a319de
test al, al
jne 0x12a1bed1
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x3c], edi
je 0x12a1bb8a
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x24]
call fcn.12a07233
jmp 0x12a1bbe1
lea eax, [ebp - 0x24]
push eax
call fcn.12a23db5
mov dword [ebp - 0x28], eax
mov eax, dword [0x12a37010]
cmp eax, ebx
je 0x12a1bbd1
test byte [eax + 0x1c], 2
je 0x12a1bbd1
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 0x12a1bbcf
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push esi
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a1eea8
xor edi, edi
cmp dword [ebp - 0x28], edi
jl 0x12a1bebe
mov esi, 0x12a02a04
xor edi, edi
mov dword [ebp - 0x34], edi
push 0x12a02a50
lea ecx, [ebp - 0x54]
call fcn.12a0a617
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 [0x12a37010]
cmp eax, ebx
je 0x12a1bc44
test byte [eax + 0x1c], 2
je 0x12a1bc44
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 0x12a1bc42
push dword [ebp - 0x28]
push esi
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a039b3
mov eax, dword [0x12a37010]
xor edi, edi
cmp dword [ebp - 0x28], edi
jne 0x12a1bea4
jmp 0x12a1bc54
mov eax, dword [0x12a37010]
cmp eax, ebx
je 0x12a1bc79
test byte [eax + 0x1c], 2
je 0x12a1bc79
cmp byte [eax + 0x19], 5
jb 0x12a1bc79
push dword [ebp - 0x34]
push 0x12a02a04
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a039b3
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x12a1be8f
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 [0x12a37010]
cmp eax, ebx
je 0x12a1bcd1
test byte [eax + 0x1c], 8
je 0x12a1bcd1
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 0x12a1bcd1
push dword [ebp - 0x28]
push esi
push 0x12a02a04
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a21011
test esi, esi
jl 0x12a1be7e
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 0x12a1be75
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 [0x12a37010]
cmp eax, ebx
je 0x12a1bd5d
test byte [eax + 0x1c], 2
je 0x12a1bd5d
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 0x12a1bd5d
push dword [ebp - 0x2c]
push edi
push 0x12a02a04
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a21011
cmp edi, esi
jl 0x12a1be64
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 [0x12a37010]
cmp eax, ebx
je 0x12a1bdae
test byte [eax + 0x1c], 2
je 0x12a1bdae
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 0x12a1bdae
push dword [ebp - 0x2c]
push esi
push 0x12a02a04
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a21011
test esi, esi
jl 0x12a1be64
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 [0x12a37010]
cmp eax, ebx
je 0x12a1be09
test byte [eax + 0x1c], 2
je 0x12a1be09
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 0x12a1be09
push dword [ebp - 0x2c]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push esi
push 0x12a02a04
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a1a820
test esi, esi
jl 0x12a1be64
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 [0x12a37010]
cmp ecx, ebx
je 0x12a1be64
test byte [ecx + 0x1c], 2
je 0x12a1be64
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 0x12a1be64
push esi
push 0x12a02a04
push 0x2c
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.12a039b3
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 7
test eax, eax
je 0x12a1be75
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 0x12a1be8f
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 0x12a1bc4f
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 0x12a1bebe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
test eax, eax
je 0x12a1bf07
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x12a1bf07
mov eax, dword [0x12a37010]
cmp eax, ebx
je 0x12a1bf07
test byte [eax + 0x1c], 2
je 0x12a1bf07
cmp byte [eax + 0x19], 2
jb 0x12a1bf07
push dword [ebp - 0x38]
push 0x12a02a04
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a06b9f
mov eax, dword [0x12a37010]
xor edi, edi
cmp dword [ebp - 0x30], edi
jne 0x12a1bf4d
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.12a1e92b
mov eax, dword [0x12a37010]
cmp eax, ebx
je 0x12a1bf81
test byte [eax + 0x1c], 2
je 0x12a1bf4d
cmp byte [eax + 0x19], 4
jb 0x12a1bf4d
push 0x12a02a04
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a03957
mov eax, dword [0x12a37010]
cmp eax, ebx
je 0x12a1bf81
test byte [eax + 0x1c], 1
je 0x12a1bf81
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 0x12a1bf81
push dword [ebp - 0x30]
push 0x12a02a04
push 0x2e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.12a039b3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.12a06e65
lea ecx, [ebp - 0x60]
call fcn.12a03f52
mov eax, dword [ebp - 0x30]
call fcn.12a1a0c0
ret 0xc