Function at 0x1007bc40
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101828d7
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.1016f240
mov eax, dword [0x10204014]
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, ecx
mov dword [ebp - 0x2264], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ebx, dword [ebp + 8]
movq qword [ebp - 0x2260], xmm0
mov dword [ebp - 0x2260], 0
mov dword [ebp - 0x2258], 0
mov dword [ebp - 0x2268], ecx
mov dword [ebp - 0x225c], 0
mov dword [ebp - 0x2258], 0
mov dword [ebp - 4], 0
mov ecx, eax
push ebx
call fcn.1007aec0
mov esi, eax
test esi, esi
js 0x1007c59a
cmp word [ebx], 0x7d
je 0x1007c59a
nop dword [eax]
push str.Delete
push ebx
mov dword [ebp - 0x2254], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x101b0574
sbb edi, edi
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1007bd13
test edi, edi
je 0x1007be51
mov ecx, dword [ebp - 0x2264]
push ebx
call fcn.1007aec0
mov esi, eax
test esi, esi
js 0x1007c59a
cmp dword [ebp + 0x10], 0
je 0x1007be51
xorps xmm0, xmm0
mov dword [ebp - 0x2220], 0
movq qword [ebp - 0x2228], xmm0
mov dword [ebp - 0x2228], 0
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
mov byte [ebp - 4], 1
mov ecx, ebx
movzx eax, word [ebx]
test ax, ax
je 0x1007bd99
mov edx, eax
cmp dx, 0x5c
je 0x1007bd91
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x1007bd76
jmp 0x1007bd99
test ecx, ecx
jne 0x1007c4d8
mov esi, 0x101b926c
nop
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1007be02
add esi, 4
cmp esi, 0x101b929c
jl 0x1007bda0
mov eax, dword [ebp - 0x2268]
lea ecx, [ebp - 0x2228]
push ebx
mov dword [ebp - 0x2228], eax
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
call fcn.1007a400
mov dword [ebp - 0x2228], 0
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
test edi, edi
je 0x1007be43
mov edi, dword [ebp - 0x2264]
mov ecx, edi
push ebx
call fcn.1007aec0
mov esi, eax
test esi, esi
js 0x1007c4f0
push ebx
mov ecx, edi
call fcn.1007b670
mov esi, eax
test esi, esi
js 0x1007c4f0
mov byte [ebp - 4], 0
mov dword [ebp - 0x2224], 0
jmp 0x1007c1dd
mov byte [ebp - 4], 0
mov dword [ebp - 0x2224], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, dword [ebp - 0x2264]
test eax, eax
jne 0x1007be7f
push ebx
mov ecx, edi
mov dword [ebp - 0x2254], eax
call fcn.1007aec0
mov esi, eax
test esi, esi
js 0x1007c59a
push 0x101b058c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1007c048
lea eax, [ebp - 0x2218]
mov ecx, edi
push eax
call fcn.1007aec0
mov esi, eax
test esi, esi
js 0x1007c59a
push ebx
mov ecx, edi
call fcn.1007aec0
mov esi, eax
test esi, esi
js 0x1007c59a
cmp word [ebx], 0x3d
jne 0x1007c4e6
cmp dword [ebp + 0x10], 0
je 0x1007bf79
xorps xmm0, xmm0
mov dword [ebp - 0x222c], 0
movq qword [ebp - 0x2234], xmm0
mov dword [ebp - 0x2234], 0
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov byte [ebp - 4], 2
mov ecx, edi
mov eax, dword [ebp - 0x2268]
mov dword [ebp - 0x2234], eax
lea eax, [ebp - 0x2218]
push ebx
push eax
lea eax, [ebp - 0x2234]
mov dword [ebp - 0x2230], 0
push eax
mov dword [ebp - 0x222c], 0
call fcn.1007b080
mov esi, eax
mov dword [ebp - 0x2234], 0
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
test esi, esi
js 0x1007c503
mov byte [ebp - 4], 0
mov dword [ebp - 0x2230], 0
jmp 0x1007c1dd
cmp dword [ebp + 0x14], 0
jne 0x1007c031
cmp dword [ebp - 0x2254], 0
je 0x1007c031
xorps xmm0, xmm0
mov dword [ebp - 0x2238], 0
movq qword [ebp - 0x2240], xmm0
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2240]
push 0x20006
push 0
push dword [ebp - 0x2268]
call fcn.1007a330
test eax, eax
jne 0x1007c544
mov edi, dword [ebp - 0x2240]
lea eax, [ebp - 0x2218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1007c008
cmp eax, 2
jne 0x1007c516
mov byte [ebp - 4], 0
test edi, edi
je 0x1007c021
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2240], 0
mov edi, dword [ebp - 0x2264]
mov dword [ebp - 0x223c], 0
push ebx
mov ecx, edi
call fcn.1007b670
mov esi, eax
test esi, esi
js 0x1007c59a
jmp 0x1007c4c9
movzx eax, word [ebx]
mov ecx, ebx
test ax, ax
je 0x1007c077
mov edx, eax
cmp dx, 0x5c
je 0x1007c06f
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x1007c054
jmp 0x1007c077
test ecx, ecx
jne 0x1007c4e6
cmp dword [ebp + 0x10], 0
je 0x1007c23c
mov esi, dword [ebp - 0x2268]
lea ecx, [ebp - 0x2260]
push 0x2001f
push ebx
push esi
call fcn.1007a330
test eax, eax
je 0x1007c1aa
push 0x20019
push ebx
push esi
lea ecx, [ebp - 0x2260]
call fcn.1007a330
test eax, eax
je 0x1007c1aa
mov esi, dword [ebp - 0x2258]
mov dword [ebp - 0x2254], 0
test esi, esi
je 0x1007c131
cmp dword [esi], 0
je 0x1007c124
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1007c0ea
mov eax, 1
jmp 0x1007c159
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007c12a
push 0
push dword [esi]
lea ecx, [ebp - 0x2250]
push ecx
lea ecx, [ebp - 0x2254]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x2268]
call eax
jmp 0x1007c159
cmp dword [esi + 4], 0
jne 0x1007c131
mov eax, 1
jmp 0x1007c159
lea eax, [ebp - 0x2250]
push eax
lea eax, [ebp - 0x2254]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x2268]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1007c591
mov ecx, dword [ebp - 0x2260]
test ecx, ecx
je 0x1007c17c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2260], 0
mov edi, dword [ebp - 0x2254]
mov dword [ebp - 0x225c], 0
mov dword [ebp - 0x2260], edi
mov dword [ebp - 0x225c], 0
test eax, eax
jne 0x1007c591
mov edi, dword [ebp - 0x2264]
push ebx
mov ecx, edi
call fcn.1007aec0
mov esi, eax
test esi, esi
js 0x1007c59a
cmp word [ebx], 0x3d
jne 0x1007c1dd
push ebx
push 0
lea eax, [ebp - 0x2260]
mov ecx, edi
push eax
call fcn.1007b080
mov esi, eax
test esi, esi
js 0x1007c59a
cmp word [ebx], 0x7b
jne 0x1007c4c9
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007c1f0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x1007c4c9
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x2260]
push ebx
call fcn.1007bc40
mov esi, eax
test esi, esi
js 0x1007c59a
push ebx
mov ecx, edi
call fcn.1007aec0
mov esi, eax
test esi, esi
js 0x1007c59a
jmp 0x1007c4c9
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x1007c25e
push 0x20019
push ebx
push dword [ebp - 0x2268]
lea ecx, [ebp - 0x2260]
call fcn.1007a330
mov edi, eax
jmp 0x1007c263
mov edi, 2
test edi, edi
mov ecx, 1
push 0xffffffffffffffff
mov eax, esi
cmovne eax, ecx
push ebx
mov dword [ebp - 0x221c], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push eax
call fcn.10079ea0
mov ecx, dword [ebp - 0x2264]
add esp, 0x14
push ebx
call fcn.1007aec0
mov esi, eax
test esi, esi
js 0x1007c59a
mov ecx, dword [ebp - 0x2264]
push ebx
call fcn.1007b670
mov esi, eax
test esi, esi
js 0x1007c59a
cmp word [ebx], 0x7b
jne 0x1007c327
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007c2d0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x1007c327
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2264]
push 0
push dword [ebp - 0x2260]
push ebx
call fcn.1007bc40
mov esi, eax
test esi, esi
jns 0x1007c311
cmp dword [ebp - 0x221c], 0
je 0x1007c59a
mov ecx, dword [ebp - 0x2264]
push ebx
call fcn.1007aec0
mov esi, eax
test esi, esi
js 0x1007c59a
cmp edi, 2
je 0x1007c4c9
test edi, edi
je 0x1007c345
cmp dword [ebp + 0x14], 0
jne 0x1007c4c9
mov ecx, edi
jmp 0x1007c593
cmp dword [ebp + 0x14], 0
je 0x1007c3d7
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x2260]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1007c3d7
cmp dword [ebp - 0x221c], eax
jbe 0x1007c3d7
mov edi, 0x101b926c
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1007c4c9
add edi, 4
cmp edi, 0x101b929c
jl 0x1007c391
cmp dword [ebp - 0x2254], 0
je 0x1007c4c9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2260]
call fcn.1007a400
jmp 0x1007c4c9
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x2260]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1007c410
xor edi, edi
jmp 0x1007c41c
xor eax, eax
cmp eax, dword [ebp - 0x221c]
sbb edi, edi
neg edi
mov ecx, dword [ebp - 0x2260]
xor eax, eax
test ecx, ecx
je 0x1007c437
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x2260], ecx
mov dword [ebp - 0x225c], 0
test eax, eax
jne 0x1007c591
cmp dword [ebp - 0x2254], eax
je 0x1007c4c9
test edi, edi
jne 0x1007c4c9
xorps xmm0, xmm0
mov dword [ebp - 0x2244], edi
movq qword [ebp - 0x224c], xmm0
mov dword [ebp - 0x224c], edi
mov dword [ebp - 0x2248], edi
mov dword [ebp - 0x2244], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x224c]
mov eax, dword [ebp - 0x2268]
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x2248], edi
mov dword [ebp - 0x2244], edi
call fcn.1007a250
mov dword [ebp - 0x224c], edi
mov dword [ebp - 0x2248], edi
mov dword [ebp - 0x2244], edi
test eax, eax
jne 0x1007c578
mov byte [ebp - 4], al
mov dword [ebp - 0x2248], eax
cmp word [ebx], 0x7d
jne 0x1007bce0
jmp 0x1007c59a
mov byte [ebp - 4], 0
mov dword [ebp - 0x2224], 0
mov esi, 0x80020009
jmp 0x1007c59a
mov byte [ebp - 4], 0
mov dword [ebp - 0x2224], 0
jmp 0x1007c59a
mov byte [ebp - 4], 0
mov dword [ebp - 0x2230], 0
jmp 0x1007c59a
mov ecx, eax
call fcn.10079f80
mov esi, eax
mov byte [ebp - 4], 0
test edi, edi
je 0x1007c56c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
jmp 0x1007c59a
mov ecx, eax
call fcn.10079f80
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2240]
test eax, eax
je 0x1007c56c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
jmp 0x1007c59a
mov ecx, eax
call fcn.10079f80
mov esi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x2248], 0
jmp 0x1007c59a
mov ecx, eax
call fcn.10079f80
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2260]
test eax, eax
je 0x1007c5bc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2260], 0
mov eax, esi
mov dword [ebp - 0x225c], 0
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.1016e794
mov esp, ebp
pop ebp
ret 0x10