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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435fbc
mov eax, dword fs:[0]
push eax
mov eax, 0x2254
call fcn.00434ab0
mov eax, dword [0x441f9c]
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.004227e0
mov esi, eax
test esi, esi
js 0x423e36
cmp word [edi], 0x7d
je 0x423e36
nop dword [eax]
push str.Delete
push edi
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x437d08
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x423473
test ebx, ebx
je 0x4235a1
mov ecx, dword [ebp - 0x2224]
push edi
call fcn.004227e0
mov esi, eax
test esi, esi
js 0x423e36
cmp dword [ebp + 0x10], 0
je 0x4235a1
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 0x4234e4
mov edx, eax
cmp dx, 0x5c
je 0x4234dc
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4234c1
jmp 0x4234e4
test ecx, ecx
jne 0x423e21
mov esi, 0x437d44
nop dword [eax]
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x423552
add esi, 4
cmp esi, 0x437d74
jl 0x4234f0
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.00422e90
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
test ebx, ebx
je 0x423593
mov ebx, dword [ebp - 0x2224]
mov ecx, ebx
push edi
call fcn.004227e0
mov esi, eax
test esi, esi
js 0x423e36
push edi
mov ecx, ebx
call fcn.00424050
mov esi, eax
test esi, esi
js 0x423e36
mov byte [ebp - 4], 0
mov dword [ebp - 0x223c], 0
jmp 0x423a61
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 0x4235d1
mov ecx, dword [ebp - 0x2224]
xor ebx, ebx
push edi
mov dword [ebp - 0x2234], ebx
call fcn.004227e0
mov esi, eax
test esi, esi
js 0x423e36
jmp 0x4235d7
mov ebx, dword [ebp - 0x2234]
push 0x437d00
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x423775
mov ecx, dword [ebp - 0x2224]
lea eax, [ebp - 0x2218]
push eax
call fcn.004227e0
mov esi, eax
test esi, esi
js 0x423e36
mov ecx, dword [ebp - 0x2224]
push edi
call fcn.004227e0
mov esi, eax
test esi, esi
js 0x423e36
cmp word [edi], 0x3d
jne 0x423e21
cmp dword [ebp + 0x10], 0
je 0x4236a8
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.004214c0
mov esi, eax
mov dword [ebp - 0x2254], 0
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
test esi, esi
js 0x423e36
mov byte [ebp - 4], 0
mov dword [ebp - 0x2250], 0
jmp 0x423a61
cmp dword [ebp + 0x14], 0
jne 0x42375a
test ebx, ebx
je 0x42375a
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 0x423e28
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 0x423737
cmp eax, 2
jne 0x423e05
mov byte [ebp - 4], 0
test ebx, ebx
je 0x423750
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.00424050
mov esi, eax
test esi, esi
js 0x423e36
jmp 0x423df9
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x4237a4
mov edx, eax
cmp dx, 0x5c
je 0x42379c
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x423781
jmp 0x4237a4
test ecx, ecx
jne 0x423e21
cmp dword [ebp + 0x10], 0
je 0x423abc
mov ebx, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test ebx, ebx
je 0x423833
cmp dword [ebx], 0
je 0x423820
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4237e3
mov esi, dword [ebp - 0x2220]
mov eax, 1
jmp 0x42384f
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x423826
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 [0x437430]
call esi
mov esi, dword [ebp - 0x2220]
jmp 0x42384f
cmp dword [ebx + 4], 0
jne 0x423833
mov esi, dword [ebp - 0x2220]
mov eax, 1
jmp 0x42384f
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 0x423884
mov ecx, dword [ebp - 0x2230]
test ecx, ecx
je 0x423864
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 0x423a28
jmp 0x42388a
mov ebx, dword [ebp - 0x2230]
mov eax, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test eax, eax
je 0x423903
cmp dword [eax], 0
je 0x4238f6
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4238b9
mov eax, 1
jmp 0x423919
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4238fc
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 [0x437430]
call esi
jmp 0x423919
cmp dword [eax + 4], 0
jne 0x423903
mov eax, 1
jmp 0x423919
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 0x423946
test ebx, ebx
je 0x423928
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 0x423a28
mov eax, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test eax, eax
je 0x4239cf
cmp dword [eax], 0
je 0x4239c2
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x423978
mov eax, 1
jmp 0x4239f7
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4239c8
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 [0x437430]
call esi
jmp 0x4239f7
cmp dword [eax + 4], 0
jne 0x4239cf
mov eax, 1
jmp 0x4239f7
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 0x423e28
test ebx, ebx
je 0x423a0a
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 0x423e28
mov ebx, dword [ebp - 0x2224]
mov ecx, ebx
push edi
call fcn.004227e0
mov esi, eax
test esi, esi
js 0x423e36
cmp word [edi], 0x3d
jne 0x423a61
push edi
push 0
lea eax, [ebp - 0x2230]
mov ecx, ebx
push eax
call fcn.004214c0
mov esi, eax
test esi, esi
js 0x423e36
cmp word [edi], 0x7b
jne 0x423df9
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423a70
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x423df9
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2230]
push edi
call fcn.004233c0
mov esi, eax
test esi, esi
js 0x423e36
push edi
mov ecx, ebx
call fcn.004227e0
mov esi, eax
test esi, esi
js 0x423e36
jmp 0x423df9
cmp dword [ebp + 0x14], 0
jne 0x423b83
mov ebx, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test ebx, ebx
je 0x423b37
cmp dword [ebx], 0
je 0x423b2a
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x423af3
lea ebx, [eax + 1]
jmp 0x423b54
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x423b30
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 [0x437430]
call esi
jmp 0x423b52
cmp dword [ebx + 4], 0
jne 0x423b37
mov ebx, 1
jmp 0x423b54
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 0x423b88
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x423b6b
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 0x423b88
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.00421b00
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
push edi
call fcn.004227e0
mov esi, eax
test esi, esi
js 0x423e36
mov ecx, dword [ebp - 0x2224]
push edi
call fcn.00424050
mov esi, eax
test esi, esi
js 0x423e36
cmp word [edi], 0x7b
jne 0x423c47
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423bf0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x423c47
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
push 0
push dword [ebp - 0x2230]
push edi
call fcn.004233c0
mov esi, eax
test esi, esi
jns 0x423c31
cmp dword [ebp - 0x221c], 0
je 0x423e36
mov ecx, dword [ebp - 0x2224]
push edi
call fcn.004227e0
mov esi, eax
test esi, esi
js 0x423e36
cmp ebx, 2
je 0x423df9
test ebx, ebx
je 0x423c64
cmp dword [ebp + 0x14], 0
jne 0x423df9
push ebx
jmp 0x423e2c
cmp dword [ebp + 0x14], 0
je 0x423cf6
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 0x423cf6
cmp dword [ebp - 0x221c], eax
jbe 0x423cf6
mov ebx, 0x437d44
push dword [ebx]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x423df9
add ebx, 4
cmp ebx, 0x437d74
jl 0x423cb0
cmp dword [ebp - 0x2234], 0
je 0x423df9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.00422e90
jmp 0x423df9
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 0x423d2f
xor ebx, ebx
jmp 0x423d3b
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 0x423d58
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 0x423e2b
cmp dword [ebp - 0x2234], ecx
je 0x423df9
test ebx, ebx
jne 0x423df9
cmp byte [0x4425e8], bl
jne 0x423dc1
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x423db2
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov byte [0x4425e8], 1
mov dword [0x4425e4], ebx
jmp 0x423dc7
mov ebx, dword [0x4425e4]
mov byte [0x4425e8], 1
jmp 0x423dc7
mov ebx, dword [0x4425e4]
lea eax, [ebp - 0x218]
test ebx, ebx
je 0x423de8
push 0
push 0
push eax
push dword [ebp - 0x2220]
mov ecx, ebx
call dword [0x437430]
call ebx
jmp 0x423df5
push eax
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x423e28
cmp word [edi], 0x7d
jne 0x423440
jmp 0x423e36
push eax
call fcn.00421bc0
add esp, 4
mov byte [ebp - 4], 0
mov esi, eax
test ebx, ebx
je 0x423e36
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423e36
mov esi, 0x80020009
jmp 0x423e36
push eax
jmp 0x423e2c
push ecx
call fcn.00421bc0
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2230]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x423e4e
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.004345b0
mov esp, ebp
pop ebp
ret 0x10