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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52209b
mov eax, dword fs:[0]
push eax
mov eax, 0x2244
call fcn.0050ef50
mov eax, dword [0x565300]
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.004ed0a0
mov esi, eax
test esi, esi
js 0x4ee7b6
cmp word [ebx], 0x7d
je 0x4ee7a3
nop dword [eax]
nop word [eax + eax]
push str.Delete
push ebx
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x52e62c
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4edeb0
test edi, edi
jne 0x4edfbf
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.004ed0a0
mov esi, eax
test esi, esi
js 0x4ee7a3
cmp dword [ebp + 0x10], 0
je 0x4edfbf
movzx eax, word [ebx]
mov edx, ebx
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x2238], 0
test ax, ax
je 0x4edf13
nop
cmp ax, 0x5c
je 0x4edf0b
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
movzx ecx, word [edx]
mov eax, ecx
test cx, cx
jne 0x4edef0
jmp 0x4edf13
test edx, edx
jne 0x4ee78c
mov esi, 0x525e04
nop dword [eax + eax]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4edf78
add esi, 4
cmp esi, 0x525e34
jl 0x4edf20
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2240]
push ebx
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
call fcn.004ed710
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x2238], 0
test edi, edi
jne 0x4edfb5
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.004ed0a0
mov esi, eax
test esi, esi
js 0x4ee7a3
push ebx
mov ecx, edi
call fcn.004eed40
mov esi, eax
test esi, esi
js 0x4ee7a3
mov dword [ebp - 0x223c], 0
jmp 0x4ee3e0
mov dword [ebp - 0x223c], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4edfef
mov ecx, dword [ebp - 0x2224]
xor edi, edi
push ebx
mov dword [ebp - 0x2234], edi
call fcn.004ed0a0
mov esi, eax
test esi, esi
js 0x4ee7a3
jmp 0x4edff5
mov edi, dword [ebp - 0x2234]
push 0x52e624
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4ee145
mov ecx, dword [ebp - 0x2224]
lea eax, [ebp - 0x2218]
push eax
call fcn.004ed0a0
mov esi, eax
test esi, esi
js 0x4ee7a3
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.004ed0a0
mov esi, eax
test esi, esi
js 0x4ee7a3
cmp word [ebx], 0x3d
jne 0x4ee78c
cmp dword [ebp + 0x10], 0
je 0x4ee0c6
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.004ec360
mov esi, eax
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
test esi, esi
js 0x4ee7a3
mov byte [ebp - 4], 0
mov dword [ebp - 0x224c], 0
jmp 0x4ee3e0
cmp dword [ebp + 0x14], 0
jne 0x4ee12a
test edi, edi
je 0x4ee12a
lea eax, [ebp - 0x2234]
mov dword [ebp - 0x2234], 0
push eax
push 0x20006
push 0
push 0
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ee798
mov edi, dword [ebp - 0x2234]
lea eax, [ebp - 0x2218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4ee11f
cmp eax, 2
jne 0x4ee774
test edi, edi
je 0x4ee12a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.004eed40
mov esi, eax
test esi, esi
js 0x4ee7a3
jmp 0x4ee768
movzx eax, word [ebx]
mov edx, ebx
test ax, ax
je 0x4ee173
nop
cmp ax, 0x5c
je 0x4ee16b
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
movzx ecx, word [edx]
mov eax, ecx
test cx, cx
jne 0x4ee150
jmp 0x4ee173
test edx, edx
jne 0x4ee78c
cmp dword [ebp + 0x10], 0
je 0x4ee43c
mov esi, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x4ee1e3
cmp dword [esi], 0
je 0x4ee1d6
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4ee233
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ee1dc
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x2001f
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x4ee1fe
cmp dword [esi + 4], 0
jne 0x4ee1e3
mov eax, 1
jmp 0x4ee1fe
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 0x4ee233
mov ecx, dword [ebp - 0x2230]
test ecx, ecx
je 0x4ee213
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], 0
test eax, eax
je 0x4ee3a7
jmp 0x4ee239
mov edi, dword [ebp - 0x2230]
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x4ee299
cmp dword [esi], 0
je 0x4ee28c
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4ee2e1
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ee292
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x4ee2b4
cmp dword [esi + 4], 0
jne 0x4ee299
mov eax, 1
jmp 0x4ee2b4
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 0x4ee2e1
test edi, edi
je 0x4ee2c3
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], 0
test eax, eax
je 0x4ee3a7
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x4ee34e
cmp dword [esi], 0
je 0x4ee341
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4ee793
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ee347
push 0
push dword [esi]
lea ecx, [ebp - 0x2244]
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 0x4ee376
cmp dword [esi + 4], 0
jne 0x4ee34e
mov eax, 1
jmp 0x4ee376
lea eax, [ebp - 0x2244]
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 0x4ee798
test edi, edi
je 0x4ee389
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 0x222c], 0
test eax, eax
jne 0x4ee798
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.004ed0a0
mov esi, eax
test esi, esi
js 0x4ee7a3
cmp word [ebx], 0x3d
jne 0x4ee3e0
push ebx
push 0
lea eax, [ebp - 0x2230]
mov ecx, edi
push eax
call fcn.004ec360
mov esi, eax
test esi, esi
js 0x4ee7a3
cmp word [ebx], 0x7b
jne 0x4ee768
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ee3f0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x4ee768
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x2230]
push ebx
call fcn.004eddf0
mov esi, eax
test esi, esi
js 0x4ee7a3
push ebx
mov ecx, edi
call fcn.004ed0a0
mov esi, eax
test esi, esi
js 0x4ee7a3
jmp 0x4ee768
cmp dword [ebp + 0x14], 0
jne 0x4ee4fc
mov esi, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x4ee4b0
cmp dword [esi], 0
je 0x4ee4a3
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4ee476
lea edi, [eax + 1]
jmp 0x4ee501
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ee4a9
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x4ee4cb
cmp dword [esi + 4], 0
jne 0x4ee4b0
mov edi, 1
jmp 0x4ee4cd
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 0x4ee501
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x4ee4e4
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
jmp 0x4ee501
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 dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push eax
call fcn.00403540
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
push ebx
call fcn.004ed0a0
mov esi, eax
test esi, esi
js 0x4ee7a3
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.004eed40
mov esi, eax
test esi, esi
js 0x4ee7a3
cmp word [ebx], 0x7b
jne 0x4ee5be
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ee567
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x4ee5be
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
push 0
push dword [ebp - 0x2230]
push ebx
call fcn.004eddf0
mov esi, eax
test esi, esi
jns 0x4ee5a8
cmp dword [ebp - 0x221c], 0
je 0x4ee7a3
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.004ed0a0
mov esi, eax
test esi, esi
js 0x4ee7a3
cmp edi, 2
je 0x4ee768
test edi, edi
je 0x4ee5db
cmp dword [ebp + 0x14], 0
jne 0x4ee768
push edi
jmp 0x4ee799
cmp dword [ebp + 0x14], 0
je 0x4ee676
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 0x4ee676
cmp eax, dword [ebp - 0x221c]
sbb eax, eax
neg eax
je 0x4ee676
mov edi, 0x525e04
nop dword [eax + eax]
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4ee768
add edi, 4
cmp edi, 0x525e34
jl 0x4ee630
cmp dword [ebp - 0x2234], 0
je 0x4ee768
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.004ed710
jmp 0x4ee768
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 0x4ee6af
xor edi, edi
jmp 0x4ee6bb
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 0x4ee6d6
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 0x4ee798
cmp dword [ebp - 0x2234], eax
je 0x4ee768
test edi, edi
jne 0x4ee768
cmp byte [0x568c60], al
jne 0x4ee733
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4ee725
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x568c5c], eax
mov byte [0x568c60], 1
jmp 0x4ee738
mov eax, dword [0x568c5c]
mov byte [0x568c60], 1
jmp 0x4ee738
mov eax, dword [0x568c5c]
test eax, eax
je 0x4ee751
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0x2220]
call eax
jmp 0x4ee764
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4ee798
cmp word [ebx], 0x7d
jne 0x4ede80
jmp 0x4ee7a3
push eax
call fcn.004ec9d0
add esp, 4
mov esi, eax
test edi, edi
je 0x4ee7a3
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ee7a3
mov esi, 0x80020009
jmp 0x4ee7a3
mov eax, 1
push eax
call fcn.004ec9d0
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x4ee7b4
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.0050ea5d
mov esp, ebp
pop ebp
ret 0x10