Function at 0x100e3b50
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012182c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 0x18], edi
test esi, esi
je 0x100e3b8a
push 0
push dword [ebp + 8]
push edi
push ebx
call esi
jmp 0x100e3b92
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x100e3ba7
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
or eax, 0x20019
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100e3bdd
mov ecx, 2
pop edi
cmp eax, ecx
pop esi
cmove eax, ecx
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, edi
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e3bf6
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x30]
call fcn.1001a860
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
cmp edx, 8
mov ecx, dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x100e3c80
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x100e3c68
cmp edx, 8
lea esi, [ebp - 0x30]
push 2
cmovae esi, dword [ebp - 0x30]
lea edi, [ecx + 1]
push 0x1013de88
mov dword [ebp - 0x20], edi
lea eax, [esi + ecx*2]
push eax
call fcn.10076ed0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0xc]
jmp 0x100e3c80
push 1
push 0x1013de88
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
push dword [ebp - 0x18]
push 1
call fcn.1001f850
lea eax, [ebp - 0x50]
mov dword [ebp - 0x10], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x258]
push eax
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100e3d93
nop
lea eax, [ebp - 0x258]
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.1002f240
mov byte [ebp - 4], 1
lea edx, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
mov ecx, ebx
push esi
mov esi, dword [ebp + 8]
cmovae edx, dword [ebp - 0x48]
push esi
call fcn.100e3b50
add esp, 0xc
test eax, eax
jne 0x100e3d57
lea eax, [ebp - 0x50]
mov dword [ebp - 0x10], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x258]
push eax
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov byte [ebp - 4], 0
mov esi, eax
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100e3d4b
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e3d41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e3e02
push edx
push ecx
call fcn.1007306e
add esp, 8
test esi, esi
jne 0x100e3d93
mov esi, dword [ebp + 0xc]
jmp 0x100e3cb0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100e3d96
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e3d87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e3e02
push edx
push ecx
call fcn.1007306e
add esp, 8
jmp 0x100e3d96
mov esi, dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100e3daf
push 0
push esi
push edi
push ebx
call eax
jmp 0x100e3db7
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp - 0x1c]
mov esi, eax
cmp edx, 8
jb 0x100e3def
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100e3de5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e3e07
push edx
push ecx
call fcn.1007306e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.10080da8
call fcn.10080da8
int3