Function at 0x403b90
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x4091e7
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.00408420
mov eax, dword [0x40e4b8]
xor eax, esp
mov dword [esp + 0x2248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40e4b8]
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 0x403c1d
mov dword [esp + 0x2268], 0xffffffff
jmp 0x4042ac
cmp word [edi], 0x7d
je 0x40428c
jmp 0x403c30
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 0x403c61
cmp ebp, ebx
je 0x403d88
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40428c
cmp dword [esp + 0x2278], ebx
je 0x403d88
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 0x403cbf
movzx ecx, cx
nop
cmp cx, 0x5c
je 0x403cb7
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x403ca0
jmp 0x403cbf
cmp eax, ebx
jne 0x4041e9
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401c10
test eax, eax
je 0x403ceb
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 0x403d7d
mov ebp, dword [esp + 0x14]
push edi
mov ecx, ebp
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x404217
push edi
mov ecx, ebp
call fcn.00401ca0
mov esi, eax
cmp esi, ebx
jl 0x404217
mov byte [esp + 0x2268], bl
mov dword [esp + 0x2c], ebx
cmp word [edi], 0x7b
jne 0x403d6e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x403d6e
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.00403b90
mov esi, eax
cmp esi, ebx
jl 0x40428c
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40428c
cmp word [edi], 0x7d
jne 0x403c30
jmp 0x40428c
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 0x403db0
mov ecx, dword [esp + 0x14]
push edi
mov dword [esp + 0x34], ebx
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40428c
push 0x40a3c4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x403edf
lea ecx, [esp + 0x25c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40428c
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40428c
cmp word [edi], 0x3d
jne 0x4041f9
cmp dword [esp + 0x2278], ebx
je 0x403e5b
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.00403830
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
jl 0x404224
mov byte [esp + 0x2268], bl
mov dword [esp + 0x38], ebx
jmp 0x403d26
cmp dword [esp + 0x227c], ebx
jne 0x403ed0
cmp dword [esp + 0x30], ebx
je 0x403ed0
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 0x40424c
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x25c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x403eb6
cmp eax, 2
jne 0x40424c
mov byte [esp + 0x2268], bl
cmp esi, ebx
je 0x403ecc
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 0x403d64
movzx ecx, word [edi]
mov eax, edi
cmp cx, bx
je 0x403f0d
mov esi, dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, cx
cmp cx, 0x5c
je 0x403f05
push eax
call esi
movzx ecx, word [eax]
cmp cx, bx
jne 0x403ef2
jmp 0x403f0d
cmp eax, ebx
jne 0x4041f9
cmp dword [esp + 0x2278], ebx
je 0x404007
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 0x403f62
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x403f4e
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 0x403fca
push 0x20019
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.00401630
cmp eax, ebx
je 0x403fca
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 0x404264
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x403fb2
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 0x404264
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40428c
cmp word [edi], 0x3d
jne 0x403d26
mov ecx, dword [esp + 0x14]
push edi
push ebx
lea eax, [esp + 0x20]
push eax
call fcn.00403830
mov esi, eax
cmp esi, ebx
jl 0x40428c
jmp 0x403d26
cmp dword [esp + 0x227c], ebx
jne 0x404101
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 0x40403d
mov dword [esp + 0x227c], 1
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x5c]
push 0x104
push edx
call dword [sym.imp.MSVCR90.dll_wcsncpy_s]
push eax
call fcn.00401180
mov ecx, dword [esp + 0x28]
add esp, 0x14
push edi
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40428c
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401ca0
mov esi, eax
cmp esi, ebx
jl 0x40428c
cmp word [edi], 0x7b
jne 0x4040d1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4040d1
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.00403b90
mov esi, eax
cmp esi, ebx
jge 0x4040b9
cmp ebp, ebx
je 0x40428c
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401aa0
mov esi, eax
cmp esi, ebx
jl 0x40428c
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x227c], ecx
cmp ebp, 2
je 0x403d6e
cmp ebp, ebx
je 0x404112
cmp ecx, ebx
jne 0x403d6e
push ebp
call fcn.00401350
add esp, 4
mov esi, eax
jmp 0x40428c
mov dword [esp + 0x20], 2
mov ebp, dword [esp + 0x20]
jmp 0x404032
mov ebp, dword [esp + 0x18]
cmp ecx, ebx
je 0x40415b
mov ecx, dword [esp + 0x14]
push ebp
call fcn.00401c50
test eax, eax
je 0x40415b
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x54]
push edx
call fcn.00401c10
test eax, eax
je 0x403d6e
cmp dword [esp + 0x30], ebx
je 0x403d6e
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401ff0
jmp 0x403d6e
mov ecx, dword [esp + 0x14]
push ebp
call fcn.00401c50
mov dword [esp + 0x20], eax
xor eax, eax
cmp ebp, ebx
je 0x40417a
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
jne 0x404264
cmp dword [esp + 0x30], ebx
je 0x403d6e
cmp dword [esp + 0x20], ebx
jne 0x403d6e
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 0x404271
mov byte [esp + 0x2268], bl
lea ecx, [esp + 0x3c]
call fcn.00401fd0
jmp 0x403d6e
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 0x4042b0
mov byte [esp + 0x2268], bl
lea ecx, [esp + 0x28]
jmp 0x404287
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 0x4042b0
push eax
call fcn.00401350
add esp, 4
mov esi, eax
mov byte [esp + 0x2268], bl
lea ecx, [esp + 0x44]
jmp 0x404287
push eax
call fcn.00401350
add esp, 4
mov esi, eax
jmp 0x404234
push eax
call fcn.00401350
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 0x4042aa
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.0040840e
add esp, 0x2258
ret 0x10