Function at 0x10017c9d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1108]
mov eax, 0x1108
call fcn.1001e5c0
push 0xffffffffffffffff
push 0x100379bc
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x1104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1110]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1114]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov edi, 0x20019
push edi
push 0x1003b94c
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.10032de0
test eax, eax
je 0x10017d7d
lea ecx, [ebp - 0x30]
call fcn.1000135a
lea ecx, [ebp - 0x24]
call fcn.1000135a
lea ecx, [ebp - 0x3c]
call fcn.1000135a
lea ecx, [ebp - 0x48]
call fcn.1000135a
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1104]
xor ecx, ebp
call fcn.1001d742
add ebp, 0x1108
leave
ret
push edi
push 0x1003b958
push dword [ebp - 0x48]
lea ecx, [ebp - 0x3c]
call fcn.10032de0
test eax, eax
jne 0x10017d35
push edi
push 0x1003b964
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x24]
call fcn.10032de0
test eax, eax
jne 0x10017f11
mov esi, 0x3ff
push esi
lea eax, [ebp + 0xc01]
push ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x400
mov byte [ebp + 0xc00], bl
call fcn.1001d760
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc00]
push eax
push ebx
jmp 0x10017ef9
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x10], ebx
jbe 0x10017edd
cmp byte [ebp + eax + 0xc00], 0x2e
jne 0x10017e03
inc ecx
cmp ecx, 1
jg 0x10017e12
inc eax
cmp eax, dword [ebp - 0x10]
jb 0x10017df3
cmp ecx, 1
jle 0x10017edd
push 3
lea eax, [ebp + 0xc00]
push 0x1003b980
push eax
call fcn.10032de0
add esp, 0xc
test eax, eax
js 0x10017edd
push edi
lea eax, [ebp + 0xc00]
push eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x30]
call fcn.10032de0
test eax, eax
jne 0x10017f0c
push esi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.1001d760
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
call fcn.1000105d
add esp, 0x14
lea edi, [ebp]
lea eax, [ebp + 0xc00]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x10017e91
cmp cl, bl
je 0x10017e8d
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x10017e91
add eax, 2
add edi, 2
cmp cl, bl
jne 0x10017e71
xor eax, eax
jmp 0x10017e96
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x10017ed8
push 0x103
lea eax, [ebp + 0x1001]
push ebx
push eax
mov dword [ebp - 0x50], 0x104
mov byte [ebp + 0x1000], bl
call fcn.1001d760
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x1000]
push eax
push 0x1003b984
lea ecx, [ebp - 0x30]
call fcn.10032de0
test eax, eax
je 0x10017f38
mov edi, 0x20019
inc dword [ebp - 0x14]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc00]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0x400
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x10017de6
jmp 0x10017f11
mov ebx, 0x80004005
lea ecx, [ebp - 0x30]
call fcn.1000135a
lea ecx, [ebp - 0x24]
call fcn.1000135a
lea ecx, [ebp - 0x3c]
call fcn.1000135a
lea ecx, [ebp - 0x48]
call fcn.1000135a
mov eax, ebx
jmp 0x10017d5a
push esi
lea eax, [ebp + 0x801]
push ebx
push eax
mov byte [ebp + 0x800], bl
call fcn.1001d760
add esp, 0xc
push 0x400
lea eax, [ebp + 0x800]
push eax
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.kernel32.dll_GetLongPathNameA]
push esi
lea eax, [ebp + 0x401]
push ebx
push eax
mov byte [ebp + 0x400], bl
call fcn.1001d760
lea eax, [ebp + 0x400]
push eax
push dword [ebp - 0x18]
call fcn.10032de0
mov esi, dword [ebp + 0x1118]
mov edi, dword [ebp - 0x4c]
lea eax, [ebp + 0x800]
push eax
push esi
push edi
call fcn.10032de0
push 0x1003b990
push esi
push edi
call fcn.10032de0
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 4]
and al, 0xf
add esp, 0x2c
cmp al, 3
jne 0x10017fc4
push 0x1003b998
jmp 0x10017fc9
push 0x1003b9a0
push esi
push edi
call fcn.10032de0
add esp, 0xc
lea eax, [ebp + 0x400]
push eax
push esi
push edi
call fcn.10032de0
push 0x1003b9a8
push esi
push edi
call fcn.10032de0
add esp, 0x18
jmp 0x10017f11