Function at 0x38a73f09
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x38a719c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x420], 0
push ebx
push esi
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x42c], eax
jmp 0x38a743fb
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x38a712b8
push edi
mov dword [ebp - 0x424], 1
call esi
mov ebx, eax
neg ebx
push 0x38a712dc
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x38a73f79
test ebx, ebx
je 0x38a7402a
mov ecx, dword [ebp - 0x418]
push edi
call fcn.38a731de
mov esi, eax
test esi, esi
jl 0x38a7446f
cmp dword [ebp + 0x10], 0
je 0x38a7402a
and dword [ebp - 0x41c], 0
push 0x5c
push edi
call fcn.38a73167
test eax, eax
jne 0x38a74413
mov ecx, dword [ebp - 0x418]
push edi
call fcn.38a732e1
test eax, eax
je 0x38a73fdf
mov eax, dword [ebp - 0x428]
push edi
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], eax
call fcn.38a734cc
and dword [ebp - 0x41c], 0
test ebx, ebx
je 0x38a7401f
mov ecx, dword [ebp - 0x418]
push edi
call fcn.38a731de
mov esi, eax
test esi, esi
jl 0x38a74425
mov ecx, dword [ebp - 0x418]
push edi
call fcn.38a73345
lea ecx, [ebp - 0x41c]
mov esi, eax
call fcn.38a72e3c
test esi, esi
jl 0x38a7446f
jmp 0x38a743c0
lea ecx, [ebp - 0x41c]
call fcn.38a72e3c
push 0x38a712c8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x38a74056
mov ecx, dword [ebp - 0x418]
and dword [ebp - 0x424], eax
push edi
call fcn.38a731de
mov esi, eax
test esi, esi
jl 0x38a7446f
push 0x38a712f4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x38a7415f
mov ecx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
push eax
call fcn.38a731de
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x38a7446f
mov ecx, dword [ebp - 0x418]
push edi
call fcn.38a731de
mov esi, eax
cmp esi, ebx
jl 0x38a7446f
cmp word [edi], 0x3d
jne 0x38a7441e
cmp dword [ebp + 0x10], ebx
je 0x38a740ed
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 0x424], eax
push edi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.38a73c18
lea ecx, [ebp - 0x424]
mov esi, eax
mov dword [ebp - 0x424], ebx
call fcn.38a72e3c
cmp esi, ebx
jmp 0x38a74014
cmp dword [ebp + 0x14], ebx
jne 0x38a7414a
cmp dword [ebp - 0x424], ebx
je 0x38a7414a
push 0x20006
push ebx
push dword [ebp - 0x428]
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], ebx
call fcn.38a72ea1
cmp eax, ebx
jne 0x38a7442d
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x38a7413f
cmp eax, 2
jne 0x38a7442d
lea ecx, [ebp - 0x41c]
call fcn.38a72e3c
mov ecx, dword [ebp - 0x418]
push edi
call fcn.38a73345
mov esi, eax
cmp esi, ebx
jmp 0x38a74405
push 0x5c
push edi
call fcn.38a73167
test eax, eax
jne 0x38a7441e
cmp dword [ebp + 0x10], eax
je 0x38a7420e
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x428]
lea ecx, [ebp - 0x420]
call fcn.38a72ea1
test eax, eax
je 0x38a741d2
push 0x20019
push edi
push dword [ebp - 0x428]
lea ecx, [ebp - 0x420]
call fcn.38a72ea1
test eax, eax
je 0x38a741d2
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x428]
lea ecx, [ebp - 0x420]
call fcn.38a72e53
mov esi, eax
cmp esi, ebx
jne 0x38a7443b
mov ecx, dword [ebp - 0x418]
push edi
call fcn.38a731de
mov esi, eax
test esi, esi
jl 0x38a7446f
cmp word [edi], 0x3d
jne 0x38a743c0
mov ecx, dword [ebp - 0x418]
push edi
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.38a73c18
mov esi, eax
jmp 0x38a74012
cmp dword [ebp + 0x14], 0
jne 0x38a7422f
push 0x20019
push edi
push dword [ebp - 0x428]
lea ecx, [ebp - 0x420]
call fcn.38a72ea1
mov ebx, eax
jmp 0x38a74232
push 2
pop ebx
test ebx, ebx
je 0x38a7423d
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
add esp, 0x10
push eax
call fcn.38a72cdf
mov ecx, dword [ebp - 0x418]
push edi
call fcn.38a731de
mov esi, eax
test esi, esi
jl 0x38a7446f
mov ecx, dword [ebp - 0x418]
push edi
call fcn.38a73345
mov esi, eax
test esi, esi
jl 0x38a7446f
cmp word [edi], 0x7b
jne 0x38a742d6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x38a742d6
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push 0
push dword [ebp - 0x420]
push edi
call fcn.38a73f09
mov esi, eax
test esi, esi
jge 0x38a742c0
cmp dword [ebp + 0x14], 0
je 0x38a7446f
mov ecx, dword [ebp - 0x418]
push edi
call fcn.38a731de
mov esi, eax
test esi, esi
jl 0x38a7446f
cmp ebx, 2
mov eax, dword [ebp - 0x42c]
mov dword [ebp + 0x14], eax
je 0x38a74407
test ebx, ebx
je 0x38a74301
test eax, eax
jne 0x38a74407
push ebx
call fcn.38a72d6e
mov esi, eax
jmp 0x38a7446f
test eax, eax
je 0x38a74358
push dword [ebp - 0x420]
mov ecx, dword [ebp - 0x418]
call fcn.38a73310
test eax, eax
je 0x38a74358
mov ecx, dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
call fcn.38a732e1
test eax, eax
je 0x38a74407
cmp dword [ebp - 0x424], 0
je 0x38a74407
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x420]
call fcn.38a734cc
jmp 0x38a74407
push dword [ebp - 0x420]
mov ecx, dword [ebp - 0x418]
call fcn.38a73310
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x41c], eax
call fcn.38a72e3c
mov ebx, eax
test ebx, ebx
jne 0x38a7444e
cmp dword [ebp - 0x424], eax
je 0x38a74407
cmp dword [ebp - 0x41c], eax
jne 0x38a74407
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x424], ebx
test eax, eax
jne 0x38a7445c
lea ecx, [ebp - 0x424]
call fcn.38a72e3c
cmp dword [ebp + 0x10], 0
je 0x38a74407
cmp word [edi], 0x7b
jne 0x38a74407
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x38a74407
mov ecx, dword [ebp - 0x418]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x420]
push edi
call fcn.38a73f09
mov esi, eax
test esi, esi
jl 0x38a7446f
mov ecx, dword [ebp - 0x418]
push edi
call fcn.38a731de
mov esi, eax
test esi, esi
jl 0x38a7446f
cmp word [edi], 0x7d
jne 0x38a73f46
jmp 0x38a7446f
lea ecx, [ebp - 0x41c]
call fcn.38a72e3c
mov esi, 0x80020009
jmp 0x38a7446f
lea ecx, [ebp - 0x41c]
jmp 0x38a7446a
push eax
call fcn.38a72d6e
lea ecx, [ebp - 0x41c]
jmp 0x38a74468
lea ecx, [ebp - 0x420]
call fcn.38a72e3c
push esi
call fcn.38a72d6e
jmp 0x38a7447c
lea ecx, [ebp - 0x420]
call fcn.38a72e3c
push ebx
jmp 0x38a74447
push eax
call fcn.38a72d6e
lea ecx, [ebp - 0x424]
mov esi, eax
call fcn.38a72e3c
lea ecx, [ebp - 0x420]
call fcn.38a72e3c
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.38a76c87
leave
ret 0x10