Function at 0x10003d00
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10026966
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x226c
call fcn.1001e820
mov eax, dword [0x10031040]
xor eax, esp
mov dword [esp + 0x2268], eax
push ebx
push esi
push edi
mov eax, dword [0x10031040]
xor eax, esp
push eax
lea eax, [esp + 0x2280]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov edx, dword [ebp + 0x14]
mov eax, esi
mov edi, ecx
mov dword [esp + 0x2288], ebx
mov dword [esp + 0x40], edx
call fcn.10003120
mov edi, eax
cmp edi, ebx
jl 0x1000440b
cmp word [esi], 0x7d
je 0x10004409
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push esi
mov dword [esp + 0x20], 1
call edi
neg eax
push str.ForceRemove
sbb ebx, ebx
push esi
inc ebx
call edi
test eax, eax
je 0x10003dbf
test ebx, ebx
je 0x10003ef8
mov edi, dword [esp + 0x14]
mov eax, esi
call fcn.10003120
mov edi, eax
test edi, edi
js 0x100043f8
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x10003ef8
movzx ecx, word [esi]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov eax, esi
cmp cx, dx
je 0x10003e14
cmp cx, 0x5c
je 0x10003e0c
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x10003df5
jmp 0x10003e14
test eax, eax
jne 0x100043d6
mov edi, 0x1002a890
lea esp, [esp]
mov eax, dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10003e63
add edi, 4
cmp edi, 0x1002a8c0
jl 0x10003e20
mov ecx, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x34], ecx
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.10002650
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
jmp 0x10003e65
xor edi, edi
cmp ebx, edi
je 0x10003ef4
mov edi, dword [esp + 0x14]
mov eax, esi
call fcn.10003120
mov edi, eax
test edi, edi
js 0x100043ef
mov ecx, dword [esp + 0x14]
mov ebx, esi
call fcn.100037c0
mov edi, eax
test edi, edi
js 0x100043ef
mov dword [esp + 0x38], 0
cmp word [esi], 0x7b
jne 0x10003ee5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10003ee5
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
push 0
push eax
push ecx
push esi
mov ecx, ebx
call fcn.10003d00
mov edi, eax
test edi, edi
js 0x100043f8
mov eax, esi
mov edi, ebx
call fcn.10003120
mov edi, eax
test edi, edi
js 0x100043f8
cmp word [esi], 0x7d
jne 0x10003d90
jmp 0x100043f8
mov dword [esp + 0x38], edi
push str.NoRemove
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
test eax, eax
jne 0x10003f23
mov edi, dword [esp + 0x14]
mov eax, esi
mov dword [esp + 0x18], ebx
call fcn.10003120
mov edi, eax
cmp edi, ebx
jl 0x100043fa
push 0x1002a7bc
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10004043
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x274]
call fcn.10003120
mov edi, eax
cmp edi, ebx
jl 0x100043fa
mov edi, dword [esp + 0x14]
mov eax, esi
call fcn.10003120
mov edi, eax
cmp edi, ebx
jl 0x100043fa
cmp word [esi], 0x3d
jne 0x100043df
cmp dword [ebp + 0x10], ebx
je 0x10003fcc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x44]
mov byte [esp + 0x2288], 1
push eax
mov dword [esp + 0x48], edx
push ecx
mov edx, esi
lea ecx, [esp + 0x27c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.100032d0
mov edi, eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
cmp edi, ebx
jl 0x10004431
mov byte [esp + 0x2288], 0
mov dword [esp + 0x48], ebx
jmp 0x10003e9f
cmp dword [ebp + 0x14], ebx
jne 0x10004033
cmp dword [esp + 0x18], ebx
je 0x10004033
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x5c]
push edx
mov edx, 0x20006
xor eax, eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.10002590
cmp eax, ebx
jne 0x10004445
mov edi, dword [esp + 0x5c]
lea eax, [esp + 0x274]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x10004020
cmp eax, 2
jne 0x10004445
cmp edi, ebx
je 0x1000402f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov ecx, dword [esp + 0x14]
mov ebx, esi
call fcn.100037c0
jmp 0x10003edb
movzx ecx, word [esi]
mov eax, esi
cmp cx, bx
je 0x1000406f
lea ecx, [ecx]
cmp cx, 0x5c
je 0x10004067
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x10004050
jmp 0x1000406f
cmp eax, ebx
jne 0x100043df
cmp dword [ebp + 0x10], ebx
je 0x100041a3
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x28], ebx
je 0x100040a2
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x2c]
push ecx
lea edi, [esp + 0x20]
mov ebx, 0x2001f
call fcn.10002130
mov esi, dword [esp + 0x30]
xor ebx, ebx
jmp 0x100040b9
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push 0x2001f
push ebx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x100040e2
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ecx, ebx
je 0x100040ce
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x10004162
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x28], ebx
je 0x1000410c
mov edx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x2c]
push edx
lea edi, [esp + 0x20]
mov ebx, 0x20019
call fcn.10002130
mov esi, dword [esp + 0x30]
xor ebx, ebx
jmp 0x10004123
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10004148
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ecx, ebx
je 0x10004138
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x10004162
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
mov eax, esi
call fcn.10002510
mov edi, eax
cmp edi, ebx
jne 0x10004457
mov edi, dword [esp + 0x14]
mov eax, esi
call fcn.10003120
mov edi, eax
cmp edi, ebx
jl 0x100043fa
cmp word [esi], 0x3d
jne 0x10003e9f
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
mov edx, esi
xor ecx, ecx
call fcn.100032d0
mov edi, eax
cmp edi, ebx
jl 0x100043fa
jmp 0x10003e9f
cmp dword [ebp + 0x14], ebx
jne 0x10004249
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x28], ebx
je 0x100041d6
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x2c]
push eax
lea edi, [esp + 0x34]
mov ebx, 0x20019
call fcn.10002130
mov esi, dword [esp + 0x30]
xor ebx, ebx
jmp 0x100041ed
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push 0x20019
push ebx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1000420e
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ecx, ebx
je 0x10004202
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x1000421d
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x74]
push 0x104
push edx
call fcn.10017b30
add esp, 0x10
cmp eax, 0x50
ja case.0x10004242.1
movzx eax, byte [eax + 0x100044bc]
jmp dword [eax*4 + 0x100044ac]
mov dword [esp + 0x2c], 2
jmp 0x10004216
mov edi, dword [esp + 0x14]
mov eax, esi
call fcn.10003120
mov edi, eax
cmp edi, ebx
jl 0x100043fa
mov ecx, dword [esp + 0x14]
mov ebx, esi
call fcn.100037c0
mov edi, eax
test edi, edi
js 0x100043f8
cmp word [esi], 0x7b
jne 0x100042c9
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100042c9
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
push ecx
push 0
push edx
push esi
mov ecx, ebx
call fcn.10003d00
mov edi, eax
test edi, edi
jns 0x100042b6
cmp dword [ebp + 0x14], 0
je 0x100043f8
mov eax, esi
mov edi, ebx
call fcn.10003120
mov edi, eax
test edi, edi
js 0x100043f8
cmp dword [esp + 0x2c], 2
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x14], eax
je 0x10003ee5
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100042fa
cmp dword [esp + 0x40], 0
jne 0x10003ee5
call fcn.10002120
mov edi, eax
jmp 0x100043f8
cmp dword [esp + 0x40], 0
mov ebx, dword [esp + 0x20]
je 0x1000433d
mov ecx, ebx
call fcn.10003770
test eax, eax
je 0x1000433d
lea ebx, [esp + 0x6c]
call fcn.10003730
test eax, eax
je 0x10003ee5
cmp dword [esp + 0x18], 0
je 0x10003ee5
mov ecx, ebx
push ecx
lea ecx, [esp + 0x24]
call fcn.10002650
jmp 0x10003ee5
mov ecx, ebx
call fcn.10003770
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x10004367
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
test ebx, ebx
jne 0x1000447d
cmp dword [esp + 0x18], ebx
je 0x10003ee5
cmp dword [esp + 0x68], ebx
jne 0x10003ee5
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea ebx, [esp + 0x6c]
lea eax, [esp + 0x50]
mov dword [esp + 0x50], edx
call fcn.10002460
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
cmp eax, ecx
jne 0x10004492
lea esi, [esp + 0x50]
call fcn.10002440
mov esi, dword [esp + 0x30]
jmp 0x10003ee5
lea esi, [esp + 0x34]
call fcn.10002440
lea esi, [esp + 0x20]
call fcn.10002440
mov eax, 0x80020009
jmp 0x1000440b
lea esi, [esp + 0x34]
call fcn.10002440
xor ebx, ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10004409
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x2280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2268]
xor ecx, esp
call fcn.10017423
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x44]
call fcn.10002440
lea esi, [esp + 0x20]
call fcn.10002440
jmp 0x10004409
call fcn.10002120
lea esi, [esp + 0x5c]
mov edi, eax
call fcn.10002440
jmp 0x100043fa
lea esi, [esp + 0x20]
call fcn.10002440
mov eax, edi
call fcn.10002120
jmp 0x1000440b
push 0x8007000e
call fcn.10001ef0
push 0x80070057
call fcn.10001ef0
lea esi, [esp + 0x20]
call fcn.10002440
mov eax, ebx
call fcn.10002120
jmp 0x1000440b
call fcn.10002120
mov edi, eax
lea esi, [esp + 0x50]
jmp 0x100043f3
push 0x80004005
call fcn.10001ef0
push ebx
inc edx
add byte [eax], dl
imul eax, dword [eax + eax + 0x10], 0x10004473
mov byte [1048644], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3