Function at 0x4041d0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x4361fc
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.004353b0
mov eax, dword [0x443574]
xor eax, esp
mov dword [esp + 0x2248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x443574]
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 edx, dword [esp + 0x227c]
push edi
mov dword [esp + 0x226c], ebx
mov dword [esp + 0x40], edx
call fcn.004019c0
mov esi, eax
cmp esi, ebx
jl 0x40489b
cmp word [edi], 0x7d
je 0x40487f
jmp 0x404260
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 0x43856c
sbb ebp, ebp
push edi
inc ebp
call esi
test eax, eax
je 0x404291
cmp ebp, ebx
je 0x4043b8
mov ecx, dword [esp + 0x14]
push edi
call fcn.004019c0
mov esi, eax
cmp esi, ebx
jl 0x40487f
cmp dword [esp + 0x2278], ebx
je 0x4043b8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
movzx ecx, word [edi]
mov byte [esp + 0x2268], 1
mov eax, edi
cmp cx, bx
je 0x4042ef
movzx ecx, cx
nop
cmp cx, 0x5c
je 0x4042e7
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x4042d0
jmp 0x4042ef
cmp eax, ebx
jne 0x404804
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401b30
test eax, eax
je 0x40431b
mov eax, dword [esp + 0x24]
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
call fcn.00402390
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
cmp ebp, ebx
je 0x4043ad
mov ebp, dword [esp + 0x14]
push edi
mov ecx, ebp
call fcn.004019c0
mov esi, eax
cmp esi, ebx
jl 0x40481d
push edi
mov ecx, ebp
call fcn.00401bc0
mov esi, eax
cmp esi, ebx
jl 0x40481d
mov byte [esp + 0x2268], bl
mov dword [esp + 0x2c], ebx
cmp word [edi], 0x7b
jne 0x40439e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40439e
mov edx, dword [esp + 0x2278]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebx
push edx
push eax
push edi
call fcn.004041d0
mov esi, eax
cmp esi, ebx
jl 0x40487f
mov ecx, dword [esp + 0x14]
push edi
call fcn.004019c0
mov esi, eax
cmp esi, ebx
jl 0x40487f
cmp word [edi], 0x7d
jne 0x404260
jmp 0x40487f
mov byte [esp + 0x2268], bl
mov dword [esp + 0x2c], ebx
push 0x438558
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4043e0
mov ecx, dword [esp + 0x14]
push edi
mov dword [esp + 0x34], ebx
call fcn.004019c0
mov esi, eax
cmp esi, ebx
jl 0x40487f
push 0x438584
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404507
lea ecx, [esp + 0x25c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004019c0
mov esi, eax
cmp esi, ebx
jl 0x40487f
mov ecx, dword [esp + 0x14]
push edi
call fcn.004019c0
mov esi, eax
cmp esi, ebx
jl 0x40487f
cmp word [edi], 0x3d
jne 0x40480d
cmp dword [esp + 0x2278], ebx
je 0x404483
mov edx, dword [esp + 0x24]
push edi
lea eax, [esp + 0x260]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x2274], 2
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
call fcn.00403e60
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
jl 0x404823
mov byte [esp + 0x2268], bl
mov dword [esp + 0x44], ebx
jmp 0x404356
cmp dword [esp + 0x227c], ebx
jne 0x4044f8
cmp dword [esp + 0x30], ebx
je 0x4044f8
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov edx, dword [esp + 0x24]
push 0x20006
push ebx
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x2274], 3
call fcn.004015a0
cmp eax, ebx
jne 0x404837
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x25c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x4044de
cmp eax, 2
jne 0x404837
mov byte [esp + 0x2268], bl
cmp esi, ebx
je 0x4044f4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401bc0
jmp 0x404394
movzx ecx, word [edi]
mov eax, edi
cmp cx, bx
je 0x40453b
mov esi, dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, cx
lea ebx, [ebx]
cmp cx, 0x5c
je 0x404533
push eax
call esi
movzx ecx, word [eax]
cmp cx, bx
jne 0x404520
jmp 0x40453b
cmp eax, ebx
jne 0x40480d
cmp dword [esp + 0x2278], ebx
je 0x404631
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ecx
push 0x2001f
push ebx
push edi
push edx
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x404588
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x404578
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x4045f4
mov edx, dword [esp + 0x24]
push 0x20019
push edi
push edx
lea ecx, [esp + 0x24]
call fcn.004015a0
cmp eax, ebx
je 0x4045f4
mov edx, dword [esp + 0x24]
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 edx
mov dword [esp + 0x44], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x404843
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x4045de
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov esi, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
jne 0x404843
mov ecx, dword [esp + 0x14]
push edi
call fcn.004019c0
mov esi, eax
cmp esi, ebx
jl 0x40487f
cmp word [edi], 0x3d
jne 0x404356
mov ecx, dword [esp + 0x14]
push edi
push ebx
lea edx, [esp + 0x20]
push edx
call fcn.00403e60
mov esi, eax
cmp esi, ebx
jl 0x40487f
jmp 0x404356
cmp dword [esp + 0x227c], ebx
jne 0x40472b
mov eax, dword [esp + 0x24]
push 0x20019
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.004015a0
mov ebp, eax
mov dword [esp + 0x20], ebp
cmp ebp, ebx
je 0x404667
mov dword [esp + 0x227c], 1
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x5c]
push 0x104
push ecx
call dword [sym.imp.MSVCR90.dll_wcsncpy_s]
push eax
call fcn.00401120
mov ecx, dword [esp + 0x28]
add esp, 0x14
push edi
call fcn.004019c0
mov esi, eax
cmp esi, ebx
jl 0x40487f
mov ecx, dword [esp + 0x14]
push edi
call fcn.00401bc0
mov esi, eax
cmp esi, ebx
jl 0x40487f
cmp word [edi], 0x7b
jne 0x4046fb
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4046fb
mov ebp, dword [esp + 0x227c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebp
push ebx
push edx
push edi
call fcn.004041d0
mov esi, eax
cmp esi, ebx
jge 0x4046e3
cmp ebp, ebx
je 0x40487f
mov ecx, dword [esp + 0x14]
push edi
call fcn.004019c0
mov esi, eax
cmp esi, ebx
jl 0x40487f
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x227c], eax
cmp ebp, 2
je 0x40439e
cmp ebp, ebx
je 0x40473c
cmp eax, ebx
jne 0x40439e
push ebp
call fcn.00401340
add esp, 4
mov esi, eax
jmp 0x40487f
mov dword [esp + 0x20], 2
mov ebp, dword [esp + 0x20]
jmp 0x40465c
cmp eax, ebx
je 0x404785
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.00401b70
test eax, eax
je 0x404785
lea edx, [esp + 0x54]
push edx
mov ecx, ebp
call fcn.00401b30
test eax, eax
je 0x40439e
cmp dword [esp + 0x30], ebx
je 0x40439e
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402390
jmp 0x40439e
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00401b70
xor ebp, ebp
mov dword [esp + 0x20], eax
cmp dword [esp + 0x18], ebx
je 0x4047b0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp ebp, ebx
jne 0x404857
cmp dword [esp + 0x30], ebx
je 0x40439e
cmp dword [esp + 0x20], ebx
jne 0x40439e
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
call fcn.00401540
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
cmp eax, ebx
jne 0x40486b
lea ecx, [esp + 0x48]
call fcn.00402370
jmp 0x40439e
lea ecx, [esp + 0x28]
call fcn.00402370
lea ecx, [esp + 0x18]
call fcn.00402370
mov eax, 0x80020009
jmp 0x40489b
lea ecx, [esp + 0x28]
jmp 0x40487a
lea ecx, [esp + 0x40]
call fcn.00402370
lea ecx, [esp + 0x18]
call fcn.00402370
jmp 0x404899
push eax
call fcn.00401340
lea ecx, [esp + 0x38]
jmp 0x404875
lea ecx, [esp + 0x18]
call fcn.00402370
push esi
call fcn.00401340
add esp, 4
jmp 0x40489b
lea ecx, [esp + 0x18]
call fcn.00402370
push ebp
call fcn.00401340
add esp, 4
jmp 0x40489b
push eax
call fcn.00401340
lea ecx, [esp + 0x4c]
add esp, 4
mov esi, eax
call fcn.00402370
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2268], 0xffffffff
cmp eax, ebx
je 0x404899
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.0043539d
add esp, 0x2258
ret 0x10