Function at 0x100071c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e3d6
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.10011240
mov eax, dword [0x10027cd0]
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 - 0x2230], eax
mov dword [ebp - 0x2228], ebx
mov dword [ebp - 0x2224], ebx
mov dword [ebp - 0x2220], ebx
mov edx, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2244], edx
call fcn.10002dd0
mov esi, eax
cmp esi, ebx
jl 0x10007871
cmp word [edi], 0x7d
je 0x1000786f
mov edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x2240], 1
call esi
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x10007271
test ebx, ebx
je 0x100073bd
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10002dd0
mov esi, eax
test esi, esi
js 0x1000785e
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x100073bd
movzx ecx, word [edi]
mov dword [ebp - 0x223c], edx
mov dword [ebp - 0x2238], edx
mov dword [ebp - 0x2234], edx
mov eax, edi
cmp cx, dx
je 0x100072cf
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
je 0x100072c7
push eax
call esi
movzx ecx, word [eax]
test cx, cx
jne 0x100072b4
jmp 0x100072cf
test eax, eax
jne 0x10007836
mov esi, 0x10020544
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10007325
add esi, 4
cmp esi, 0x10020574
jl 0x100072d4
mov ecx, dword [ebp - 0x2230]
xor esi, esi
mov dword [ebp - 0x223c], ecx
push edi
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
call fcn.10004830
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
test ebx, ebx
je 0x100073b3
mov ebx, dword [ebp - 0x221c]
push edi
mov ecx, ebx
call fcn.10002dd0
mov esi, eax
test esi, esi
js 0x10007853
push edi
mov ecx, ebx
call fcn.100030a0
mov esi, eax
test esi, esi
js 0x10007853
mov dword [ebp - 0x2238], 0
cmp word [edi], 0x7b
jne 0x100073a4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100073a4
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x2228]
push 0
push eax
push ecx
push edi
mov ecx, ebx
call fcn.100071c0
mov esi, eax
test esi, esi
js 0x1000785e
push edi
mov ecx, ebx
call fcn.10002dd0
mov esi, eax
test esi, esi
js 0x1000785e
cmp word [edi], 0x7d
jne 0x10007240
jmp 0x1000785e
mov dword [ebp - 0x2238], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100073e9
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2240], eax
call fcn.10002dd0
mov esi, eax
test esi, esi
js 0x1000785e
push 0x10020424
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10007538
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x2218]
push edx
call fcn.10002dd0
mov esi, eax
test esi, esi
js 0x1000785e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10002dd0
mov esi, eax
test esi, esi
js 0x1000785e
cmp word [edi], 0x3d
jne 0x10007841
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x100074a6
mov eax, dword [ebp - 0x2230]
push edi
lea ecx, [ebp - 0x2218]
push ecx
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x2250]
push edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
call fcn.10006d20
mov esi, eax
mov dword [ebp - 0x2250], ebx
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
cmp esi, ebx
jl 0x1000788f
mov byte [ebp - 4], bl
mov dword [ebp - 0x224c], ebx
mov ebx, dword [ebp - 0x221c]
jmp 0x10007361
cmp dword [ebp + 0x14], ebx
jne 0x1000751d
cmp dword [ebp - 0x2240], ebx
je 0x1000751d
mov eax, dword [ebp - 0x2230]
push 0x20006
push ebx
push eax
lea ecx, [ebp - 0x225c]
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
call fcn.10002990
cmp eax, ebx
jne 0x100078a7
mov esi, dword [ebp - 0x225c]
lea ecx, [ebp - 0x2218]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x10007506
cmp eax, 2
jne 0x100078a7
cmp esi, ebx
je 0x10007517
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100030a0
mov esi, eax
cmp esi, ebx
jl 0x1000785e
jmp 0x100073a4
movzx ecx, word [edi]
mov eax, edi
test cx, cx
je 0x10007561
cmp cx, 0x5c
je 0x10007559
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x10007542
jmp 0x10007561
test eax, eax
jne 0x10007841
cmp dword [ebp + 0x10], 0
je 0x10007603
mov esi, dword [ebp - 0x2230]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.10002990
test eax, eax
je 0x100075c1
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.10002990
test eax, eax
je 0x100075c1
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.100028f0
mov esi, eax
test esi, esi
jne 0x100078ba
mov ebx, dword [ebp - 0x221c]
push edi
mov ecx, ebx
call fcn.10002dd0
mov esi, eax
test esi, esi
js 0x1000785e
cmp word [edi], 0x3d
jne 0x10007361
push edi
push 0
lea edx, [ebp - 0x2228]
push edx
mov ecx, ebx
call fcn.10006d20
mov esi, eax
test esi, esi
js 0x1000785e
jmp 0x10007361
cmp dword [ebp + 0x14], 0
jne 0x10007662
mov eax, dword [ebp - 0x2230]
push 0x20019
push edi
push eax
lea ecx, [ebp - 0x2228]
call fcn.10002990
mov ebx, eax
mov dword [ebp - 0x222c], ebx
test ebx, ebx
je 0x10007634
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.10010385
add esp, 0x10
cmp eax, 0x50
ja case.0x1000765b.1
movzx edx, byte [eax + 0x10007930]
jmp dword [edx*4 + 0x10007920]
mov dword [ebp - 0x222c], 2
mov ebx, dword [ebp - 0x222c]
jmp 0x1000762d
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10002dd0
mov esi, eax
test esi, esi
js 0x1000785e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100030a0
mov esi, eax
test esi, esi
js 0x1000785e
cmp word [edi], 0x7b
jne 0x100076f5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100076f5
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
push ebx
push 0
push eax
push edi
call fcn.100071c0
mov esi, eax
test esi, esi
jns 0x100076d9
test ebx, ebx
je 0x1000785e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10002dd0
mov esi, eax
test esi, esi
js 0x1000785e
mov ebx, dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x2244]
mov dword [ebp + 0x14], ecx
cmp ebx, 2
je 0x100073a4
test ebx, ebx
je 0x10007723
test ecx, ecx
jne 0x100073a4
push ebx
call fcn.100016a0
add esp, 4
mov esi, eax
jmp 0x1000785e
mov ebx, dword [ebp - 0x2228]
test ecx, ecx
je 0x1000777b
mov ecx, dword [ebp - 0x221c]
push ebx
call fcn.10002f80
test eax, eax
je 0x1000777b
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x218]
push edx
call fcn.10002f40
test eax, eax
je 0x100073a4
cmp dword [ebp - 0x2240], 0
je 0x100073a4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2228]
call fcn.10004830
jmp 0x100073a4
mov ecx, dword [ebp - 0x221c]
push ebx
call fcn.10002f80
mov dword [ebp - 0x226c], eax
mov dword [ebp - 0x222c], 0
test ebx, ebx
je 0x100077b2
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], 0
mov ebx, dword [ebp - 0x222c]
mov dword [ebp - 0x2224], 0
test ebx, ebx
jne 0x100078e4
cmp dword [ebp - 0x2240], ebx
je 0x100073a4
cmp dword [ebp - 0x226c], ebx
jne 0x100073a4
mov ecx, dword [ebp - 0x2230]
lea edx, [ebp - 0x218]
mov dword [ebp - 0x2268], ecx
push edx
lea ecx, [ebp - 0x2268]
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
call fcn.10002840
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
cmp eax, ebx
jne 0x100078fd
lea ecx, [ebp - 0x2268]
call fcn.10004810
jmp 0x100073a4
lea ecx, [ebp - 0x223c]
call fcn.10004810
lea ecx, [ebp - 0x2228]
call fcn.10004810
mov eax, 0x80020009
jmp 0x10007871
lea ecx, [ebp - 0x223c]
call fcn.10004810
mov eax, dword [ebp - 0x2228]
test eax, eax
je 0x1000786f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.100111b0
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x2250]
call fcn.10004810
lea ecx, [ebp - 0x2228]
call fcn.10004810
jmp 0x1000786f
push eax
call fcn.100016a0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x225c]
jmp 0x10007859
lea ecx, [ebp - 0x2228]
call fcn.10004810
push esi
call fcn.100016a0
add esp, 4
jmp 0x10007871
push 0x8007000e
call fcn.10001090
push 0x80070057
call fcn.10001090
lea ecx, [ebp - 0x2228]
call fcn.10004810
push ebx
call fcn.100016a0
add esp, 4
jmp 0x10007871
push eax
call fcn.100016a0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x2268]
jmp 0x10007859
push 0x80004005
call fcn.10001090
lea ecx, [ecx]
je 0x10007998
add byte [eax], dl
sar byte [eax], 1
adc dl, bl
js 0x1000792b
adc byte [ebx], dl
jns 0x1000792f
adc byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3
add dword [eax], edx
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10027cd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
xor ebx, ebx
cmp eax, ebx
jne 0x100079dd
mov eax, 0x80004003
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, 0x8007000e
push 0x28
mov dword [eax], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], ebx
call fcn.10011a19
add esp, 4
cmp eax, ebx
je 0x10007a1c
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov byte [eax + 0x20], cl
mov dword [eax], vtable.ATL::CComObjectCached_class_ATL::CComClassFactory_.0
mov esi, eax
jmp 0x10007a1e
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x10007a8d
mov eax, dword [ebp + 8]
xor edi, edi
push edi
lea ebx, [esi + 8]
push ebx
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x10007a5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10007a54
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
js 0x10007a77
mov byte [ebx + 0x18], 1
test edi, edi
js 0x10007a77
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi]
mov ecx, dword [ecx]
push edx
push eax
push esi
call ecx
mov edi, eax
test edi, edi
je 0x10007a8d
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 1
mov ecx, esi
call eax
jmp 0x10007a8d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc