Function at 0x100087a0
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 0x1004f66f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x1007e040]
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.100026d0
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.100026d0
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.100026d0
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.100026d0
mov dword [ebp - 0x78], esi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x54], eax
je 0x100088ec
mov esi, dword [ebp - 0x94]
mov edi, dword [ebp - 0x20]
cmp dword [ebp - 0x34], esi
je 0x100088ef
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push edi
cmova eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x50]
push eax
call fcn.10002330
test eax, eax
jne 0x100088ef
lea ecx, [ebp - 0x54]
call fcn.10006580
lea ecx, [ebp - 0x34]
call fcn.10006580
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x54], eax
jne 0x100088b3
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 0x1000892a
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 0x1000893a
push ecx
push dword [ebp - 0x98]
lea ecx, [ebx + 0x50]
push edi
call fcn.10007af0
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 0x10008978
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 0x10008988
push ecx
push dword [ebp - 0x98]
lea ecx, [ebx + 0x10]
push edi
call fcn.10007af0
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.100026d0
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.100026d0
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebx + 0x68]
mov dword [esi + 0x3c], eax
cmp ecx, 7
jbe 0x100089fe
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100089f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008be9
push ecx
push edx
call fcn.1004db98
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x10008a38
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008a2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008be9
push ecx
push edx
call fcn.1004db98
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 0x10008a86
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008a7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008be9
push ecx
push edx
call fcn.1004db98
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x10008ac0
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008ab6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008be9
push ecx
push edx
call fcn.1004db98
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 0x10008b0e
mov edx, dword [ebx + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008b04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008be9
push ecx
push edx
call fcn.1004db98
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 0x10008b5c
mov edx, dword [ebx + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008b52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008be9
push ecx
push edx
call fcn.1004db98
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 0x10008ba6
mov edx, dword [ebx + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008b9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008be9
push ecx
push edx
call fcn.1004db98
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 0x10008bf9
mov edx, dword [ebx + 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008bef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10008bef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1004db98
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.1004d83b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret