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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007837f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x100aa040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x50]
mov eax, dword [ebx + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebx + 0x28]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x54], eax
lea eax, [ebx + 0x10]
push eax
movups xmmword [ebp - 0x44], xmm0
call fcn.10002750
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
mov eax, dword [ebx + 0x2c]
xorps xmm0, xmm0
mov esi, dword [ebx + 0x48]
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x74], eax
lea eax, [ebx + 0x30]
push eax
movups xmmword [ebp - 0x64], xmm0
call fcn.10002750
mov dword [ebp - 0x58], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
mov eax, dword [ebx + 0x4c]
xorps xmm0, xmm0
mov esi, dword [ebx + 0x68]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], eax
lea eax, [ebx + 0x50]
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.10002750
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x90]
mov eax, dword [ebx + 0x6c]
xorps xmm0, xmm0
mov esi, dword [ebx + 0x88]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x94], eax
lea eax, [ebx + 0x70]
push eax
movups xmmword [ebp - 0x84], xmm0
call fcn.10002750
mov dword [ebp - 0x78], esi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x54], eax
je 0x1001040c
mov esi, dword [ebp - 0x94]
mov edi, dword [ebp - 0x20]
cmp dword [ebp - 0x34], esi
je 0x1001040f
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push edi
cmova eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x50]
push eax
call fcn.100023b0
test eax, eax
jne 0x1001040f
lea ecx, [ebp - 0x54]
call fcn.1000cdb0
lea ecx, [ebp - 0x34]
call fcn.1000cdb0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x54], eax
jne 0x100103d3
mov edi, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], 7
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmova ecx, dword [ebp - 0x30]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x64]
cmp edi, eax
ja 0x1001044a
cmp eax, 7
mov dword [ebx + 0x60], edi
lea eax, [edi + edi]
push eax
lea esi, [ebx + 0x50]
cmova esi, dword [ebx + 0x50]
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1001045a
push ecx
push dword [ebp - 0x98]
lea ecx, [ebx + 0x50]
push edi
call fcn.1000f320
cmp dword [ebp - 0x3c], 7
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x40]
cmova ecx, dword [ebp - 0x50]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x24]
cmp edi, eax
ja 0x10010498
cmp eax, 7
mov dword [ebx + 0x20], edi
lea eax, [edi + edi]
push eax
lea esi, [ebx + 0x10]
cmova esi, dword [ebx + 0x10]
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100104a8
push ecx
push dword [ebp - 0x98]
lea ecx, [ebx + 0x10]
push edi
call fcn.1000f320
mov esi, dword [ebp - 0x9c]
mov eax, dword [ebx + 0xc]
mov dword [esi], eax
lea ecx, [esi + 4]
lea eax, [ebx + 0x10]
push eax
call fcn.10002750
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 8
lea ecx, [esi + 0x24]
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x20], eax
lea eax, [ebx + 0x50]
push eax
call fcn.10002750
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebx + 0x68]
mov dword [esi + 0x3c], eax
cmp ecx, 7
jbe 0x1001051e
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10010514
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010709
push ecx
push edx
call fcn.1007631a
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x10010558
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001054e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010709
push ecx
push edx
call fcn.1007631a
add esp, 8
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp ecx, 7
jbe 0x100105a6
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001059c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010709
push ecx
push edx
call fcn.1007631a
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x100105e0
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100105d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010709
push ecx
push edx
call fcn.1007631a
add esp, 8
mov ecx, dword [ebx + 0x24]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp ecx, 7
jbe 0x1001062e
mov edx, dword [ebx + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10010624
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010709
push ecx
push edx
call fcn.1007631a
add esp, 8
mov ecx, dword [ebx + 0x44]
xor eax, eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 7
mov word [ebx + 0x10], ax
cmp ecx, 7
jbe 0x1001067c
mov edx, dword [ebx + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10010672
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010709
push ecx
push edx
call fcn.1007631a
add esp, 8
mov ecx, dword [ebx + 0x64]
xor eax, eax
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 7
mov word [ebx + 0x30], ax
cmp ecx, 7
jbe 0x100106c6
mov edx, dword [ebx + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100106bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010709
push ecx
push edx
call fcn.1007631a
add esp, 8
mov ecx, dword [ebx + 0x84]
xor eax, eax
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 7
mov word [ebx + 0x50], ax
cmp ecx, 7
jbe 0x10010719
mov edx, dword [ebx + 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001070f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001070f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007631a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10075fbd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret