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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2b0b
mov eax, dword fs:[0]
push eax
mov eax, 0x2244
call fcn.00558750
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2224], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
push ebx
mov dword [ebp - 4], 0
call fcn.004a3090
mov esi, eax
test esi, esi
js 0x4a480e
cmp word [ebx], 0x7d
je 0x4a47fb
jmp 0x4a3e90
push str.Delete
push ebx
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x5b47a8
sbb edi, edi
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4a3ec3
test edi, edi
je 0x4a3fc5
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.004a3090
mov esi, eax
test esi, esi
js 0x4a47fb
cmp dword [ebp + 0x10], 0
je 0x4a3fc5
movzx eax, word [ebx]
mov edx, ebx
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x223c], 0
test ax, ax
je 0x4a3f24
cmp ax, 0x5c
je 0x4a3f1c
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
movzx ecx, word [edx]
mov eax, ecx
test cx, cx
jne 0x4a3f01
jmp 0x4a3f24
test edx, edx
jne 0x4a47e9
mov esi, 0x5c3948
lea esp, [esp]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4a3f7e
add esi, 4
cmp esi, 0x5c3978
jl 0x4a3f30
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2244]
push ebx
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x2240], 0
call fcn.0043a160
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x223c], 0
test edi, edi
je 0x4a3fbb
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.004a3090
mov esi, eax
test esi, esi
js 0x4a47fb
push ebx
mov ecx, edi
call fcn.004a4af0
mov esi, eax
test esi, esi
js 0x4a47fb
mov dword [ebp - 0x2240], 0
jmp 0x4a442a
mov dword [ebp - 0x2240], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4a3ff5
mov ecx, dword [ebp - 0x2224]
xor edi, edi
push ebx
mov dword [ebp - 0x2234], edi
call fcn.004a3090
mov esi, eax
test esi, esi
js 0x4a47fb
jmp 0x4a3ffb
mov edi, dword [ebp - 0x2234]
push 0x5b47a0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4a414f
mov ecx, dword [ebp - 0x2224]
lea eax, [ebp - 0x2218]
push eax
call fcn.004a3090
mov esi, eax
test esi, esi
js 0x4a47fb
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.004a3090
mov esi, eax
test esi, esi
js 0x4a47fb
cmp word [ebx], 0x3d
jne 0x4a47e9
cmp dword [ebp + 0x10], 0
je 0x4a40cc
mov eax, dword [ebp - 0x2220]
mov edi, dword [ebp - 0x2224]
mov ecx, edi
mov dword [ebp - 0x2250], eax
lea eax, [ebp - 0x2218]
push ebx
push eax
lea eax, [ebp - 0x2250]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
call fcn.004a16d0
mov esi, eax
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
test esi, esi
js 0x4a47fb
mov byte [ebp - 4], 0
mov dword [ebp - 0x224c], 0
jmp 0x4a442a
cmp dword [ebp + 0x14], 0
jne 0x4a4134
test edi, edi
je 0x4a4134
xor edi, edi
lea eax, [ebp - 0x2234]
mov dword [ebp - 0x2234], edi
push eax
push 0x20006
push edi
push edi
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a4102
mov edi, dword [ebp - 0x2234]
mov byte [ebp - 4], 0
test eax, eax
jne 0x4a47d1
lea eax, [ebp - 0x2218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4a4129
cmp eax, 2
jne 0x4a47d1
test edi, edi
je 0x4a4134
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.004a4af0
mov esi, eax
test esi, esi
js 0x4a47fb
jmp 0x4a47c5
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x4a4181
mov edx, ecx
jmp 0x4a4160
cmp dx, 0x5c
je 0x4a4179
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x4a4160
jmp 0x4a4181
test eax, eax
jne 0x4a47e9
cmp dword [ebp + 0x10], 0
je 0x4a448c
mov esi, dword [ebp - 0x2228]
mov byte [ebp - 4], 3
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x4a424c
cmp dword [esi], 0
je 0x4a423f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4a4212
mov eax, 1
mov edi, dword [ebp - 0x2230]
mov byte [ebp - 4], 0
test eax, eax
je 0x4a43f1
mov byte [ebp - 4], 4
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x4a42d5
cmp dword [esi], 0
je 0x4a42c8
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4a429b
mov eax, 1
jmp 0x4a4315
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a4245
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x2001f
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x4a4267
cmp dword [esi + 4], 0
jne 0x4a424c
mov eax, 1
jmp 0x4a4267
lea eax, [ebp - 0x221c]
push eax
push 0x2001f
push 0
push ebx
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a41c4
mov ecx, dword [ebp - 0x2230]
test ecx, ecx
je 0x4a4280
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], 0
jmp 0x4a41ca
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a42ce
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x4a42f0
cmp dword [esi + 4], 0
jne 0x4a42d5
mov eax, 1
jmp 0x4a42f0
lea eax, [ebp - 0x221c]
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a4315
test edi, edi
je 0x4a42ff
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], 0
mov byte [ebp - 4], 0
test eax, eax
je 0x4a43f1
mov byte [ebp - 4], 5
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x4a4398
cmp dword [esi], 0
je 0x4a438b
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4a4351
mov eax, 1
jmp 0x4a43e5
push 0x5bcb30
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a4391
push 0
push dword [esi]
lea ecx, [ebp - 0x2238]
push ecx
lea ecx, [ebp - 0x221c]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x4a43c0
cmp dword [esi + 4], 0
jne 0x4a4398
mov eax, 1
jmp 0x4a43c0
lea eax, [ebp - 0x2238]
push eax
lea eax, [ebp - 0x221c]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4a43e5
test edi, edi
je 0x4a43cf
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 0x222c], 0
mov byte [ebp - 4], 0
test eax, eax
jne 0x4a47f0
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.004a3090
mov esi, eax
test esi, esi
js 0x4a47fb
cmp word [ebx], 0x3d
jne 0x4a442a
push ebx
push 0
lea eax, [ebp - 0x2230]
mov ecx, edi
push eax
call fcn.004a16d0
mov esi, eax
test esi, esi
js 0x4a47fb
cmp word [ebx], 0x7b
jne 0x4a47c5
mov ecx, ebx
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a4440
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x4a47c5
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x2230]
push ebx
call fcn.004a3e00
mov esi, eax
test esi, esi
js 0x4a47fb
push ebx
mov ecx, edi
call fcn.004a3090
mov esi, eax
test esi, esi
js 0x4a47fb
jmp 0x4a47c5
cmp dword [ebp + 0x14], 0
jne 0x4a4557
mov esi, dword [ebp - 0x2228]
mov byte [ebp - 4], 6
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x4a4507
cmp dword [esi], 0
je 0x4a44fa
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4a44cd
lea edi, [eax + 1]
mov byte [ebp - 4], al
jmp 0x4a455c
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a4500
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x4a4522
cmp dword [esi + 4], 0
jne 0x4a4507
mov edi, 1
jmp 0x4a4524
lea eax, [ebp - 0x221c]
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x4a4551
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x4a453b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], 0
mov byte [ebp - 4], 0
jmp 0x4a455c
mov edi, 2
test edi, edi
mov eax, 1
push 0xffffffffffffffff
cmove eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x221c], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056cd7d
push eax
call fcn.00429a60
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
push ebx
call fcn.004a3090
mov esi, eax
test esi, esi
js 0x4a47fb
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.004a4af0
mov esi, eax
test esi, esi
js 0x4a47fb
cmp word [ebx], 0x7b
jne 0x4a4618
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a45c1
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x4a4618
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
push 0
push dword [ebp - 0x2230]
push ebx
call fcn.004a3e00
mov esi, eax
test esi, esi
jns 0x4a4602
cmp dword [ebp - 0x221c], 0
je 0x4a47fb
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.004a3090
mov esi, eax
test esi, esi
js 0x4a47fb
cmp edi, 2
je 0x4a47c5
test edi, edi
je 0x4a4635
cmp dword [ebp + 0x14], 0
jne 0x4a47c5
push edi
jmp 0x4a47f1
cmp dword [ebp + 0x14], 0
je 0x4a46c7
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x2230]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4a46c7
cmp dword [ebp - 0x221c], eax
jbe 0x4a46c7
mov edi, 0x5c3948
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4a47c5
add edi, 4
cmp edi, 0x5c3978
jl 0x4a4681
cmp dword [ebp - 0x2234], 0
je 0x4a47c5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.0043a160
jmp 0x4a47c5
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x2230]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4a4700
xor edi, edi
jmp 0x4a470c
xor eax, eax
cmp eax, dword [ebp - 0x221c]
sbb edi, edi
neg edi
mov ecx, dword [ebp - 0x2230]
xor eax, eax
test ecx, ecx
je 0x4a4727
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 0x222c], 0
test eax, eax
jne 0x4a47f0
cmp dword [ebp - 0x2234], eax
je 0x4a47c5
test edi, edi
jne 0x4a47c5
mov byte [ebp - 4], 7
cmp byte [0x63ca24], al
jne 0x4a478c
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4a477e
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x63ca20], eax
mov byte [0x63ca24], 1
jmp 0x4a4791
mov eax, dword [0x63ca20]
mov byte [0x63ca24], 1
jmp 0x4a4791
mov eax, dword [0x63ca20]
test eax, eax
je 0x4a47aa
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0x2220]
call eax
jmp 0x4a47bd
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 4], 0
test eax, eax
jne 0x4a47f0
cmp word [ebx], 0x7d
jne 0x4a3e90
jmp 0x4a47fb
push eax
call fcn.004a1d20
add esp, 4
mov esi, eax
test edi, edi
je 0x4a47fb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a47fb
mov esi, 0x80020009
jmp 0x4a47fb
push eax
call fcn.004a1d20
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x4a480c
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 - 0x10]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret 0x10