Function at 0x4093f0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x46f796
mov eax, dword fs:[0]
push eax
mov eax, 0x2254
call fcn.00458e00
mov eax, dword [0x4a2a04]
xor eax, esp
mov dword [esp + 0x2250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a2a04]
xor eax, esp
push eax
lea eax, [esp + 0x2268]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2278]
mov eax, dword [esp + 0x227c]
xor esi, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x2284]
mov eax, edi
mov dword [esp + 0x2270], esi
mov dword [esp + 0x34], edx
call fcn.00409280
mov ebp, eax
cmp ebp, esi
jl 0x409af3
cmp word [edi], 0x7d
je 0x409af1
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [esp + 0x38], 1
call ebp
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call ebp
test eax, eax
je 0x4094b1
cmp ebx, esi
je 0x4095d6
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00409280
mov ebp, eax
cmp ebp, esi
jl 0x409ae2
cmp dword [esp + 0x2280], esi
je 0x4095d6
movzx ecx, word [edi]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov eax, edi
cmp cx, si
je 0x40950b
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, cx
mov edi, edi
cmp cx, 0x5c
je 0x409503
push eax
call ebp
movzx ecx, word [eax]
cmp cx, si
jne 0x4094f0
jmp 0x40950b
cmp eax, esi
jne 0x409a5d
mov ebp, 0x47f48c
mov eax, dword [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x409548
add ebp, 4
cmp ebp, 0x47f4bc
jl 0x409510
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], esi
call fcn.00409030
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
cmp ebx, esi
je 0x4095d2
mov ebx, dword [esp + 0x18]
mov eax, edi
mov ecx, ebx
call fcn.00409280
mov ebp, eax
cmp ebp, esi
jl 0x409a79
mov ecx, ebx
call fcn.00408f70
mov ebp, eax
cmp ebp, esi
jl 0x409a79
mov dword [esp + 0x2c], esi
cmp word [edi], 0x7b
jne 0x4099d7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4099d7
mov edx, dword [esp + 0x2280]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push esi
push edx
push eax
push edi
call fcn.004093f0
mov ebp, eax
cmp ebp, esi
jl 0x409ae2
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00409280
mov ebp, eax
cmp ebp, esi
jl 0x409ae2
jmp 0x4099d7
mov dword [esp + 0x2c], esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4095ff
mov ecx, dword [esp + 0x18]
mov eax, edi
mov dword [esp + 0x30], esi
call fcn.00409280
mov ebp, eax
cmp ebp, esi
jl 0x409ae2
push 0x47f37c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x409731
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x264]
call fcn.00409280
mov ebp, eax
cmp ebp, esi
jl 0x409ae2
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00409280
mov ebp, eax
cmp ebp, esi
jl 0x409ae2
cmp word [edi], 0x3d
jne 0x409a66
cmp dword [esp + 0x2280], esi
je 0x4096a4
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x264]
mov byte [esp + 0x2270], 1
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, edi
mov dword [esp + 0x4c], esi
call fcn.00408bd0
mov ebp, eax
cmp ebp, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
jl 0x409a84
mov byte [esp + 0x2270], 0
mov dword [esp + 0x44], esi
jmp 0x40957c
cmp dword [esp + 0x2284], esi
jne 0x409719
cmp dword [esp + 0x30], esi
je 0x409719
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push 0x20006
push esi
push esi
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x409a98
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x264]
push ecx
push ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x409706
cmp eax, 2
jne 0x409a98
cmp ebx, esi
je 0x409715
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov ecx, dword [esp + 0x18]
call fcn.00408f70
mov ebp, eax
cmp ebp, esi
jl 0x409ae2
jmp 0x4099d7
movzx ecx, word [edi]
mov eax, edi
cmp cx, si
je 0x40975f
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, cx
cmp cx, 0x5c
je 0x409757
push eax
call ebx
movzx ecx, word [eax]
cmp cx, si
jne 0x409744
jmp 0x40975f
cmp eax, esi
jne 0x409a66
cmp dword [esp + 0x2280], esi
je 0x409879
mov ebx, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push 0x2001f
push esi
push edi
push ebx
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4097b2
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, esi
je 0x40979c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
cmp eax, esi
je 0x40983a
jmp 0x4097b6
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push 0x20019
push esi
push edi
push ebx
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4097ee
xor eax, eax
cmp ebp, esi
je 0x4097de
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
cmp eax, esi
je 0x40983a
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push edi
push ebx
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
cmp ebx, esi
jne 0x409aaa
xor eax, eax
cmp ebp, esi
je 0x409824
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
cmp eax, esi
jne 0x409aaa
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00409280
mov ebp, eax
cmp ebp, esi
jl 0x409ae2
cmp word [edi], 0x3d
jne 0x40957c
push esi
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.00408bd0
mov ebp, eax
cmp ebp, esi
jl 0x409ae2
jmp 0x40957c
cmp dword [esp + 0x2284], esi
jne 0x409991
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
push 0x20019
push esi
push edi
push ecx
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4098c2
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, esi
je 0x4098b6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp eax, esi
je 0x4098d7
mov dword [esp + 0x2284], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.0045200e
push eax
call fcn.00406b40
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov eax, edi
call fcn.00409280
mov ebp, eax
cmp ebp, esi
jl 0x409ae2
mov ecx, dword [esp + 0x18]
call fcn.00408f70
mov ebp, eax
cmp ebp, esi
jl 0x409ae2
cmp word [edi], 0x7b
jne 0x40996b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40996b
mov ebx, dword [esp + 0x2284]
mov ecx, dword [esp + 0x1c]
push ebx
push esi
push ecx
mov ecx, dword [esp + 0x24]
push edi
call fcn.004093f0
mov ebp, eax
cmp ebp, esi
jge 0x409952
cmp ebx, esi
je 0x409ae2
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00409280
mov ebp, eax
cmp ebp, esi
jl 0x409ae2
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2284], edx
cmp ebx, 2
je 0x4099d7
cmp ebx, esi
je 0x4099a2
cmp edx, esi
jne 0x4099d7
mov eax, ebx
call fcn.00409240
mov ebp, eax
jmp 0x409ae2
mov dword [esp + 0x14], 2
mov ebx, dword [esp + 0x14]
jmp 0x4098cc
mov ebx, dword [esp + 0x1c]
cmp edx, esi
je 0x4099e6
mov ecx, ebx
call fcn.00409180
test eax, eax
je 0x4099e6
lea ebx, [esp + 0x5c]
call fcn.00408ff0
test eax, eax
je 0x4099d5
cmp dword [esp + 0x30], 0
je 0x4099d5
mov eax, ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00409030
xor esi, esi
cmp word [edi], 0x7d
jne 0x409480
jmp 0x409ae2
mov ecx, ebx
call fcn.00409180
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], esi
cmp ebx, esi
je 0x409a08
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
cmp dword [esp + 0x14], esi
jne 0x409abc
cmp dword [esp + 0x30], esi
je 0x4099d7
cmp dword [esp + 0x50], esi
jne 0x4099d7
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x4c], esi
lea edi, [esp + 0x5c]
lea esi, [esp + 0x48]
mov dword [esp + 0x48], ecx
call fcn.004091e0
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
cmp eax, ecx
jne 0x409ad0
mov ecx, esi
call fcn.004091c0
mov edi, dword [esp + 0x54]
jmp 0x4099d5
lea ecx, [esp + 0x28]
call fcn.004091c0
lea ecx, [esp + 0x1c]
call fcn.004091c0
mov eax, 0x80020009
jmp 0x409af3
lea ecx, [esp + 0x28]
call fcn.004091c0
jmp 0x409ae2
lea ecx, [esp + 0x40]
call fcn.004091c0
lea ecx, [esp + 0x1c]
call fcn.004091c0
jmp 0x409af1
call fcn.00409240
lea ecx, [esp + 0x38]
mov ebp, eax
call fcn.004091c0
jmp 0x409ae2
lea ecx, [esp + 0x1c]
call fcn.004091c0
mov eax, ebx
call fcn.00409240
jmp 0x409af3
lea ecx, [esp + 0x1c]
call fcn.004091c0
mov eax, dword [esp + 0x14]
call fcn.00409240
jmp 0x409af3
call fcn.00409240
lea ecx, [esp + 0x48]
mov ebp, eax
call fcn.004091c0
xor esi, esi
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x409af1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
mov ecx, dword [esp + 0x2268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2250]
xor ecx, esp
call fcn.004516c6
add esp, 0x2260
ret 0x10