Function at 0x10006790
Capabilities:
Access peb ldr_data
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x10024682
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x1002e210]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1002e210]
xor eax, esp
push eax
lea eax, [esp + 0x494]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4a4]
push 0x208
lea eax, [esp + 0x288]
push 0
push eax
mov edi, ecx
call fcn.10016010
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x10029f4c
call fcn.1000a1c0
mov esi, eax
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
mov dword [esp + 0x4a0], 0
call fcn.1000a1c0
lea ecx, [esp + 0x24]
push esi
push ecx
mov ebx, eax
mov byte [esp + 0x4a4], 1
call fcn.10007030
add esp, 8
mov byte [esp + 0x49c], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10006853
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x49c], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000687b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x250
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.10016010
mov eax, dword [esp + 0x30]
add esp, 0xc
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
je 0x10006a7c
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x64]
call fcn.1000a1c0
mov byte [esp + 0x49c], 5
mov edx, dword [esp + 0x18]
push 0x10029f54
push edx
call fcn.1001528d
add esp, 8
test eax, eax
je 0x10006a35
mov eax, dword [esp + 0x18]
push 0x10029f58
push eax
call fcn.1001528d
add esp, 8
test eax, eax
je 0x10006a35
mov ecx, dword [esp + 0x18]
push str.Public
push ecx
call fcn.1001528d
add esp, 8
test eax, eax
je 0x10006a35
mov edx, dword [esp + 0x18]
push str.Default
push edx
call fcn.1001528d
add esp, 8
test eax, eax
je 0x10006a35
mov eax, dword [esp + 0x18]
push str.All_Users
push eax
call fcn.1001528d
add esp, 8
test eax, eax
je 0x10006a35
mov ecx, dword [esp + 0x18]
push str.Default_User
push ecx
call fcn.1001528d
add esp, 8
test eax, eax
je 0x10006a35
mov edx, dword [esp + 0x18]
push str.LocalService
push edx
call fcn.1001528d
add esp, 8
test eax, eax
je 0x10006a35
lea eax, [esp + 0x18]
push eax
mov ecx, str.NetworkService
call fcn.10006c00
test eax, eax
je 0x10006a35
test byte [esp + 0x34], 0x10
je 0x10006a35
lea ecx, [esp + 0x60]
push ecx
push ebp
push str._s_sAppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
mov ecx, 0x104
lea ebx, [esp + 0x290]
call fcn.100099c0
add esp, 0xc
mov edx, ebx
push edx
call esi
test eax, eax
je 0x100069e9
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.1000a1c0
lea ebx, [esp + 0x1c]
mov byte [esp + 0x49c], 6
call fcn.100073d0
mov ecx, ebx
jmp 0x10006a30
lea ecx, [esp + 0x60]
push ecx
push ebp
push str._s_s_
mov ecx, 0x104
lea ebx, [esp + 0x290]
call fcn.100099c0
add esp, 0xc
mov edx, ebx
push edx
call esi
test eax, eax
je 0x10006a35
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.1000a1c0
lea ebx, [esp + 0x20]
mov byte [esp + 0x49c], 7
call fcn.100073d0
mov ecx, ebx
call fcn.1000a810
mov byte [esp + 0x49c], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10006a5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x34]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100068b2
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x49c], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10006aa7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x494]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.10014422
add esp, 0x48c
ret 4