Function at 0x10038ad
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x225c
call fcn.01006880
mov eax, dword [section..data]
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.01002b5f
mov esi, eax
cmp esi, ebx
jmp 0x1003e07
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001388
push edi
mov dword [ebp - 0x2224], 1
call esi
mov ebx, eax
neg ebx
push 0x10013ac
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x100393a
test ebx, ebx
je 0x10039f7
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002b5f
mov esi, eax
test esi, esi
jl 0x1003e71
cmp dword [ebp + 0x10], 0
je 0x10039f7
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x2230], esi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
call fcn.01002ad3
test eax, eax
jne 0x1003e15
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002c74
test eax, eax
je 0x10039ac
mov eax, dword [ebp - 0x2214]
push edi
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2230], eax
call fcn.01002ea4
mov dword [ebp - 0x2230], esi
cmp ebx, esi
je 0x10039ec
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002b5f
mov esi, eax
test esi, esi
jl 0x1003e27
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002ce6
lea ecx, [ebp - 0x2230]
mov esi, eax
call fcn.01002746
test esi, esi
jl 0x1003e71
jmp 0x1003dc2
lea ecx, [ebp - 0x2230]
call fcn.01002746
push 0x1001398
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1003a23
mov ecx, dword [ebp - 0x2210]
and dword [ebp - 0x2224], eax
push edi
call fcn.01002b5f
mov esi, eax
test esi, esi
jl 0x1003e71
push 0x10013c4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1003b40
mov ecx, dword [ebp - 0x2210]
lea eax, [ebp - 0x220c]
push eax
call fcn.01002b5f
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x1003e71
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002b5f
mov esi, eax
cmp esi, ebx
jl 0x1003e71
cmp word [edi], 0x3d
jne 0x1003e20
cmp dword [ebp + 0x10], ebx
je 0x1003ac6
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.010035ba
lea ecx, [ebp - 0x2248]
mov esi, eax
mov dword [ebp - 0x2248], ebx
call fcn.01002746
cmp esi, ebx
jmp 0x10039e1
cmp dword [ebp + 0x14], ebx
jne 0x1003b2f
cmp dword [ebp - 0x2224], ebx
je 0x1003b2f
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.010027b9
cmp eax, ebx
jne 0x1003e2f
lea eax, [ebp - 0x220c]
push eax
push dword [ebp - 0x223c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1003b24
cmp eax, 2
jne 0x1003e2f
lea ecx, [ebp - 0x223c]
call fcn.01002746
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002ce6
jmp 0x10038fe
push 0x5c
push edi
call fcn.01002ad3
test eax, eax
jne 0x1003e20
cmp dword [ebp + 0x10], eax
je 0x1003bef
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.010027b9
test eax, eax
je 0x1003bb3
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.010027b9
test eax, eax
je 0x1003bb3
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.01002764
mov esi, eax
cmp esi, ebx
jne 0x1003e3d
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002b5f
mov esi, eax
test esi, esi
jl 0x1003e71
cmp word [edi], 0x3d
jne 0x1003dc2
mov ecx, dword [ebp - 0x2210]
push edi
push 0
lea eax, [ebp - 0x2220]
push eax
call fcn.010035ba
mov esi, eax
jmp 0x10039df
cmp dword [ebp + 0x14], 0
jne 0x1003c10
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.010027b9
mov ebx, eax
jmp 0x1003c13
push 2
pop ebx
test ebx, ebx
je 0x1003c1e
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.01002519
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002b5f
mov esi, eax
test esi, esi
jl 0x1003e71
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002ce6
mov esi, eax
test esi, esi
jl 0x1003e71
jmp 0x1011710
cmp dword [ebp + 0x10], 0
je 0x1003e09
cmp word [edi], 0x7b
jne 0x1003e09
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1003e09
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x2220]
push edi
call fcn.010038ad
mov esi, eax
test esi, esi
jl 0x1003e71
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01002b5f
mov esi, eax
test esi, esi
jl 0x1003e71
cmp word [edi], 0x7d
jne 0x1003907
jmp 0x1003e71
lea ecx, [ebp - 0x2230]
call fcn.01002746
mov esi, 0x80020009
jmp 0x1003e71
lea ecx, [ebp - 0x2230]
jmp 0x1003e6c
push eax
call fcn.010025c0
lea ecx, [ebp - 0x223c]
jmp 0x1003e6a
lea ecx, [ebp - 0x2220]
call fcn.01002746
push esi
call fcn.010025c0
jmp 0x1003e7e
mov esi, eax
call fcn.01002746
lea ecx, [ebp - 0x2220]
call fcn.01002746
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01006863
leave
ret 0x10