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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43619c
mov eax, dword fs:[0]
push eax
mov eax, 0x2254
call fcn.00434c80
mov eax, dword [0x442f9c]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x2220], eax
xor eax, eax
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], eax
push edi
mov dword [ebp - 4], eax
call fcn.004229e0
mov esi, eax
test esi, esi
js 0x424036
cmp word [edi], 0x7d
je 0x424036
nop dword [eax]
push str.Delete
push edi
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x438ea0
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x423673
test ebx, ebx
je 0x4237a1
mov ecx, dword [ebp - 0x2224]
push edi
call fcn.004229e0
mov esi, eax
test esi, esi
js 0x424036
cmp dword [ebp + 0x10], 0
je 0x4237a1
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
movzx eax, word [edi]
mov ecx, edi
mov byte [ebp - 4], 1
test ax, ax
je 0x4236e4
mov edx, eax
cmp dx, 0x5c
je 0x4236dc
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4236c1
jmp 0x4236e4
test ecx, ecx
jne 0x424021
mov esi, 0x438edc
nop dword [eax]
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x423752
add esi, 4
cmp esi, 0x438f0c
jl 0x4236f0
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2240]
push edi
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
call fcn.00423090
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
test ebx, ebx
je 0x423793
mov ebx, dword [ebp - 0x2224]
mov ecx, ebx
push edi
call fcn.004229e0
mov esi, eax
test esi, esi
js 0x424036
push edi
mov ecx, ebx
call fcn.00424250
mov esi, eax
test esi, esi
js 0x424036
mov byte [ebp - 4], 0
mov dword [ebp - 0x223c], 0
jmp 0x423c61
mov byte [ebp - 4], 0
mov dword [ebp - 0x223c], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4237d1
mov ecx, dword [ebp - 0x2224]
xor ebx, ebx
push edi
mov dword [ebp - 0x2234], ebx
call fcn.004229e0
mov esi, eax
test esi, esi
js 0x424036
jmp 0x4237d7
mov ebx, dword [ebp - 0x2234]
push 0x438e98
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x423975
mov ecx, dword [ebp - 0x2224]
lea eax, [ebp - 0x2218]
push eax
call fcn.004229e0
mov esi, eax
test esi, esi
js 0x424036
mov ecx, dword [ebp - 0x2224]
push edi
call fcn.004229e0
mov esi, eax
test esi, esi
js 0x424036
cmp word [edi], 0x3d
jne 0x424021
cmp dword [ebp + 0x10], 0
je 0x4238a8
mov eax, dword [ebp - 0x2220]
mov ebx, dword [ebp - 0x2224]
mov ecx, ebx
mov dword [ebp - 0x2254], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2254]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
call fcn.004216c0
mov esi, eax
mov dword [ebp - 0x2254], 0
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
test esi, esi
js 0x424036
mov byte [ebp - 4], 0
mov dword [ebp - 0x2250], 0
jmp 0x423c61
cmp dword [ebp + 0x14], 0
jne 0x42395a
test ebx, ebx
je 0x42395a
mov dword [ebp - 0x2260], 0
mov dword [ebp - 0x225c], 0
mov dword [ebp - 0x2258], 0
lea eax, [ebp - 0x2234]
mov byte [ebp - 4], 3
push eax
push 0x20006
push 0
push 0
push dword [ebp - 0x2220]
mov dword [ebp - 0x2234], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424028
mov ebx, dword [ebp - 0x2234]
mov dword [ebp - 0x225c], eax
lea eax, [ebp - 0x2218]
push eax
push ebx
mov dword [ebp - 0x2260], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x423937
cmp eax, 2
jne 0x424005
mov byte [ebp - 4], 0
test ebx, ebx
je 0x423950
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2260], 0
mov dword [ebp - 0x225c], 0
mov ecx, dword [ebp - 0x2224]
push edi
call fcn.00424250
mov esi, eax
test esi, esi
js 0x424036
jmp 0x423ff9
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x4239a4
mov edx, eax
cmp dx, 0x5c
je 0x42399c
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x423981
jmp 0x4239a4
test ecx, ecx
jne 0x424021
cmp dword [ebp + 0x10], 0
je 0x423cbc
mov ebx, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test ebx, ebx
je 0x423a33
cmp dword [ebx], 0
je 0x423a20
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4239e3
mov esi, dword [ebp - 0x2220]
mov eax, 1
jmp 0x423a4f
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x423a26
push 0
push dword [ebx]
lea eax, [ebp - 0x221c]
mov ecx, esi
push eax
push 0x2001f
push 0
push edi
push dword [ebp - 0x2220]
call dword [0x438430]
call esi
mov esi, dword [ebp - 0x2220]
jmp 0x423a4f
cmp dword [ebx + 4], 0
jne 0x423a33
mov esi, dword [ebp - 0x2220]
mov eax, 1
jmp 0x423a4f
mov esi, dword [ebp - 0x2220]
lea eax, [ebp - 0x221c]
push eax
push 0x2001f
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423a84
mov ecx, dword [ebp - 0x2230]
test ecx, ecx
je 0x423a64
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x222c], 0
test eax, eax
je 0x423c28
jmp 0x423a8a
mov ebx, dword [ebp - 0x2230]
mov eax, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test eax, eax
je 0x423b03
cmp dword [eax], 0
je 0x423af6
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x423ab9
mov eax, 1
jmp 0x423b19
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x423afc
mov eax, dword [ebp - 0x2228]
mov ecx, esi
push 0
push dword [eax]
lea eax, [ebp - 0x221c]
push eax
push 0x20019
push 0
push edi
push dword [ebp - 0x2220]
call dword [0x438430]
call esi
jmp 0x423b19
cmp dword [eax + 4], 0
jne 0x423b03
mov eax, 1
jmp 0x423b19
lea eax, [ebp - 0x221c]
push eax
push 0x20019
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423b46
test ebx, ebx
je 0x423b28
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x222c], 0
test eax, eax
je 0x423c28
mov eax, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test eax, eax
je 0x423bcf
cmp dword [eax], 0
je 0x423bc2
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x423b78
mov eax, 1
jmp 0x423bf7
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x423bc8
mov eax, dword [ebp - 0x2228]
mov ecx, esi
push 0
push dword [eax]
lea eax, [ebp - 0x2244]
push eax
lea eax, [ebp - 0x221c]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push dword [ebp - 0x2220]
call dword [0x438430]
call esi
jmp 0x423bf7
cmp dword [eax + 4], 0
jne 0x423bcf
mov eax, 1
jmp 0x423bf7
lea eax, [ebp - 0x2244]
push eax
lea eax, [ebp - 0x221c]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x424028
test ebx, ebx
je 0x423c0a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x222c], 0
test eax, eax
jne 0x424028
mov ebx, dword [ebp - 0x2224]
mov ecx, ebx
push edi
call fcn.004229e0
mov esi, eax
test esi, esi
js 0x424036
cmp word [edi], 0x3d
jne 0x423c61
push edi
push 0
lea eax, [ebp - 0x2230]
mov ecx, ebx
push eax
call fcn.004216c0
mov esi, eax
test esi, esi
js 0x424036
cmp word [edi], 0x7b
jne 0x423ff9
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423c70
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x423ff9
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2230]
push edi
call fcn.004235c0
mov esi, eax
test esi, esi
js 0x424036
push edi
mov ecx, ebx
call fcn.004229e0
mov esi, eax
test esi, esi
js 0x424036
jmp 0x423ff9
cmp dword [ebp + 0x14], 0
jne 0x423d83
mov ebx, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test ebx, ebx
je 0x423d37
cmp dword [ebx], 0
je 0x423d2a
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x423cf3
lea ebx, [eax + 1]
jmp 0x423d54
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x423d30
push 0
push dword [ebx]
lea eax, [ebp - 0x221c]
mov ecx, esi
push eax
push 0x20019
push 0
push edi
push dword [ebp - 0x2220]
call dword [0x438430]
call esi
jmp 0x423d52
cmp dword [ebx + 4], 0
jne 0x423d37
mov ebx, 1
jmp 0x423d54
lea eax, [ebp - 0x221c]
push eax
push 0x20019
push 0
push edi
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x423d88
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x423d6b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], 0
jmp 0x423d88
mov ebx, 2
test ebx, ebx
mov eax, 1
push 0xffffffffffffffff
cmove eax, dword [ebp + 0x14]
push edi
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.00421d00
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
push edi
call fcn.004229e0
mov esi, eax
test esi, esi
js 0x424036
mov ecx, dword [ebp - 0x2224]
push edi
call fcn.00424250
mov esi, eax
test esi, esi
js 0x424036
cmp word [edi], 0x7b
jne 0x423e47
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423df0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x423e47
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
push 0
push dword [ebp - 0x2230]
push edi
call fcn.004235c0
mov esi, eax
test esi, esi
jns 0x423e31
cmp dword [ebp - 0x221c], 0
je 0x424036
mov ecx, dword [ebp - 0x2224]
push edi
call fcn.004229e0
mov esi, eax
test esi, esi
js 0x424036
cmp ebx, 2
je 0x423ff9
test ebx, ebx
je 0x423e64
cmp dword [ebp + 0x14], 0
jne 0x423ff9
push ebx
jmp 0x42402c
cmp dword [ebp + 0x14], 0
je 0x423ef6
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 0x423ef6
cmp dword [ebp - 0x221c], eax
jbe 0x423ef6
mov ebx, 0x438edc
push dword [ebx]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x423ff9
add ebx, 4
cmp ebx, 0x438f0c
jl 0x423eb0
cmp dword [ebp - 0x2234], 0
je 0x423ff9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.00423090
jmp 0x423ff9
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2248]
mov dword [ebp - 0x2248], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x2230]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x423f2f
xor ebx, ebx
jmp 0x423f3b
xor eax, eax
cmp eax, dword [ebp - 0x2248]
sbb ebx, ebx
neg ebx
mov eax, dword [ebp - 0x2230]
xor ecx, ecx
test eax, eax
je 0x423f58
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], 0
test ecx, ecx
jne 0x42402b
cmp dword [ebp - 0x2234], ecx
je 0x423ff9
test ebx, ebx
jne 0x423ff9
cmp byte [0x4435f0], bl
jne 0x423fc1
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x423fb2
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov byte [0x4435f0], 1
mov dword [0x4435ec], ebx
jmp 0x423fc7
mov ebx, dword [0x4435ec]
mov byte [0x4435f0], 1
jmp 0x423fc7
mov ebx, dword [0x4435ec]
lea eax, [ebp - 0x218]
test ebx, ebx
je 0x423fe8
push 0
push 0
push eax
push dword [ebp - 0x2220]
mov ecx, ebx
call dword [0x438430]
call ebx
jmp 0x423ff5
push eax
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x424028
cmp word [edi], 0x7d
jne 0x423640
jmp 0x424036
push eax
call fcn.00421dc0
add esp, 4
mov byte [ebp - 4], 0
mov esi, eax
test ebx, ebx
je 0x424036
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x424036
mov esi, 0x80020009
jmp 0x424036
push eax
jmp 0x42402c
push ecx
call fcn.00421dc0
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2230]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x42404e
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.00434750
mov esp, ebp
pop ebp
ret 0x10