Function at 0x403b70
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x418317
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.00409b20
mov eax, dword [0x41f4bc]
xor eax, esp
mov dword [esp + 0x2248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41f4bc]
xor eax, esp
push eax
lea eax, [esp + 0x2260]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2274]
mov edi, dword [esp + 0x2270]
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2268], ebx
mov edx, dword [esp + 0x227c]
push edi
mov dword [esp + 0x50], edx
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jge 0x403bfd
mov dword [esp + 0x2268], 0xffffffff
jmp 0x40428b
cmp word [edi], 0x7d
je 0x40426b
jmp 0x403c10
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [esp + 0x38], 1
call esi
mov ebp, eax
neg ebp
push str.ForceRemove
sbb ebp, ebp
push edi
inc ebp
call esi
test eax, eax
je 0x403c41
cmp ebp, ebx
je 0x403d68
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40426b
cmp dword [esp + 0x2278], ebx
je 0x403d68
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x2268], 1
movzx ecx, word [edi]
mov eax, edi
cmp cx, bx
je 0x403c9f
movzx ecx, cx
nop
cmp cx, 0x5c
je 0x403c97
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x403c80
jmp 0x403c9f
cmp eax, ebx
jne 0x4041c8
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401c10
test eax, eax
je 0x403ccb
mov eax, dword [esp + 0x24]
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
call fcn.00401ff0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
cmp ebp, ebx
je 0x403d5d
mov ebp, dword [esp + 0x14]
push edi
mov ecx, ebp
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x4041f6
push edi
mov ecx, ebp
call fcn.00401ca0
mov esi, eax
cmp esi, ebx
jl 0x4041f6
mov byte [esp + 0x2268], bl
mov dword [esp + 0x2c], ebx
cmp word [edi], 0x7b
jne 0x403d4e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x403d4e
mov eax, dword [esp + 0x2278]
mov ecx, dword [esp + 0x18]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x20]
push edi
call fcn.00403b70
mov esi, eax
cmp esi, ebx
jl 0x40426b
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40426b
cmp word [edi], 0x7d
jne 0x403c10
jmp 0x40426b
mov byte [esp + 0x2268], bl
mov dword [esp + 0x2c], ebx
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x403d90
mov ecx, dword [esp + 0x14]
push edi
mov dword [esp + 0x34], ebx
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40426b
push 0x4193c4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x403ebf
lea ecx, [esp + 0x25c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40426b
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40426b
cmp word [edi], 0x3d
jne 0x4041d8
cmp dword [esp + 0x2278], ebx
je 0x403e3b
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x2268], 2
mov edx, dword [esp + 0x24]
push edi
lea eax, [esp + 0x260]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
call fcn.00403810
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
jl 0x404203
mov byte [esp + 0x2268], bl
mov dword [esp + 0x38], ebx
jmp 0x403d06
cmp dword [esp + 0x227c], ebx
jne 0x403eb0
cmp dword [esp + 0x30], ebx
je 0x403eb0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x2268], 3
mov edx, dword [esp + 0x24]
push 0x20006
push ebx
push edx
lea ecx, [esp + 0x50]
call fcn.00401630
cmp eax, ebx
jne 0x40422b
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x25c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x403e96
cmp eax, 2
jne 0x40422b
mov byte [esp + 0x2268], bl
cmp esi, ebx
je 0x403eac
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401ca0
jmp 0x403d44
movzx ecx, word [edi]
mov eax, edi
cmp cx, bx
je 0x403eed
mov esi, dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, cx
cmp cx, 0x5c
je 0x403ee5
push eax
call esi
movzx ecx, word [eax]
cmp cx, bx
jne 0x403ed2
jmp 0x403eed
cmp eax, ebx
jne 0x4041d8
cmp dword [esp + 0x2278], ebx
je 0x403fe7
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ecx
push 0x2001f
push ebx
push edi
push esi
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x403f42
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x403f2e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x403faa
push 0x20019
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.00401630
cmp eax, ebx
je 0x403faa
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push edi
push esi
mov dword [esp + 0x44], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x404243
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x403f92
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
jne 0x404243
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40426b
cmp word [edi], 0x3d
jne 0x403d06
mov ecx, dword [esp + 0x14]
push edi
push ebx
lea eax, [esp + 0x20]
push eax
call fcn.00403810
mov esi, eax
cmp esi, ebx
jl 0x40426b
jmp 0x403d06
cmp dword [esp + 0x227c], ebx
jne 0x4040e0
mov ecx, dword [esp + 0x24]
push 0x20019
push edi
push ecx
lea ecx, [esp + 0x24]
call fcn.00401630
mov ebp, eax
mov dword [esp + 0x20], ebp
cmp ebp, ebx
je 0x40401d
mov dword [esp + 0x227c], 1
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x5c]
push 0x104
push edx
call fcn.00409437
push eax
call fcn.00401280
mov ecx, dword [esp + 0x28]
add esp, 0x14
push edi
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40426b
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401ca0
mov esi, eax
cmp esi, ebx
jl 0x40426b
cmp word [edi], 0x7b
jne 0x4040b0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4040b0
mov ebp, dword [esp + 0x227c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebp
push ebx
push eax
push edi
call fcn.00403b70
mov esi, eax
cmp esi, ebx
jge 0x404098
cmp ebp, ebx
je 0x40426b
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40426b
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x227c], ecx
cmp ebp, 2
je 0x403d4e
cmp ebp, ebx
je 0x4040f1
cmp ecx, ebx
jne 0x403d4e
push ebp
call fcn.00401450
add esp, 4
mov esi, eax
jmp 0x40426b
mov dword [esp + 0x20], 2
mov ebp, dword [esp + 0x20]
jmp 0x404012
mov ebp, dword [esp + 0x18]
cmp ecx, ebx
je 0x40413a
mov ecx, dword [esp + 0x14]
push ebp
call fcn.00401c50
test eax, eax
je 0x40413a
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x54]
push edx
call fcn.00401c10
test eax, eax
je 0x403d4e
cmp dword [esp + 0x30], ebx
je 0x403d4e
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401ff0
jmp 0x403d4e
mov ecx, dword [esp + 0x14]
push ebp
call fcn.00401c50
mov dword [esp + 0x20], eax
xor eax, eax
cmp ebp, ebx
je 0x404159
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
jne 0x404243
cmp dword [esp + 0x30], ebx
je 0x403d4e
cmp dword [esp + 0x20], ebx
jne 0x403d4e
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x2268], 4
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x54]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], ebx
call fcn.004015a0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
cmp eax, ebx
jne 0x404250
mov byte [esp + 0x2268], bl
lea ecx, [esp + 0x3c]
call fcn.00401fd0
jmp 0x403d4e
mov byte [esp + 0x2268], bl
lea ecx, [esp + 0x28]
call fcn.00401fd0
mov dword [esp + 0x2268], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401fd0
mov eax, 0x80020009
jmp 0x40428f
mov byte [esp + 0x2268], bl
lea ecx, [esp + 0x28]
jmp 0x404266
mov byte [esp + 0x2268], bl
lea ecx, [esp + 0x34]
call fcn.00401fd0
mov dword [esp + 0x2268], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401fd0
mov eax, esi
jmp 0x40428f
push eax
call fcn.00401450
add esp, 4
mov esi, eax
mov byte [esp + 0x2268], bl
lea ecx, [esp + 0x44]
jmp 0x404266
push eax
call fcn.00401450
add esp, 4
mov esi, eax
jmp 0x404213
push eax
call fcn.00401450
add esp, 4
mov esi, eax
mov byte [esp + 0x2268], bl
lea ecx, [esp + 0x3c]
call fcn.00401fd0
mov dword [esp + 0x2268], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x404289
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov eax, esi
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x2260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2248]
xor ecx, esp
call fcn.00409b02
add esp, 0x2258
ret 0x10