Function at 0x1003e7d
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x225c
call fcn.010075c0
mov eax, dword [0x100904c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2214], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x2210], ecx
mov dword [ebp - 0x2220], ebx
mov dword [ebp - 0x221c], ebx
mov dword [ebp - 0x2218], ebx
mov dword [ebp - 0x2258], eax
call fcn.01002672
mov esi, eax
cmp esi, ebx
jmp 0x10043d7
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001318
push edi
mov dword [ebp - 0x2224], 1
call esi
mov ebx, eax
neg ebx
push 0x100133c
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x1003f0a
test ebx, ebx
je 0x1003fc7
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002672
mov esi, eax
test esi, esi
jl 0x1004441
cmp dword [ebp + 0x10], 0
je 0x1003fc7
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x2230], esi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
call fcn.010025e6
test eax, eax
jne 0x10043e5
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002787
test eax, eax
je 0x1003f7c
mov eax, dword [ebp - 0x2214]
push edi
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2230], eax
call fcn.01002cb1
mov dword [ebp - 0x2230], esi
cmp ebx, esi
je 0x1003fbc
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002672
mov esi, eax
test esi, esi
jl 0x10043f7
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.010027f9
lea ecx, [ebp - 0x2230]
mov esi, eax
call fcn.01002259
test esi, esi
jl 0x1004441
jmp 0x1004392
lea ecx, [ebp - 0x2230]
call fcn.01002259
push 0x1001328
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1003ff3
mov ecx, dword [ebp - 0x2210]
and dword [ebp - 0x2224], eax
push edi
call fcn.01002672
mov esi, eax
test esi, esi
jl 0x1004441
push 0x1001354
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1004110
mov ecx, dword [ebp - 0x2210]
lea eax, [ebp - 0x220c]
push eax
call fcn.01002672
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x1004441
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002672
mov esi, eax
cmp esi, ebx
jl 0x1004441
cmp word [edi], 0x3d
jne 0x10043f0
cmp dword [ebp + 0x10], ebx
je 0x1004096
mov eax, dword [ebp - 0x2214]
mov ecx, dword [ebp - 0x2210]
mov dword [ebp - 0x2248], eax
push edi
lea eax, [ebp - 0x220c]
push eax
lea eax, [ebp - 0x2248]
push eax
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 0x2240], ebx
call fcn.01003b8a
lea ecx, [ebp - 0x2248]
mov esi, eax
mov dword [ebp - 0x2248], ebx
call fcn.01002259
cmp esi, ebx
jmp 0x1003fb1
cmp dword [ebp + 0x14], ebx
jne 0x10040ff
cmp dword [ebp - 0x2224], ebx
je 0x10040ff
push 0x20006
push ebx
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.010022cc
cmp eax, ebx
jne 0x10043ff
lea eax, [ebp - 0x220c]
push eax
push dword [ebp - 0x223c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x10040f4
cmp eax, 2
jne 0x10043ff
lea ecx, [ebp - 0x223c]
call fcn.01002259
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.010027f9
jmp 0x1003ece
push 0x5c
push edi
call fcn.010025e6
test eax, eax
jne 0x10043f0
cmp dword [ebp + 0x10], eax
je 0x10041bf
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.010022cc
test eax, eax
je 0x1004183
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.010022cc
test eax, eax
je 0x1004183
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.01002277
mov esi, eax
cmp esi, ebx
jne 0x100440d
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002672
mov esi, eax
test esi, esi
jl 0x1004441
cmp word [edi], 0x3d
jne 0x1004392
mov ecx, dword [ebp - 0x2210]
push edi
push 0
lea eax, [ebp - 0x2220]
push eax
call fcn.01003b8a
mov esi, eax
jmp 0x1003faf
cmp dword [ebp + 0x14], 0
jne 0x10041e0
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.010022cc
mov ebx, eax
jmp 0x10041e3
push 2
pop ebx
test ebx, ebx
je 0x10041ee
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call sub.msvcrt.dll_wcsncpy_s
add esp, 0x10
push eax
call fcn.01001e0d
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002672
mov esi, eax
test esi, esi
jl 0x1004441
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.010027f9
mov esi, eax
test esi, esi
jl 0x1004441
cmp word [edi], 0x7b
jne 0x1004286
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1004286
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp - 0x2220]
push edi
call fcn.01003e7d
mov esi, eax
test esi, esi
jge 0x1004270
cmp dword [ebp + 0x14], 0
je 0x1004441
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002672
mov esi, eax
test esi, esi
jl 0x1004441
mov eax, dword [ebp - 0x2258]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x10043d9
test ebx, ebx
je 0x10042b1
test eax, eax
jne 0x10043d9
push ebx
call fcn.01001f7a
mov esi, eax
jmp 0x1004441
test eax, eax
je 0x1004308
push dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x2210]
call fcn.010027bd
test eax, eax
je 0x1004308
mov ecx, dword [ebp - 0x2210]
lea eax, [ebp - 0x20c]
push eax
call fcn.01002787
test eax, eax
je 0x10043d9
cmp dword [ebp - 0x2224], 0
je 0x10043d9
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2220]
call fcn.01002cb1
jmp 0x10043d9
push dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x2210]
call fcn.010027bd
lea ecx, [ebp - 0x2220]
mov dword [ebp - 0x225c], eax
call fcn.01002259
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x1004420
cmp dword [ebp - 0x2224], eax
je 0x10043d9
cmp dword [ebp - 0x225c], eax
jne 0x10043d9
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
mov eax, dword [ebp - 0x2214]
mov dword [ebp - 0x2254], eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2254]
call fcn.010021d3
and dword [ebp - 0x2254], 0
test eax, eax
jne 0x100442e
lea ecx, [ebp - 0x2254]
call fcn.01002259
cmp dword [ebp + 0x10], 0
je 0x10043d9
cmp word [edi], 0x7b
jne 0x10043d9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10043d9
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x2220]
push edi
call fcn.01003e7d
mov esi, eax
test esi, esi
jl 0x1004441
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002672
mov esi, eax
test esi, esi
jl 0x1004441
cmp word [edi], 0x7d
jne 0x1003ed7
jmp 0x1004441
lea ecx, [ebp - 0x2230]
call fcn.01002259
mov esi, 0x80020009
jmp 0x1004441
lea ecx, [ebp - 0x2230]
jmp 0x100443c
push eax
call fcn.01001f7a
lea ecx, [ebp - 0x223c]
jmp 0x100443a
lea ecx, [ebp - 0x2220]
call fcn.01002259
push esi
call fcn.01001f7a
jmp 0x100444e
lea ecx, [ebp - 0x2220]
call fcn.01002259
push ebx
jmp 0x1004419
push eax
call fcn.01001f7a
lea ecx, [ebp - 0x2254]
mov esi, eax
call fcn.01002259
lea ecx, [ebp - 0x2220]
call fcn.01002259
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010075a8
leave
ret 0x10