Function at 0x10033f7
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x225c
call fcn.01006330
mov eax, dword [0x1008040]
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.01002276
mov esi, eax
cmp esi, ebx
jmp 0x1003951
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001328
push edi
mov dword [ebp - 0x2224], 1
call esi
mov ebx, eax
neg ebx
push 0x100134c
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x1003484
test ebx, ebx
je 0x1003541
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002276
mov esi, eax
test esi, esi
jl 0x10039bb
cmp dword [ebp + 0x10], 0
je 0x1003541
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x2230], esi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
call fcn.010021ea
test eax, eax
jne 0x100395f
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0100238b
test eax, eax
je 0x10034f6
mov eax, dword [ebp - 0x2214]
push edi
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2230], eax
call fcn.01002971
mov dword [ebp - 0x2230], esi
cmp ebx, esi
je 0x1003536
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002276
mov esi, eax
test esi, esi
jl 0x1003971
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.010023fd
lea ecx, [ebp - 0x2230]
mov esi, eax
call fcn.01001e5d
test esi, esi
jl 0x10039bb
jmp 0x100390c
lea ecx, [ebp - 0x2230]
call fcn.01001e5d
push 0x1001338
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100356d
mov ecx, dword [ebp - 0x2210]
and dword [ebp - 0x2224], eax
push edi
call fcn.01002276
mov esi, eax
test esi, esi
jl 0x10039bb
push 0x1001364
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100368a
mov ecx, dword [ebp - 0x2210]
lea eax, [ebp - 0x220c]
push eax
call fcn.01002276
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x10039bb
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002276
mov esi, eax
cmp esi, ebx
jl 0x10039bb
cmp word [edi], 0x3d
jne 0x100396a
cmp dword [ebp + 0x10], ebx
je 0x1003610
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.01003104
lea ecx, [ebp - 0x2248]
mov esi, eax
mov dword [ebp - 0x2248], ebx
call fcn.01001e5d
cmp esi, ebx
jmp 0x100352b
cmp dword [ebp + 0x14], ebx
jne 0x1003679
cmp dword [ebp - 0x2224], ebx
je 0x1003679
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.01001ed0
cmp eax, ebx
jne 0x1003979
lea eax, [ebp - 0x220c]
push eax
push dword [ebp - 0x223c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100366e
cmp eax, 2
jne 0x1003979
lea ecx, [ebp - 0x223c]
call fcn.01001e5d
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.010023fd
jmp 0x1003448
push 0x5c
push edi
call fcn.010021ea
test eax, eax
jne 0x100396a
cmp dword [ebp + 0x10], eax
je 0x1003739
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.01001ed0
test eax, eax
je 0x10036fd
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.01001ed0
test eax, eax
je 0x10036fd
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.01001e7b
mov esi, eax
cmp esi, ebx
jne 0x1003987
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002276
mov esi, eax
test esi, esi
jl 0x10039bb
cmp word [edi], 0x3d
jne 0x100390c
mov ecx, dword [ebp - 0x2210]
push edi
push 0
lea eax, [ebp - 0x2220]
push eax
call fcn.01003104
mov esi, eax
jmp 0x1003529
cmp dword [ebp + 0x14], 0
jne 0x100375a
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.01001ed0
mov ebx, eax
jmp 0x100375d
push 2
pop ebx
test ebx, ebx
je 0x1003768
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.01001c34
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002276
mov esi, eax
test esi, esi
jl 0x10039bb
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.010023fd
mov esi, eax
test esi, esi
jl 0x10039bb
cmp word [edi], 0x7b
jne 0x1003800
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1003800
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp - 0x2220]
push edi
call fcn.010033f7
mov esi, eax
test esi, esi
jge 0x10037ea
cmp dword [ebp + 0x14], 0
je 0x10039bb
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002276
mov esi, eax
test esi, esi
jl 0x10039bb
mov eax, dword [ebp - 0x2258]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x1003953
test ebx, ebx
je 0x100382b
test eax, eax
jne 0x1003953
push ebx
call fcn.01001d35
mov esi, eax
jmp 0x10039bb
test eax, eax
je 0x1003882
push dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x2210]
call fcn.010023c1
test eax, eax
je 0x1003882
mov ecx, dword [ebp - 0x2210]
lea eax, [ebp - 0x20c]
push eax
call fcn.0100238b
test eax, eax
je 0x1003953
cmp dword [ebp - 0x2224], 0
je 0x1003953
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2220]
call fcn.01002971
jmp 0x1003953
push dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x2210]
call fcn.010023c1
lea ecx, [ebp - 0x2220]
mov dword [ebp - 0x225c], eax
call fcn.01001e5d
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x100399a
cmp dword [ebp - 0x2224], eax
je 0x1003953
cmp dword [ebp - 0x225c], eax
jne 0x1003953
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.01001dd7
and dword [ebp - 0x2254], 0
test eax, eax
jne 0x10039a8
lea ecx, [ebp - 0x2254]
call fcn.01001e5d
cmp dword [ebp + 0x10], 0
je 0x1003953
cmp word [edi], 0x7b
jne 0x1003953
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1003953
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x2220]
push edi
call fcn.010033f7
mov esi, eax
test esi, esi
jl 0x10039bb
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002276
mov esi, eax
test esi, esi
jl 0x10039bb
cmp word [edi], 0x7d
jne 0x1003451
jmp 0x10039bb
lea ecx, [ebp - 0x2230]
call fcn.01001e5d
mov esi, 0x80020009
jmp 0x10039bb
lea ecx, [ebp - 0x2230]
jmp 0x10039b6
push eax
call fcn.01001d35
lea ecx, [ebp - 0x223c]
jmp 0x10039b4
lea ecx, [ebp - 0x2220]
call fcn.01001e5d
push esi
call fcn.01001d35
jmp 0x10039c8
lea ecx, [ebp - 0x2220]
call fcn.01001e5d
push ebx
jmp 0x1003993
push eax
call fcn.01001d35
lea ecx, [ebp - 0x2254]
mov esi, eax
call fcn.01001e5d
lea ecx, [ebp - 0x2220]
call fcn.01001e5d
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01006318
leave
ret 0x10