Function at 0x41bb70
Capabilities:
Delete registry key
Delete registry value
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.004ebaf0
push 0xffffffffffffffff
push 0x4f3375
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x526b24]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x2218]
mov ebx, dword [ebp + 0x2214]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push ebx
mov dword [ebp - 4], 0
call fcn.0041ab60
mov esi, eax
test esi, esi
js 0x41c442
cmp word [ebx], 0x7d
je 0x41c432
nop word [eax + eax]
push str.Delete
push ebx
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4f5c6c
sbb edi, edi
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41bc30
test edi, edi
je 0x41bd0a
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.0041ab60
mov esi, eax
test esi, esi
js 0x41c432
cmp dword [ebp + 0x221c], 0
je 0x41bd0a
movzx eax, word [ebx]
mov edx, ebx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
test ax, ax
je 0x41bc8b
cmp ax, 0x5c
je 0x41bc83
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
movzx ecx, word [edx]
mov eax, ecx
test cx, cx
jne 0x41bc68
jmp 0x41bc8b
test edx, edx
jne 0x41c420
mov esi, 0x4f5d60
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41bccc
add esi, 4
cmp esi, 0x4f5d90
jl 0x41bc90
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
call fcn.0041b550
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
test edi, edi
je 0x41bd03
mov edi, dword [ebp - 0x18]
mov ecx, edi
push ebx
call fcn.0041ab60
mov esi, eax
test esi, esi
js 0x41c432
push ebx
mov ecx, edi
call fcn.0041c700
mov esi, eax
test esi, esi
js 0x41c432
mov dword [ebp - 0x34], 0
jmp 0x41c0c6
mov dword [ebp - 0x34], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41bd34
mov ecx, dword [ebp - 0x18]
xor edi, edi
push ebx
mov dword [ebp - 0x28], edi
call fcn.0041ab60
mov esi, eax
test esi, esi
js 0x41c432
jmp 0x41bd37
mov edi, dword [ebp - 0x28]
push 0x4f5c64
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41be55
mov ecx, dword [ebp - 0x18]
lea eax, [ebp]
push eax
call fcn.0041ab60
mov esi, eax
test esi, esi
js 0x41c432
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.0041ab60
mov esi, eax
test esi, esi
js 0x41c432
cmp word [ebx], 0x3d
jne 0x41c420
cmp dword [ebp + 0x221c], 0
je 0x41bde1
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 0x44], eax
lea eax, [ebp]
push ebx
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
call fcn.00419800
mov esi, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
test esi, esi
js 0x41c432
mov byte [ebp - 4], 0
mov dword [ebp - 0x40], 0
jmp 0x41c0c6
cmp dword [ebp + 0x2220], 0
jne 0x41be3d
test edi, edi
je 0x41be3d
xor edi, edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], edi
push eax
push 0x20006
push edi
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41be0e
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 0
test eax, eax
jne 0x41c408
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x41be32
cmp eax, 2
jne 0x41c408
test edi, edi
je 0x41be3d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.0041c700
mov esi, eax
test esi, esi
js 0x41c432
jmp 0x41c3fc
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x41be82
mov edx, ecx
cmp dx, 0x5c
je 0x41be7a
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x41be61
jmp 0x41be82
test eax, eax
jne 0x41c420
cmp dword [ebp + 0x221c], 0
je 0x41c121
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0
test esi, esi
je 0x41bf36
cmp dword [esi], 0
je 0x41bf29
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x41bf02
mov eax, 1
mov edi, dword [ebp - 0x24]
mov byte [ebp - 4], 0
test eax, eax
je 0x41c093
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], 0
test esi, esi
je 0x41bfa7
cmp dword [esi], 0
je 0x41bf9a
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x41bf73
mov eax, 1
jmp 0x41bfd8
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41bf2f
push 0
push dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x2001f
push 0
push ebx
push dword [ebp - 0x14]
call eax
jmp 0x41bf4b
cmp dword [esi + 4], 0
jne 0x41bf36
mov eax, 1
jmp 0x41bf4b
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push 0
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41bebe
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x41bf61
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0
jmp 0x41bec1
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41bfa0
push 0
push dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x14]
call eax
jmp 0x41bfbc
cmp dword [esi + 4], 0
jne 0x41bfa7
mov eax, 1
jmp 0x41bfbc
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41bfd8
test edi, edi
je 0x41bfcb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
test eax, eax
je 0x41c093
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], 0
test esi, esi
je 0x41c04c
cmp dword [esi], 0
je 0x41c03f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x41c00e
mov eax, 1
jmp 0x41c087
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41c045
push 0
push dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x14]
call eax
jmp 0x41c06b
cmp dword [esi + 4], 0
jne 0x41c04c
mov eax, 1
jmp 0x41c06b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41c087
test edi, edi
je 0x41c07a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
test eax, eax
jne 0x41c427
mov edi, dword [ebp - 0x18]
mov ecx, edi
push ebx
call fcn.0041ab60
mov esi, eax
test esi, esi
js 0x41c432
cmp word [ebx], 0x3d
jne 0x41c0c6
push ebx
push 0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00419800
mov esi, eax
test esi, esi
js 0x41c432
cmp word [ebx], 0x7b
jne 0x41c3fc
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c0d5
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x41c3fc
push 0
push dword [ebp + 0x221c]
mov ecx, edi
push dword [ebp - 0x24]
push ebx
call fcn.0041bb70
mov esi, eax
test esi, esi
js 0x41c432
push ebx
mov ecx, edi
call fcn.0041ab60
mov esi, eax
test esi, esi
js 0x41c432
jmp 0x41c3fc
cmp dword [ebp + 0x2220], 0
jne 0x41c1ce
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
mov dword [ebp - 0x10], 0
test esi, esi
je 0x41c190
cmp dword [esi], 0
je 0x41c183
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x41c15c
lea edi, [eax + 1]
mov byte [ebp - 4], al
jmp 0x41c1d3
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41c189
push 0
push dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x14]
call eax
jmp 0x41c1a5
cmp dword [esi + 4], 0
jne 0x41c190
mov edi, 1
jmp 0x41c1a7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x41c1c8
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41c1bb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
jmp 0x41c1d3
mov edi, 2
test edi, edi
mov eax, 1
push 0xffffffffffffffff
cmove eax, dword [ebp + 0x2220]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x2000]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push eax
call fcn.00419f40
mov ecx, dword [ebp - 0x18]
add esp, 0x14
push ebx
call fcn.0041ab60
mov esi, eax
test esi, esi
js 0x41c432
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.0041c700
mov esi, eax
test esi, esi
js 0x41c432
cmp word [ebx], 0x7b
jne 0x41c27b
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c233
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x41c27b
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push 0
push dword [ebp - 0x24]
push ebx
call fcn.0041bb70
mov esi, eax
test esi, esi
jns 0x41c268
cmp dword [ebp - 0x10], 0
je 0x41c432
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.0041ab60
mov esi, eax
test esi, esi
js 0x41c432
cmp edi, 2
je 0x41c3fc
test edi, edi
je 0x41c29b
cmp dword [ebp + 0x2220], 0
jne 0x41c3fc
push edi
jmp 0x41c428
cmp dword [ebp + 0x2220], 0
je 0x41c320
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x41c320
cmp dword [ebp - 0x10], eax
jbe 0x41c320
mov edi, 0x4f5d60
nop word [eax + eax]
push dword [edi]
lea eax, [ebp + 0x2000]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41c3fc
add edi, 4
cmp edi, 0x4f5d90
jl 0x41c2e0
cmp dword [ebp - 0x28], 0
je 0x41c3fc
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x24]
call fcn.0041b550
jmp 0x41c3fc
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x41c350
xor edi, edi
jmp 0x41c359
xor eax, eax
cmp eax, dword [ebp - 0x10]
sbb edi, edi
neg edi
mov ecx, dword [ebp - 0x24]
xor eax, eax
test ecx, ecx
je 0x41c36e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0
test eax, eax
jne 0x41c427
cmp dword [ebp - 0x28], eax
je 0x41c3fc
test edi, edi
jne 0x41c3fc
mov byte [ebp - 4], 7
cmp byte [0x527638], al
jne 0x41c3c9
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41c3bb
push 0x4f5d38
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x527634], eax
mov byte [0x527638], 1
jmp 0x41c3ce
mov eax, dword [0x527634]
mov byte [0x527638], 1
jmp 0x41c3ce
mov eax, dword [0x527634]
test eax, eax
je 0x41c3e4
push 0
push 0
lea ecx, [ebp + 0x2000]
push ecx
push dword [ebp - 0x14]
call eax
jmp 0x41c3f4
lea eax, [ebp + 0x2000]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 4], 0
test eax, eax
jne 0x41c427
cmp word [ebx], 0x7d
jne 0x41bc00
jmp 0x41c432
push eax
call fcn.0041a000
add esp, 4
mov esi, eax
test edi, edi
je 0x41c432
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41c432
mov esi, 0x80020009
jmp 0x41c432
push eax
call fcn.0041a000
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41c440
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.004ebadf
lea esp, [ebp + 0x220c]
pop ebp
ret 0x10