Function at 0x100764f0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10179f67
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.10167460
mov eax, dword [0x101f9014]
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.10075770
mov esi, eax
test esi, esi
js 0x10076e4a
cmp word [ebx], 0x7d
je 0x10076e4a
nop dword [eax]
push str.Delete
push ebx
mov dword [ebp - 0x2254], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push str.ForceRemove
sbb edi, edi
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100765c3
test edi, edi
je 0x10076701
mov ecx, dword [ebp - 0x2264]
push ebx
call fcn.10075770
mov esi, eax
test esi, esi
js 0x10076e4a
cmp dword [ebp + 0x10], 0
je 0x10076701
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 0x10076649
mov edx, eax
cmp dx, 0x5c
je 0x10076641
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x10076626
jmp 0x10076649
test ecx, ecx
jne 0x10076d88
mov esi, 0x101af45c
nop
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100766b2
add esi, 4
cmp esi, 0x101af48c
jl 0x10076650
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.10074cb0
mov dword [ebp - 0x2228], 0
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
test edi, edi
je 0x100766f3
mov edi, dword [ebp - 0x2264]
mov ecx, edi
push ebx
call fcn.10075770
mov esi, eax
test esi, esi
js 0x10076da0
push ebx
mov ecx, edi
call fcn.10075f20
mov esi, eax
test esi, esi
js 0x10076da0
mov byte [ebp - 4], 0
mov dword [ebp - 0x2224], 0
jmp 0x10076a8d
mov byte [ebp - 4], 0
mov dword [ebp - 0x2224], 0
push 0x101a70dc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, dword [ebp - 0x2264]
test eax, eax
jne 0x1007672f
push ebx
mov ecx, edi
mov dword [ebp - 0x2254], eax
call fcn.10075770
mov esi, eax
test esi, esi
js 0x10076e4a
push 0x101a70d0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100768f8
lea eax, [ebp - 0x2218]
mov ecx, edi
push eax
call fcn.10075770
mov esi, eax
test esi, esi
js 0x10076e4a
push ebx
mov ecx, edi
call fcn.10075770
mov esi, eax
test esi, esi
js 0x10076e4a
cmp word [ebx], 0x3d
jne 0x10076d96
cmp dword [ebp + 0x10], 0
je 0x10076829
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.10075930
mov esi, eax
mov dword [ebp - 0x2234], 0
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
test esi, esi
js 0x10076db3
mov byte [ebp - 4], 0
mov dword [ebp - 0x2230], 0
jmp 0x10076a8d
cmp dword [ebp + 0x14], 0
jne 0x100768e1
cmp dword [ebp - 0x2254], 0
je 0x100768e1
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.10074be0
test eax, eax
jne 0x10076df4
mov edi, dword [ebp - 0x2240]
lea eax, [ebp - 0x2218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x100768b8
cmp eax, 2
jne 0x10076dc6
mov byte [ebp - 4], 0
test edi, edi
je 0x100768d1
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.10075f20
mov esi, eax
test esi, esi
js 0x10076e4a
jmp 0x10076d79
movzx eax, word [ebx]
mov ecx, ebx
test ax, ax
je 0x10076927
mov edx, eax
cmp dx, 0x5c
je 0x1007691f
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x10076904
jmp 0x10076927
test ecx, ecx
jne 0x10076d96
cmp dword [ebp + 0x10], 0
je 0x10076aec
mov esi, dword [ebp - 0x2268]
lea ecx, [ebp - 0x2260]
push 0x2001f
push ebx
push esi
call fcn.10074be0
test eax, eax
je 0x10076a5a
push 0x20019
push ebx
push esi
lea ecx, [ebp - 0x2260]
call fcn.10074be0
test eax, eax
je 0x10076a5a
mov esi, dword [ebp - 0x2258]
mov dword [ebp - 0x2254], 0
test esi, esi
je 0x100769e1
cmp dword [esi], 0
je 0x100769d4
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1007699a
mov eax, 1
jmp 0x10076a09
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100769da
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 0x10076a09
cmp dword [esi + 4], 0
jne 0x100769e1
mov eax, 1
jmp 0x10076a09
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 0x10076e41
mov ecx, dword [ebp - 0x2260]
test ecx, ecx
je 0x10076a2c
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 0x10076e41
mov edi, dword [ebp - 0x2264]
push ebx
mov ecx, edi
call fcn.10075770
mov esi, eax
test esi, esi
js 0x10076e4a
cmp word [ebx], 0x3d
jne 0x10076a8d
push ebx
push 0
lea eax, [ebp - 0x2260]
mov ecx, edi
push eax
call fcn.10075930
mov esi, eax
test esi, esi
js 0x10076e4a
cmp word [ebx], 0x7b
jne 0x10076d79
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10076aa0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x10076d79
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x2260]
push ebx
call fcn.100764f0
mov esi, eax
test esi, esi
js 0x10076e4a
push ebx
mov ecx, edi
call fcn.10075770
mov esi, eax
test esi, esi
js 0x10076e4a
jmp 0x10076d79
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x10076b0e
push 0x20019
push ebx
push dword [ebp - 0x2268]
lea ecx, [ebp - 0x2260]
call fcn.10074be0
mov edi, eax
jmp 0x10076b13
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.10074750
mov ecx, dword [ebp - 0x2264]
add esp, 0x14
push ebx
call fcn.10075770
mov esi, eax
test esi, esi
js 0x10076e4a
mov ecx, dword [ebp - 0x2264]
push ebx
call fcn.10075f20
mov esi, eax
test esi, esi
js 0x10076e4a
cmp word [ebx], 0x7b
jne 0x10076bd7
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10076b80
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x10076bd7
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2264]
push 0
push dword [ebp - 0x2260]
push ebx
call fcn.100764f0
mov esi, eax
test esi, esi
jns 0x10076bc1
cmp dword [ebp - 0x221c], 0
je 0x10076e4a
mov ecx, dword [ebp - 0x2264]
push ebx
call fcn.10075770
mov esi, eax
test esi, esi
js 0x10076e4a
cmp edi, 2
je 0x10076d79
test edi, edi
je 0x10076bf5
cmp dword [ebp + 0x14], 0
jne 0x10076d79
mov ecx, edi
jmp 0x10076e43
cmp dword [ebp + 0x14], 0
je 0x10076c87
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 0x10076c87
cmp dword [ebp - 0x221c], eax
jbe 0x10076c87
mov edi, 0x101af45c
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10076d79
add edi, 4
cmp edi, 0x101af48c
jl 0x10076c41
cmp dword [ebp - 0x2254], 0
je 0x10076d79
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2260]
call fcn.10074cb0
jmp 0x10076d79
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 0x10076cc0
xor edi, edi
jmp 0x10076ccc
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 0x10076ce7
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 0x10076e41
cmp dword [ebp - 0x2254], eax
je 0x10076d79
test edi, edi
jne 0x10076d79
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.10074b00
mov dword [ebp - 0x224c], edi
mov dword [ebp - 0x2248], edi
mov dword [ebp - 0x2244], edi
test eax, eax
jne 0x10076e28
mov byte [ebp - 4], al
mov dword [ebp - 0x2248], eax
cmp word [ebx], 0x7d
jne 0x10076590
jmp 0x10076e4a
mov byte [ebp - 4], 0
mov dword [ebp - 0x2224], 0
mov esi, 0x80020009
jmp 0x10076e4a
mov byte [ebp - 4], 0
mov dword [ebp - 0x2224], 0
jmp 0x10076e4a
mov byte [ebp - 4], 0
mov dword [ebp - 0x2230], 0
jmp 0x10076e4a
mov ecx, eax
call fcn.10074830
mov esi, eax
mov byte [ebp - 4], 0
test edi, edi
je 0x10076e1c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
jmp 0x10076e4a
mov ecx, eax
call fcn.10074830
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2240]
test eax, eax
je 0x10076e1c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
jmp 0x10076e4a
mov ecx, eax
call fcn.10074830
mov esi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x2248], 0
jmp 0x10076e4a
mov ecx, eax
call fcn.10074830
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2260]
test eax, eax
je 0x10076e6c
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.101669b4
mov esp, ebp
pop ebp
ret 0x10