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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de886
mov eax, dword fs:[0]
push eax
mov eax, 0x2244
call fcn.004bf8f0
mov eax, dword [0x53d9f8]
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.0041d4f0
mov esi, eax
test esi, esi
js 0x41e9e5
cmp word [ebx], 0x7d
je 0x41e9d2
jmp 0x41e0c0
push str.Delete
push ebx
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4f0de4
sbb edi, edi
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41e0f3
test edi, edi
je 0x41e1f5
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.0041d4f0
mov esi, eax
test esi, esi
js 0x41e9d2
cmp dword [ebp + 0x10], 0
je 0x41e1f5
movzx eax, word [ebx]
mov edx, ebx
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x223c], 0
test ax, ax
je 0x41e154
cmp ax, 0x5c
je 0x41e14c
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
movzx ecx, word [edx]
mov eax, ecx
test cx, cx
jne 0x41e131
jmp 0x41e154
test edx, edx
jne 0x41e9c0
mov esi, 0x4f4a40
lea esp, [esp]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41e1ae
add esi, 4
cmp esi, 0x4f4a70
jl 0x41e160
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2244]
push ebx
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x2240], 0
call fcn.0041db30
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x223c], 0
test edi, edi
je 0x41e1eb
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.0041d4f0
mov esi, eax
test esi, esi
js 0x41e9d2
push ebx
mov ecx, edi
call fcn.0041ee70
mov esi, eax
test esi, esi
js 0x41e9d2
mov dword [ebp - 0x2240], 0
jmp 0x41e61e
mov dword [ebp - 0x2240], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41e225
mov ecx, dword [ebp - 0x2224]
xor edi, edi
push ebx
mov dword [ebp - 0x2234], edi
call fcn.0041d4f0
mov esi, eax
test esi, esi
js 0x41e9d2
jmp 0x41e22b
mov edi, dword [ebp - 0x2234]
push 0x4f0ddc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41e37b
mov ecx, dword [ebp - 0x2224]
lea eax, [ebp - 0x2218]
push eax
call fcn.0041d4f0
mov esi, eax
test esi, esi
js 0x41e9d2
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.0041d4f0
mov esi, eax
test esi, esi
js 0x41e9d2
cmp word [ebx], 0x3d
jne 0x41e9c0
cmp dword [ebp + 0x10], 0
je 0x41e2fc
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.0041c9b0
mov esi, eax
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
test esi, esi
js 0x41e9d2
mov byte [ebp - 4], 0
mov dword [ebp - 0x224c], 0
jmp 0x41e61e
cmp dword [ebp + 0x14], 0
jne 0x41e360
test edi, edi
je 0x41e360
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 0x41e9c7
mov edi, dword [ebp - 0x2234]
lea eax, [ebp - 0x2218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x41e355
cmp eax, 2
jne 0x41e9a8
test edi, edi
je 0x41e360
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.0041ee70
mov esi, eax
test esi, esi
js 0x41e9d2
jmp 0x41e99c
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x41e3a8
mov edx, ecx
cmp dx, 0x5c
je 0x41e3a0
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x41e387
jmp 0x41e3a8
test eax, eax
jne 0x41e9c0
cmp dword [ebp + 0x10], 0
je 0x41e67c
mov esi, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x41e41b
cmp dword [esi], 0
je 0x41e40e
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x41e3e1
mov eax, 1
jmp 0x41e436
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41e414
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x2001f
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x41e436
cmp dword [esi + 4], 0
jne 0x41e41b
mov eax, 1
jmp 0x41e436
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 0x41e46b
mov ecx, dword [ebp - 0x2230]
test ecx, ecx
je 0x41e44b
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 0x41e5e5
jmp 0x41e471
mov edi, dword [ebp - 0x2230]
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x41e4d4
cmp dword [esi], 0
je 0x41e4c7
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x41e49a
mov eax, 1
jmp 0x41e4ef
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41e4cd
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x41e4ef
cmp dword [esi + 4], 0
jne 0x41e4d4
mov eax, 1
jmp 0x41e4ef
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 0x41e51c
test edi, edi
je 0x41e4fe
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 0x41e5e5
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x41e58c
cmp dword [esi], 0
je 0x41e57f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x41e545
mov eax, 1
jmp 0x41e5b4
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41e585
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 0x41e5b4
cmp dword [esi + 4], 0
jne 0x41e58c
mov eax, 1
jmp 0x41e5b4
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 0x41e9c7
test edi, edi
je 0x41e5c7
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
jne 0x41e9c7
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.0041d4f0
mov esi, eax
test esi, esi
js 0x41e9d2
cmp word [ebx], 0x3d
jne 0x41e61e
push ebx
push 0
lea eax, [ebp - 0x2230]
mov ecx, edi
push eax
call fcn.0041c9b0
mov esi, eax
test esi, esi
js 0x41e9d2
cmp word [ebx], 0x7b
jne 0x41e99c
mov ecx, ebx
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e630
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x41e99c
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x2230]
push ebx
call fcn.0041e030
mov esi, eax
test esi, esi
js 0x41e9d2
push ebx
mov ecx, edi
call fcn.0041d4f0
mov esi, eax
test esi, esi
js 0x41e9d2
jmp 0x41e99c
cmp dword [ebp + 0x14], 0
jne 0x41e739
mov esi, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x41e6ed
cmp dword [esi], 0
je 0x41e6e0
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x41e6b3
lea edi, [eax + 1]
jmp 0x41e70a
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41e6e6
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x41e708
cmp dword [esi + 4], 0
jne 0x41e6ed
mov edi, 1
jmp 0x41e70a
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 0x41e73e
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x41e721
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 0x41e73e
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.0041d000
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
push ebx
call fcn.0041d4f0
mov esi, eax
test esi, esi
js 0x41e9d2
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.0041ee70
mov esi, eax
test esi, esi
js 0x41e9d2
cmp word [ebx], 0x7b
jne 0x41e7fb
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e7a4
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x41e7fb
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
push 0
push dword [ebp - 0x2230]
push ebx
call fcn.0041e030
mov esi, eax
test esi, esi
jns 0x41e7e5
cmp dword [ebp - 0x221c], 0
je 0x41e9d2
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.0041d4f0
mov esi, eax
test esi, esi
js 0x41e9d2
cmp edi, 2
je 0x41e99c
test edi, edi
je 0x41e818
cmp dword [ebp + 0x14], 0
jne 0x41e99c
push edi
jmp 0x41e9c8
cmp dword [ebp + 0x14], 0
je 0x41e8aa
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 0x41e8aa
cmp dword [ebp - 0x221c], eax
jbe 0x41e8aa
mov edi, 0x4f4a40
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41e99c
add edi, 4
cmp edi, 0x4f4a70
jl 0x41e864
cmp dword [ebp - 0x2234], 0
je 0x41e99c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.0041db30
jmp 0x41e99c
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 0x41e8e3
xor edi, edi
jmp 0x41e8ef
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 0x41e90a
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 0x41e9c7
cmp dword [ebp - 0x2234], eax
je 0x41e99c
test edi, edi
jne 0x41e99c
cmp byte [0x541068], al
jne 0x41e967
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41e959
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x541064], eax
mov byte [0x541068], 1
jmp 0x41e96c
mov eax, dword [0x541064]
mov byte [0x541068], 1
jmp 0x41e96c
mov eax, dword [0x541064]
test eax, eax
je 0x41e985
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0x2220]
call eax
jmp 0x41e998
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x41e9c7
cmp word [ebx], 0x7d
jne 0x41e0c0
jmp 0x41e9d2
push eax
call fcn.0041d0c0
add esp, 4
mov esi, eax
test edi, edi
je 0x41e9d2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41e9d2
mov esi, 0x80020009
jmp 0x41e9d2
push eax
call fcn.0041d0c0
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x41e9e3
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.004bee49
mov esp, ebp
pop ebp
ret 0x10