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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100264dc
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.10024130
mov eax, dword [0x1003300c]
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 - 0x2230], 0
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
mov dword [ebp - 4], 0
push ebx
call fcn.1000fdf0
mov esi, eax
test esi, esi
js 0x10011675
cmp word [ebx], 0x7d
je 0x10011675
nop dword [eax]
nop word [eax + eax]
push str.Delete
push ebx
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x1002cda8
sbb edi, edi
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10010bd3
test edi, edi
je 0x10010d01
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.1000fdf0
mov esi, eax
test esi, esi
js 0x10011675
cmp dword [ebp + 0x10], 0
je 0x10010d01
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
mov byte [ebp - 4], 1
mov edx, ebx
movzx eax, word [ebx]
test ax, ax
je 0x10010c44
mov ecx, eax
cmp cx, 0x5c
je 0x10010c3c
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
movzx eax, word [edx]
mov ecx, eax
test ax, ax
jne 0x10010c21
jmp 0x10010c44
test edx, edx
jne 0x100115eb
mov esi, 0x1002ddc0
nop dword [eax]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10010cb2
add esi, 4
cmp esi, 0x1002ddf0
jl 0x10010c50
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.1000f290
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
test edi, edi
je 0x10010cf3
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.1000fdf0
mov esi, eax
test esi, esi
js 0x10011600
push ebx
mov ecx, edi
call fcn.10010540
mov esi, eax
test esi, esi
js 0x10011600
mov byte [ebp - 4], 0
mov dword [ebp - 0x223c], 0
jmp 0x100111dc
mov byte [ebp - 4], 0
mov dword [ebp - 0x223c], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10010d31
mov ecx, dword [ebp - 0x2224]
xor edi, edi
push ebx
mov dword [ebp - 0x2234], edi
call fcn.1000fdf0
mov esi, eax
test esi, esi
js 0x10011675
jmp 0x10010d37
mov edi, dword [ebp - 0x2234]
push 0x1002cda0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10010efd
mov ecx, dword [ebp - 0x2224]
lea eax, [ebp - 0x2218]
push eax
call fcn.1000fdf0
mov esi, eax
test esi, esi
js 0x10011675
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.1000fdf0
mov esi, eax
test esi, esi
js 0x10011675
cmp word [ebx], 0x3d
jne 0x100115f9
cmp dword [ebp + 0x10], 0
je 0x10010e2a
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
mov dword [ebp - 0x2244], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2220]
mov edi, dword [ebp - 0x2224]
mov ecx, edi
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x2218]
push ebx
push eax
lea eax, [ebp - 0x224c]
mov dword [ebp - 0x2248], 0
push eax
mov dword [ebp - 0x2244], 0
call fcn.1000ffb0
mov esi, eax
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
mov dword [ebp - 0x2244], 0
test esi, esi
js 0x10011610
mov byte [ebp - 4], 0
mov dword [ebp - 0x2248], 0
jmp 0x100111dc
cmp dword [ebp + 0x14], 0
jne 0x10010ee2
test edi, edi
je 0x10010ee2
mov dword [ebp - 0x2258], 0
mov dword [ebp - 0x2254], 0
mov dword [ebp - 0x2250], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2234]
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 0x1001164e
mov edi, dword [ebp - 0x2234]
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2254], eax
lea eax, [ebp - 0x2218]
push eax
push edi
mov dword [ebp - 0x2258], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10010ebf
cmp eax, 2
jne 0x10011620
mov byte [ebp - 4], 0
test edi, edi
je 0x10010ed8
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2258], 0
mov dword [ebp - 0x2254], 0
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.10010540
mov esi, eax
test esi, esi
js 0x10011675
jmp 0x100115dc
movzx eax, word [ebx]
mov ecx, ebx
test ax, ax
je 0x10010f33
mov edx, eax
nop dword [eax]
cmp dx, 0x5c
je 0x10010f2b
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x10010f10
jmp 0x10010f33
test ecx, ecx
jne 0x100115f9
cmp dword [ebp + 0x10], 0
je 0x1001123c
mov esi, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x10010fa3
cmp dword [esi], 0
je 0x10010f96
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10011007
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10010f9c
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x2001f
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x10010fbe
cmp dword [esi + 4], 0
jne 0x10010fa3
mov eax, 1
jmp 0x10010fbe
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 0x10011007
mov ecx, dword [ebp - 0x2230]
test ecx, ecx
je 0x10010fdd
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2230], 0
mov edi, dword [ebp - 0x221c]
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], 0
test eax, eax
je 0x100111a3
jmp 0x1001100d
mov edi, dword [ebp - 0x2230]
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x1001106d
cmp dword [esi], 0
je 0x10011060
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100110c9
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10011066
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x10011088
cmp dword [esi + 4], 0
jne 0x1001106d
mov eax, 1
jmp 0x10011088
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 0x100110c9
test edi, edi
je 0x100110a1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2230], 0
mov edi, dword [ebp - 0x221c]
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], 0
test eax, eax
je 0x100111a3
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x10011136
cmp dword [esi], 0
je 0x10011129
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10011667
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001112f
push 0
push dword [esi]
lea ecx, [ebp - 0x2268]
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 0x1001115e
cmp dword [esi + 4], 0
jne 0x10011136
mov eax, 1
jmp 0x1001115e
lea eax, [ebp - 0x2268]
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 0x1001166c
test edi, edi
je 0x1001117b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2230], 0
mov edi, dword [ebp - 0x221c]
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], 0
test eax, eax
jne 0x1001166c
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.1000fdf0
mov esi, eax
test esi, esi
js 0x10011675
cmp word [ebx], 0x3d
jne 0x100111dc
push ebx
push 0
lea eax, [ebp - 0x2230]
mov ecx, edi
push eax
call fcn.1000ffb0
mov esi, eax
test esi, esi
js 0x10011675
cmp word [ebx], 0x7b
jne 0x100115dc
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100111f0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x100115dc
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x2230]
push ebx
call fcn.10010b10
mov esi, eax
test esi, esi
js 0x10011675
push ebx
mov ecx, edi
call fcn.1000fdf0
mov esi, eax
test esi, esi
js 0x10011675
jmp 0x100115dc
cmp dword [ebp + 0x14], 0
jne 0x10011310
mov esi, dword [ebp - 0x2228]
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x100112b0
cmp dword [esi], 0
je 0x100112a3
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x10011276
lea edi, [eax + 1]
jmp 0x10011315
push str.RegOpenKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100112a9
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x100112cb
cmp dword [esi + 4], 0
jne 0x100112b0
mov edi, 1
jmp 0x100112cd
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 0x10011315
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x100112ee
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov dword [ebp - 0x2230], 0
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], 0
jmp 0x10011315
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.100192e6
push eax
call fcn.1000ee70
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
push ebx
call fcn.1000fdf0
mov esi, eax
test esi, esi
js 0x10011675
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.10010540
mov esi, eax
test esi, esi
js 0x10011675
cmp word [ebx], 0x7b
jne 0x100113d7
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011380
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x100113d7
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
push 0
push dword [ebp - 0x2230]
push ebx
call fcn.10010b10
mov esi, eax
test esi, esi
jns 0x100113c1
cmp dword [ebp - 0x221c], 0
je 0x10011675
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.1000fdf0
mov esi, eax
test esi, esi
js 0x10011675
cmp edi, 2
je 0x100115dc
test edi, edi
je 0x100113f5
cmp dword [ebp + 0x14], 0
jne 0x100115dc
mov ecx, edi
jmp 0x1001166e
cmp dword [ebp + 0x14], 0
je 0x10011487
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 0x10011487
cmp dword [ebp - 0x221c], eax
jbe 0x10011487
mov edi, 0x1002ddc0
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100115dc
add edi, 4
cmp edi, 0x1002ddf0
jl 0x10011441
cmp dword [ebp - 0x2234], 0
je 0x100115dc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.1000f290
jmp 0x100115dc
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 0x100114c0
xor edi, edi
jmp 0x100114cc
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 0x100114e7
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 0x1001166c
cmp dword [ebp - 0x2234], eax
je 0x100115dc
test edi, edi
jne 0x100115dc
mov dword [ebp - 0x2264], edi
mov dword [ebp - 0x2260], edi
mov dword [ebp - 0x225c], edi
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2220]
mov dword [ebp - 0x2264], ecx
mov dword [ebp - 0x2260], edi
mov dword [ebp - 0x225c], edi
cmp byte [0x10034f50], al
jne 0x10011586
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10011572
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x2220]
mov dword [0x10034f54], eax
mov byte [0x10034f50], 1
jmp 0x1001158b
mov eax, dword [0x10034f54]
mov ecx, dword [ebp - 0x2220]
mov byte [0x10034f50], 1
jmp 0x1001158b
mov eax, dword [0x10034f54]
test eax, eax
je 0x1001159f
push 0
push 0
lea edx, [ebp - 0x218]
push edx
push ecx
call eax
jmp 0x100115ad
lea eax, [ebp - 0x218]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x2264], 0
mov dword [ebp - 0x2260], 0
mov dword [ebp - 0x225c], 0
test eax, eax
jne 0x100116c1
mov byte [ebp - 4], al
mov dword [ebp - 0x2260], eax
cmp word [ebx], 0x7d
jne 0x10010ba0
jmp 0x10011675
mov byte [ebp - 4], 0
mov dword [ebp - 0x223c], 0
mov esi, 0x80020009
jmp 0x10011675
mov byte [ebp - 4], 0
mov dword [ebp - 0x223c], 0
jmp 0x10011675
mov byte [ebp - 4], 0
mov dword [ebp - 0x2248], 0
jmp 0x10011675
mov ecx, eax
call fcn.1000ef50
mov esi, eax
mov byte [ebp - 4], 0
test edi, edi
je 0x10011642
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2258], 0
mov dword [ebp - 0x2254], 0
jmp 0x10011675
mov ecx, eax
call fcn.1000ef50
mov esi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x2254], 0
jmp 0x10011675
mov eax, 1
mov ecx, eax
call fcn.1000ef50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x10011697
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2230], 0
mov eax, esi
mov dword [ebp - 0x222c], 0
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.10012255
mov esp, ebp
pop ebp
ret 0x10
mov ecx, eax
call fcn.1000ef50
mov esi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x2260], 0
jmp 0x10011675