Function at 0x41b090
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov eax, 0x2244
call fcn.00443830
push ebx
mov ebx, dword [esp + 0x224c]
mov eax, ecx
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x18], eax
push ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.0041a560
mov esi, eax
test esi, esi
js 0x41b793
cmp word [ebx], 0x7d
je 0x41b782
nop dword [eax]
nop word [eax + eax]
push str.Delete
push ebx
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x48e798
sbb edi, edi
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41b111
test edi, edi
je 0x41b1f4
mov ecx, dword [esp + 0x18]
push ebx
call fcn.0041a560
mov esi, eax
test esi, esi
js 0x41b782
cmp dword [esp + 0x2260], 0
je 0x41b1f4
movzx ecx, word [ebx]
mov eax, ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
test cx, cx
je 0x41b171
mov edx, ecx
nop
cmp dx, 0x5c
je 0x41b169
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x41b150
jmp 0x41b171
test eax, eax
jne 0x41b772
mov esi, 0x492a10
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41b1b3
add esi, 4
cmp esi, 0x492a40
jl 0x41b176
mov eax, dword [esp + 0x225c]
lea ecx, [esp + 0x2c]
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
call fcn.00419e00
mov dword [esp + 0x2c], 0
test edi, edi
je 0x41b1ec
mov edi, dword [esp + 0x18]
mov ecx, edi
push ebx
call fcn.0041a560
mov esi, eax
test esi, esi
js 0x41b782
push ebx
mov ecx, edi
call fcn.0041ab50
mov esi, eax
test esi, esi
js 0x41b782
mov dword [esp + 0x30], 0
jmp 0x41b47b
mov dword [esp + 0x30], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x41b21e
push ebx
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.0041a560
mov esi, eax
test esi, esi
js 0x41b782
push 0x48e790
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41b330
lea eax, [esp + 0x250]
mov ecx, edi
push eax
call fcn.0041a560
mov esi, eax
test esi, esi
js 0x41b782
push ebx
mov ecx, edi
call fcn.0041a560
mov esi, eax
test esi, esi
js 0x41b782
cmp word [ebx], 0x3d
jne 0x41b772
cmp dword [esp + 0x2260], 0
je 0x41b2ae
mov eax, dword [esp + 0x225c]
mov ecx, edi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x250]
push ebx
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x44], 0
push eax
mov dword [esp + 0x4c], 0
call fcn.0041a710
mov dword [esp + 0x38], 0
jmp 0x41b471
cmp dword [esp + 0x2264], 0
jne 0x41b319
cmp dword [esp + 0x14], 0
je 0x41b319
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x20006
push 0
push 0
push dword [esp + 0x226c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41b779
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x250]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x41b30a
cmp eax, 2
jne 0x41b75c
test edi, edi
je 0x41b315
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x18]
push ebx
mov ecx, edi
call fcn.0041ab50
mov esi, eax
test esi, esi
js 0x41b782
jmp 0x41b74d
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x41b361
mov edx, ecx
nop dword [eax]
cmp dx, 0x5c
je 0x41b359
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x41b340
jmp 0x41b361
test eax, eax
jne 0x41b772
cmp dword [esp + 0x2260], 0
je 0x41b4db
mov esi, dword [esp + 0x225c]
lea eax, [esp + 0x14]
push eax
push 0x2001f
push 0
push ebx
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41b3b9
test ebp, ebp
je 0x41b3a1
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0
test eax, eax
je 0x41b44a
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x20019
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41b3f8
test ebp, ebp
je 0x41b3e4
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0
test eax, eax
je 0x41b44a
lea eax, [esp + 0x44]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41b779
test ebp, ebp
je 0x41b432
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0
test eax, eax
jne 0x41b779
push ebx
mov ecx, edi
call fcn.0041a560
mov esi, eax
test esi, esi
js 0x41b782
cmp word [ebx], 0x3d
jne 0x41b47b
push ebx
push 0
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.0041a710
mov esi, eax
test esi, esi
js 0x41b782
cmp word [ebx], 0x7b
jne 0x41b74d
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b490
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x41b74d
push 0
push dword [esp + 0x2264]
mov ecx, edi
push ebp
push ebx
call fcn.0041b090
mov esi, eax
test esi, esi
js 0x41b782
push ebx
mov ecx, edi
call fcn.0041a560
mov esi, eax
test esi, esi
js 0x41b782
jmp 0x41b74d
mov esi, dword [esp + 0x2264]
test esi, esi
jne 0x41b528
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
push 0x20019
push esi
push ebx
push dword [esp + 0x226c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x41b52d
test ebp, ebp
je 0x41b516
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
jmp 0x41b52d
mov edi, 2
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x50]
test edi, edi
push 0x104
mov ebp, 1
push eax
cmove ebp, esi
call sym.GUIToGo.exe_wcsncpy_s
add esp, 0x10
mov ecx, eax
call fcn.00474030
mov ecx, dword [esp + 0x18]
push ebx
call fcn.0041a560
mov esi, eax
test esi, esi
js 0x41b782
mov ecx, dword [esp + 0x18]
push ebx
call fcn.0041ab50
mov esi, eax
test esi, esi
js 0x41b782
cmp word [ebx], 0x7b
jne 0x41b5cd
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b586
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x41b5cd
mov ecx, dword [esp + 0x18]
push ebp
push 0
push dword [esp + 0x28]
push ebx
call fcn.0041b090
mov esi, eax
test esi, esi
jns 0x41b5b9
test ebp, ebp
je 0x41b782
mov ecx, dword [esp + 0x18]
push ebx
call fcn.0041a560
mov esi, eax
test esi, esi
js 0x41b782
cmp edi, 2
je 0x41b74d
test edi, edi
je 0x41b5ef
cmp dword [esp + 0x2264], 0
jne 0x41b74d
mov ecx, edi
jmp 0x41b77b
cmp dword [esp + 0x2264], 0
mov ebp, dword [esp + 0x20]
je 0x41b672
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x41b672
cmp dword [esp + 0x1c], eax
jbe 0x41b672
mov edi, 0x492a10
push dword [edi]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41b74d
add edi, 4
cmp edi, 0x492a40
jl 0x41b634
cmp dword [esp + 0x14], 0
je 0x41b74d
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
call fcn.00419e00
jmp 0x41b74d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x41b6a2
xor edi, edi
jmp 0x41b6ac
xor eax, eax
cmp eax, dword [esp + 0x1c]
sbb edi, edi
neg edi
xor eax, eax
test ebp, ebp
je 0x41b6c1
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
test eax, eax
jne 0x41b779
cmp dword [esp + 0x14], eax
je 0x41b74d
test edi, edi
jne 0x41b74d
cmp byte [0x4be8d4], al
jne 0x41b71a
push 0x48f04c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41b70c
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4be8d0], eax
mov byte [0x4be8d4], 1
jmp 0x41b71f
mov eax, dword [0x4be8d0]
mov byte [0x4be8d4], 1
jmp 0x41b71f
mov eax, dword [0x4be8d0]
test eax, eax
je 0x41b737
push 0
push 0
lea ecx, [esp + 0x50]
push ecx
push dword [esp + 0x2268]
call eax
jmp 0x41b749
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x2260]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x41b779
cmp word [ebx], 0x7d
je 0x41b782
mov ebp, dword [esp + 0x20]
jmp 0x41b0e0
mov ecx, eax
call fcn.00419b50
mov esi, eax
test edi, edi
je 0x41b782
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41b782
mov esi, 0x80020009
jmp 0x41b782
mov ecx, eax
call fcn.00419b50
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41b791
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2244
ret 0x10