Function at 0x100037ce
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x1001d1c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x424], 0
and dword [ebp - 0x420], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x444], eax
push edi
mov eax, ebx
mov dword [ebp - 0x41c], ecx
call fcn.10002ff4
mov edi, eax
test edi, edi
jl 0x10003c82
cmp word [ebx], 0x7d
je 0x10003c80
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebx
mov dword [ebp - 0x430], 1
call edi
mov esi, eax
neg esi
push str.ForceRemove
sbb esi, esi
push ebx
inc esi
call edi
test eax, eax
je 0x1000385b
test esi, esi
je 0x10003915
mov ecx, dword [ebp - 0x41c]
mov eax, ebx
call fcn.10002ff4
mov edi, eax
test edi, edi
jl 0x10003c6b
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x10003917
push 0x5c
mov eax, ebx
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x43c], edi
call fcn.10002f32
pop ecx
test eax, eax
jne 0x10003dd2
push ebx
call fcn.1000341e
test eax, eax
je 0x100038cf
mov eax, dword [ebp - 0x428]
push ebx
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], edi
call fcn.10001c01
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x43c], edi
cmp esi, edi
je 0x1000390d
mov ecx, dword [ebp - 0x41c]
mov eax, ebx
call fcn.10002ff4
mov edi, eax
test edi, edi
jl 0x10003c6b
mov ecx, dword [ebp - 0x41c]
mov edi, ebx
call fcn.1000347f
mov edi, eax
test edi, edi
jl 0x10003c6b
and dword [ebp - 0x43c], 0
jmp 0x10003d73
mov dword [ebp - 0x43c], edi
jmp 0x10003917
xor edi, edi
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10003946
and dword [ebp - 0x430], eax
mov ecx, dword [ebp - 0x41c]
mov eax, ebx
call fcn.10002ff4
mov edi, eax
test edi, edi
jl 0x10003c6b
xor edi, edi
push 0x100181d8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10003a77
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x418]
call fcn.10002ff4
mov edi, eax
test edi, edi
jl 0x10003c6b
mov ecx, dword [ebp - 0x41c]
mov eax, ebx
call fcn.10002ff4
mov edi, eax
test edi, edi
jl 0x10003c6b
cmp word [ebx], 0x3d
jne 0x10003dfc
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x100039e9
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x454], eax
push ebx
lea eax, [ebp - 0x418]
push eax
lea edx, [ebp - 0x454]
mov dword [ebp - 0x450], esi
call fcn.10003128
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x450], esi
jl 0x10003e48
mov dword [ebp - 0x450], esi
jmp 0x10003d73
cmp dword [ebp + 0x14], esi
jne 0x10003a61
cmp dword [ebp - 0x430], esi
je 0x10003a61
push esi
push dword [ebp - 0x428]
mov eax, 0x20006
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
call fcn.10001b7e
cmp eax, esi
jne 0x10003e14
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x10003a41
cmp eax, 2
jne 0x10003e14
cmp dword [ebp - 0x438], esi
je 0x10003a5b
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
mov ecx, dword [ebp - 0x41c]
mov edi, ebx
call fcn.1000347f
mov edi, eax
cmp edi, esi
jmp 0x10003dbd
push 0x5c
mov eax, ebx
call fcn.10002f32
pop ecx
test eax, eax
jne 0x10003dd2
cmp dword [ebp + 0x10], edi
je 0x10003b6a
push ebx
push dword [ebp - 0x428]
mov esi, 0x2001f
mov eax, esi
lea ecx, [ebp - 0x424]
call fcn.10001b7e
test eax, eax
je 0x10003b26
push ebx
push dword [ebp - 0x428]
lea eax, [esi - 6]
lea ecx, [ebp - 0x424]
call fcn.10001b7e
test eax, eax
je 0x10003b26
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x430]
push eax
push edi
push esi
push edi
push edi
push edi
push ebx
push dword [ebp - 0x428]
mov dword [ebp - 0x430], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x10003e38
xor eax, eax
cmp dword [ebp - 0x424], edi
je 0x10003b0c
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x420], edi
cmp eax, edi
jne 0x10003e38
mov ecx, dword [ebp - 0x41c]
mov eax, ebx
call fcn.10002ff4
mov edi, eax
test edi, edi
jl 0x10003c6b
cmp word [ebx], 0x3d
jne 0x10003d73
mov ecx, dword [ebp - 0x41c]
push ebx
push 0
lea edx, [ebp - 0x424]
call fcn.10003128
mov edi, eax
test edi, edi
jl 0x10003c6b
jmp 0x10003d73
cmp dword [ebp + 0x14], edi
jne 0x10003b8e
push ebx
push dword [ebp - 0x428]
mov eax, 0x20019
lea ecx, [ebp - 0x424]
call fcn.10001b7e
mov dword [ebp - 0x42c], eax
jmp 0x10003b98
mov dword [ebp - 0x42c], 2
cmp dword [ebp - 0x42c], edi
je 0x10003ba7
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.10006d64
push eax
call fcn.10001069
mov ecx, dword [ebp - 0x41c]
add esp, 0x14
mov eax, ebx
call fcn.10002ff4
mov edi, eax
test edi, edi
jl 0x10003c6b
mov ecx, dword [ebp - 0x41c]
mov edi, ebx
call fcn.1000347f
mov edi, eax
test edi, edi
jl 0x10003c6b
cmp word [ebx], 0x7b
jne 0x10003c36
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10003c36
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x41c]
push 0
push dword [ebp - 0x424]
push ebx
call fcn.100037ce
mov edi, eax
test edi, edi
jge 0x10003c23
cmp dword [ebp + 0x14], 0
je 0x10003c6b
mov ecx, dword [ebp - 0x41c]
mov eax, ebx
call fcn.10002ff4
mov edi, eax
test edi, edi
jl 0x10003c6b
cmp dword [ebp - 0x42c], 2
mov eax, dword [ebp - 0x444]
mov dword [ebp + 0x14], eax
je 0x10003dc3
xor esi, esi
cmp dword [ebp - 0x42c], esi
je 0x10003c93
cmp eax, esi
jne 0x10003dc3
mov eax, dword [ebp - 0x42c]
call fcn.1000123a
mov edi, eax
cmp dword [ebp - 0x424], 0
je 0x10003c80
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006cf8
leave
ret 0x10
cmp eax, esi
je 0x10003cde
push dword [ebp - 0x424]
call fcn.1000344a
test eax, eax
je 0x10003cde
lea eax, [ebp - 0x210]
push eax
call fcn.1000341e
test eax, eax
je 0x10003dc3
cmp dword [ebp - 0x430], 0
je 0x10003dc3
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x424]
call fcn.10001c01
jmp 0x10003dc3
push dword [ebp - 0x424]
call fcn.1000344a
mov dword [ebp - 0x42c], eax
xor eax, eax
cmp dword [ebp - 0x424], esi
je 0x10003d0b
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x420], esi
cmp eax, esi
jne 0x10003e41
cmp dword [ebp - 0x430], esi
je 0x10003dc3
cmp dword [ebp - 0x42c], 0
jne 0x10003dc3
mov eax, dword [ebp - 0x428]
and dword [ebp - 0x448], 0
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x210]
push eax
lea esi, [ebp - 0x44c]
call fcn.10001b10
and dword [ebp - 0x44c], 0
and dword [ebp - 0x448], 0
test eax, eax
jne 0x10003c64
and dword [ebp - 0x448], eax
cmp dword [ebp + 0x10], 0
je 0x10003dc3
cmp word [ebx], 0x7b
jne 0x10003dc3
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10003dc3
mov ecx, dword [ebp - 0x41c]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x424]
push ebx
call fcn.100037ce
mov edi, eax
test edi, edi
jl 0x10003c6b
mov ecx, dword [ebp - 0x41c]
mov eax, ebx
call fcn.10002ff4
mov edi, eax
test edi, edi
jl 0x10003c6b
cmp word [ebx], 0x7d
jne 0x10003828
jmp 0x10003c6b
mov eax, dword [ebp - 0x41c]
mov esi, dword [eax + 8]
or esi, 0x82110000
cmp dword [ebp - 0x424], edi
je 0x10003df5
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10003c82
mov eax, dword [ebp - 0x41c]
mov esi, dword [eax + 8]
or esi, 0x82060000
cmp dword [ebp - 0x424], 0
jmp 0x10003de7
call fcn.1000123a
mov edi, eax
cmp dword [ebp - 0x438], esi
je 0x10003c6b
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10003c6b
call fcn.1000123a
mov esi, eax
jmp 0x10003de1
call fcn.1000123a
mov edi, eax
cmp dword [ebp - 0x424], esi
jmp 0x10003c72