Function at 0x12a05baf
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x12a31e06
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.12a19f80
mov eax, dword [0x12a37538]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x222c], ebx
mov dword [ebp - 0x2228], ebx
mov dword [ebp - 0x2224], ebx
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2264], eax
call fcn.12a04382
mov esi, eax
cmp esi, ebx
jmp 0x12a06124
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x12a014b8
push edi
mov dword [ebp - 0x2230], 1
call esi
mov ebx, eax
neg ebx
push 0x12a014dc
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x12a05c57
test ebx, ebx
je 0x12a05d14
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.12a04382
mov esi, eax
test esi, esi
jl 0x12a0618e
cmp dword [ebp + 0x10], 0
je 0x12a05d14
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
call fcn.12a042f6
test eax, eax
jne 0x12a06132
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.12a04497
test eax, eax
je 0x12a05cc9
mov eax, dword [ebp - 0x2220]
push edi
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x223c], eax
call fcn.12a0480f
mov dword [ebp - 0x223c], esi
cmp ebx, esi
je 0x12a05d09
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.12a04382
mov esi, eax
test esi, esi
jl 0x12a06144
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.12a04509
lea ecx, [ebp - 0x223c]
mov esi, eax
call fcn.12a03f52
test esi, esi
jl 0x12a0618e
jmp 0x12a060df
lea ecx, [ebp - 0x223c]
call fcn.12a03f52
push 0x12a014c8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x12a05d40
mov ecx, dword [ebp - 0x221c]
and dword [ebp - 0x2230], eax
push edi
call fcn.12a04382
mov esi, eax
test esi, esi
jl 0x12a0618e
push 0x12a014f4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x12a05e5d
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.12a04382
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x12a0618e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.12a04382
mov esi, eax
cmp esi, ebx
jl 0x12a0618e
cmp word [edi], 0x3d
jne 0x12a0613d
cmp dword [ebp + 0x10], ebx
je 0x12a05de3
mov eax, dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2254], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x2254]
push eax
mov dword [ebp - 0x2250], ebx
mov dword [ebp - 0x224c], ebx
call fcn.12a058bc
lea ecx, [ebp - 0x2254]
mov esi, eax
mov dword [ebp - 0x2254], ebx
call fcn.12a03f52
cmp esi, ebx
jmp 0x12a05cfe
cmp dword [ebp + 0x14], ebx
jne 0x12a05e4c
cmp dword [ebp - 0x2230], ebx
je 0x12a05e4c
push 0x20006
push ebx
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2248]
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 0x2240], ebx
call fcn.12a03fc5
cmp eax, ebx
jne 0x12a0614c
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2248]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegDeleteValueW]
cmp eax, ebx
je 0x12a05e41
cmp eax, 2
jne 0x12a0614c
lea ecx, [ebp - 0x2248]
call fcn.12a03f52
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.12a04509
jmp 0x12a05c1b
push 0x5c
push edi
call fcn.12a042f6
test eax, eax
jne 0x12a0613d
cmp dword [ebp + 0x10], eax
je 0x12a05f0c
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
call fcn.12a03fc5
test eax, eax
je 0x12a05ed0
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
call fcn.12a03fc5
test eax, eax
je 0x12a05ed0
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
call fcn.12a03f70
mov esi, eax
cmp esi, ebx
jne 0x12a0615a
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.12a04382
mov esi, eax
test esi, esi
jl 0x12a0618e
cmp word [edi], 0x3d
jne 0x12a060df
mov ecx, dword [ebp - 0x221c]
push edi
push 0
lea eax, [ebp - 0x222c]
push eax
call fcn.12a058bc
mov esi, eax
jmp 0x12a05cfc
cmp dword [ebp + 0x14], 0
jne 0x12a05f2d
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
call fcn.12a03fc5
mov ebx, eax
jmp 0x12a05f30
push 2
pop ebx
test ebx, ebx
je 0x12a05f3b
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call sub.msvcrt.dll_wcsncpy_s
add esp, 0x10
push eax
call fcn.12a03cbb
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.12a04382
mov esi, eax
test esi, esi
jl 0x12a0618e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.12a04509
mov esi, eax
test esi, esi
jl 0x12a0618e
cmp word [edi], 0x7b
jne 0x12a05fd3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x12a05fd3
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp - 0x222c]
push edi
call fcn.12a05baf
mov esi, eax
test esi, esi
jge 0x12a05fbd
cmp dword [ebp + 0x14], 0
je 0x12a0618e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.12a04382
mov esi, eax
test esi, esi
jl 0x12a0618e
mov eax, dword [ebp - 0x2264]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x12a06126
test ebx, ebx
je 0x12a05ffe
test eax, eax
jne 0x12a06126
push ebx
call fcn.12a03e28
mov esi, eax
jmp 0x12a0618e
test eax, eax
je 0x12a06055
push dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x221c]
call fcn.12a044cd
test eax, eax
je 0x12a06055
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.12a04497
test eax, eax
je 0x12a06126
cmp dword [ebp - 0x2230], 0
je 0x12a06126
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x222c]
call fcn.12a0480f
jmp 0x12a06126
push dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x221c]
call fcn.12a044cd
lea ecx, [ebp - 0x222c]
mov dword [ebp - 0x2268], eax
call fcn.12a03f52
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x12a0616d
cmp dword [ebp - 0x2230], eax
je 0x12a06126
cmp dword [ebp - 0x2268], eax
jne 0x12a06126
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 0x2260], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2260]
call fcn.12a03ecc
and dword [ebp - 0x2260], 0
test eax, eax
jne 0x12a0617b
lea ecx, [ebp - 0x2260]
call fcn.12a03f52
cmp dword [ebp + 0x10], 0
je 0x12a06126
cmp word [edi], 0x7b
jne 0x12a06126
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x12a06126
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x222c]
push edi
call fcn.12a05baf
mov esi, eax
test esi, esi
jl 0x12a0618e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.12a04382
mov esi, eax
test esi, esi
jl 0x12a0618e
cmp word [edi], 0x7d
jne 0x12a05c24
jmp 0x12a0618e
lea ecx, [ebp - 0x223c]
call fcn.12a03f52
mov esi, 0x80020009
jmp 0x12a0618e
lea ecx, [ebp - 0x223c]
jmp 0x12a06189
push eax
call fcn.12a03e28
lea ecx, [ebp - 0x2248]
jmp 0x12a06187
lea ecx, [ebp - 0x222c]
call fcn.12a03f52
push esi
call fcn.12a03e28
jmp 0x12a0619b
lea ecx, [ebp - 0x222c]
call fcn.12a03f52
push ebx
jmp 0x12a06166
push eax
call fcn.12a03e28
lea ecx, [ebp - 0x2260]
mov esi, eax
call fcn.12a03f52
lea ecx, [ebp - 0x222c]
call fcn.12a03f52
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.12a19f5c
leave
ret 0x10