Function at 0x100177a0
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153728
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x101b87d0]
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 edi, ecx
mov dword [ebp - 0x810], edi
lea ecx, [ebp - 0x804]
mov dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push 0xf003f
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10017ad5
push 0x208
push eax
lea eax, [ebp - 0x800]
push eax
call fcn.100e5140
add esp, 0xc
mov dword [ebp - 0x81c], 0x104
lea eax, [ebp - 0x83c]
push eax
push 0
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x800]
push eax
push dword [ebp - 0x804]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor esi, esi
cmp dword [ebp - 0x80c], esi
jbe 0x1001791d
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.100e5140
add esp, 0xc
mov dword [ebp - 0x808], 0x100
lea eax, [ebp - 0x820]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x820], 0x3e8
push eax
lea eax, [ebp - 0x5f8]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push dword [ebp - 0x804]
call edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x804]
call ebx
test eax, eax
jne 0x10017ad5
inc esi
cmp esi, dword [ebp - 0x80c]
jb 0x10017890
mov edi, dword [ebp - 0x810]
xor ebx, ebx
cmp dword [ebp - 0x814], ebx
jbe 0x10017aab
nop dword [eax + eax]
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.100e5140
add esp, 0xc
mov dword [ebp - 0x808], 0x100
lea eax, [ebp - 0x824]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push dword [ebp - 0x804]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10017ad5
push 0x104
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.100e5140
add esp, 0xc
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
lea edx, [ebp - 0x418]
cmovae eax, dword [ebp + 8]
sub edx, eax
nop dword [eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x100179b0
cmp word [ebp - 0x418], cx
je 0x10017a32
cmp word [ebp - 0x210], cx
je 0x10017a32
lea edi, [ebp - 0x418]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x100179e0
mov eax, dword [0x1018c5dc]
lea edx, [ebp - 0x210]
mov dword [edi], eax
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10017a00
lea edi, [ebp - 0x418]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10017a16
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10017a4c
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x210]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x41a], ax
test ax, ax
jne 0x10017a34
sub esp, 0x18
lea ecx, [ebp - 0x418]
mov edx, esp
lea esi, [ecx + 2]
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017a70
sub ecx, esi
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.10012090
mov edi, dword [ebp - 0x810]
mov ecx, edi
call fcn.100177a0
inc ebx
add esp, 0x18
cmp ebx, dword [ebp - 0x814]
jb 0x10017930
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x10017ad5
push dword [ebp - 0x804]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x10017ad7
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x10017b0d
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10017b03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017b2b
push edx
push ecx
call fcn.100bcd6c
add esp, 8
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.100bcd31
mov esp, ebp
pop ebp
ret
call fcn.100fb4d6
int3