Function at 0x10078460
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154575
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10209f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x2c], edi
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
movups xmmword [edi + 0x58], xmm0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0xf
mov byte [edi + 0x58], 0
lea esi, [edi + 0x70]
mov byte [ebp - 4], 6
mov dword [ebp - 0x10], esi
push 0x28
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100f33de
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [edi + 0x78], 0
xorps xmm0, xmm0
movups xmmword [edi + 0x7c], xmm0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0xf
mov byte [edi + 0x7c], 0
mov dword [edi + 0x94], 0
push 0x3ff
lea eax, [edi + 0x9c]
mov dword [edi + 0x98], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x3ff
lea eax, [edi + 0x49c]
mov byte [edi + 0x49b], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x3ff
lea eax, [edi + 0x89c]
mov byte [edi + 0x89b], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x3ff
push 0
lea eax, [edi + 0xc9c]
mov byte [edi + 0xc9b], 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
add esp, 0x34
movups xmmword [edi + 0x109c], xmm0
mov dword [edi + 0x10ac], 0
mov dword [edi + 0x10b0], 0xf
mov byte [edi + 0x109c], 0
movups xmmword [edi + 0x10b4], xmm0
mov dword [edi + 0x10c4], 0
mov dword [edi + 0x10c8], 0xf
mov byte [edi + 0x10b4], 0
movups xmmword [edi + 0x10cc], xmm0
mov dword [edi + 0x10dc], 0
mov dword [edi + 0x10e0], 0xf
mov byte [edi + 0x10cc], 0
movups xmmword [edi + 0x10e4], xmm0
mov dword [edi + 0x10f4], 0
mov dword [edi + 0x10f8], 0xf
mov byte [edi + 0x10e4], 0
mov dword [edi + 0x10fc], 0x1010101
mov dword [edi + 0x1100], 1
movups xmmword [edi + 0x1104], xmm0
mov dword [edi + 0x1114], 0
mov dword [edi + 0x1118], 0xf
mov byte [edi + 0x1104], 0
movups xmmword [edi + 0x111c], xmm0
mov dword [edi + 0x112c], 0
mov dword [edi + 0x1130], 0xf
mov byte [edi + 0x111c], 0
lea esi, [edi + 0x113c]
mov dword [edi + 0x1134], 1
mov byte [edi + 0x1138], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x18], 1
mov ecx, 0xf
mov dword [ebp - 0x14], ecx
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], 0x5c
cmp esi, eax
je 0x1007875d
mov ecx, esi
call fcn.100122f0
movups xmm0, xmmword [ebp - 0x28]
mov ecx, 0xf
mov byte [ebp - 0x28], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
cmp ecx, 0xf
jbe 0x10078790
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10078786
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10078786
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f340e
add esp, 8
push 0x10
push str.FileSystemDirent
lea ecx, [edi + 0x7c]
call fcn.10014e30
push 4
call fcn.100f33de
add esp, 4
test eax, eax
je 0x100787b5
mov dword [eax], vtable.FileSystemDirent.0
jmp 0x100787b7
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [edi + 0x94]
lea eax, [ebp - 0x10]
push eax
call fcn.1006d600
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100787d6
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret