Function at 0x106055a
Capabilities:
Enumerate files on windows
Query or enumerate registry value

Disassembly:
push 0x300
mov eax, 0x11acbcb
call fcn.010b143d
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 0x2d4], ebx
mov dword [ebp - 0x2d0], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea eax, [ebp - 0x2a4]
push eax
push ebx
push ebx
push 2
push 0x1004fa8
push 0x1003be8
push 0x80000001
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2a4], ebx
call edi
test eax, eax
jne 0x1060969
mov eax, dword [ebp - 0x2a4]
shr eax, 1
push ebx
push eax
lea ecx, [ebp - 0x2dc]
call fcn.010efc01
lea eax, [ebp - 0x2a4]
push eax
push dword [ebp - 0x2d8]
push ebx
push 2
push 0x1004fa8
push 0x1003be8
push 0x80000001
call edi
cmp eax, ebx
jne 0x1060969
push dword [ebp - 0x2d8]
lea ecx, [ebp - 0x2c]
call fcn.01038fe3
lea edi, [esi + 0x91c]
push eax
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x2cc], edi
call fcn.01038660
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.010362ea
push edi
lea ecx, [ebp - 0x48]
call fcn.01038630
push 0x1004f98
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0104acce
push 0x24c
lea eax, [ebp - 0x294]
push ebx
push eax
mov dword [ebp - 0x298], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.0105a157
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x2a8], eax
mov eax, dword [esi + 0x858]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x44]
jae 0x106067e
lea eax, [ebp - 0x44]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x298]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.01059eee
mov eax, dword [ebp - 0x2ac]
inc eax
neg eax
sbb eax, eax
and eax, dword [fcn.0107a9df]
mov byte [ebp - 4], 3
mov dword [ebp - 0x29c], 0x2de6
cmp eax, ebx
je 0x1060952
lea eax, [esi + 0x938]
add esi, 0x948
mov dword [ebp - 0x2b0], esi
mov esi, dword [sym.imp.USER32.dll_InsertMenuItemW]
mov dword [ebp - 0x2c4], eax
mov edi, 0x2db7
push dword [ebp - 0x2cc]
lea ecx, [ebp - 0x2c]
call fcn.01038630
lea eax, [ebp - 0x26c]
push eax
push 0x1001dd4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0104acce
mov ecx, eax
call fcn.0104acce
mov ecx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2c]
push eax
call fcn.01060217
push 0x2c
lea eax, [ebp - 0x308]
push ebx
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x26c]
add esp, 0xc
mov dword [ebp - 0x30c], 0x30
mov dword [ebp - 0x2e8], eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x106074d
sub eax, ecx
sar eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x274], cx
lea eax, [ebp - 0x26c]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x106076e
sub eax, ecx
sar eax, 1
inc eax
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2fc], eax
lea eax, [ebp - 0x30c]
push eax
push ebx
push edi
push dword [ebp - 0x2a8]
mov dword [ebp - 0x308], 0x13
mov dword [ebp - 0x304], ebx
mov dword [ebp - 0x300], 3
call esi
lea eax, [ebp - 0x30c]
push eax
push ebx
push edi
push dword [ebp - 0x2a0]
call esi
push 8
call fcn.010b0174
pop ecx
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x10607f6
push dword [ebp - 0x29c]
mov ecx, eax
push dword [ebp - 0x2a8]
call fcn.0103a002
jmp 0x10607f8
xor eax, eax
push eax
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 4
call fcn.010d73b4
mov ecx, dword [ebp - 0x2b0]
lea eax, [ebp - 0x2c0]
push eax
mov byte [ebp - 4], 6
call fcn.010805ce
mov ecx, dword [ebp - 0x2bc]
push 0x11fcc50
call fcn.01060288
push 8
call fcn.010b0174
pop ecx
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x1060859
push dword [ebp - 0x29c]
mov ecx, eax
push dword [ebp - 0x2a0]
call fcn.0103a002
jmp 0x106085b
xor eax, eax
push eax
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 6
call fcn.010d73b4
mov ecx, dword [ebp - 0x2b0]
lea eax, [ebp - 0x2b8]
push eax
mov byte [ebp - 4], 8
call fcn.010805ce
mov ecx, dword [ebp - 0x2b4]
push 0x11fcc50
call fcn.01060288
inc dword [ebp - 0x29c]
lea eax, [ebp - 0x2b8]
push eax
mov byte [ebp - 4], 6
call fcn.01076e36
lea eax, [ebp - 0x2c0]
push eax
mov byte [ebp - 4], 4
call fcn.01076e36
cmp dword [ebp - 0x29c], 0x2df5
push ebx
lea ecx, [ebp - 0x2c]
push 1
jg 0x10608ef
mov byte [ebp - 4], 3
call fcn.010362ea
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10606e6
jmp 0x10608f4
call fcn.010362ea
cmp dword [ebp - 0x29c], 0x2de6
je 0x1060952
push 0x2c
lea eax, [ebp - 0x308]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x30c]
push eax
push ebx
push edi
push dword [ebp - 0x2a8]
mov dword [ebp - 0x30c], 0x30
mov dword [ebp - 0x308], 0x10
mov dword [ebp - 0x304], 0x800
call esi
lea eax, [ebp - 0x30c]
push eax
push ebx
push edi
push dword [ebp - 0x2a0]
call esi
lea eax, [ebp - 0x2ac]
push eax
call fcn.01059aca
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.010362ea
lea ecx, [ebp - 0x2dc]
call fcn.0112c1e2
call fcn.010b14cf
ret