Function at 0x100c7de0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101702a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
mov esi, ecx
push 0x20
push 0x80
mov dword [ebp - 0x14], esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_malloc]
mov edi, eax
add esp, 8
mov dword [ebp - 0x38], edi
test edi, edi
je 0x100c7e61
mov ecx, edi
call fcn.10085c60
mov dword [edi], 0x101a109c
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x6c], 0
jmp 0x100c7e63
xor edi, edi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], edi
push 0x10
mov dword [ebp - 4], 0
call fcn.100cd0b0
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x1019a6f8
mov dword [eax + 0xc], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 1
mov dword [edi + 0x60], 0
mov eax, dword [esi + 0x464]
shr eax, 0x1c
and eax, 1
mov dword [edi + 0x60], eax
mov ecx, dword [esi + 0x460]
shr ecx, 0xb
xor ecx, eax
and ecx, 2
xor ecx, eax
mov dword [edi + 0x60], ecx
mov edx, dword [esi + 0x464]
test edx, 0x2000000
je 0x100c7f13
shr edx, 0x17
and edx, 4
or edx, ecx
mov dword [edi + 0x60], edx
mov ecx, dword [esi + 0x460]
shr ecx, 2
and ecx, 0x18
or ecx, edx
mov dword [edi + 0x60], ecx
mov edx, dword [esi + 0x464]
shr edx, 0x13
and edx, 0x20
or edx, ecx
mov dword [edi + 0x60], edx
mov ecx, dword [esi + 0x464]
test ecx, 0x4000000
je 0x100c8080
shr ecx, 0x14
and ecx, 0x40
or ecx, edx
mov dword [edi + 0x60], ecx
mov eax, dword [esi + 0x460]
and eax, 0x180
cmp eax, 0x100
sbb eax, eax
and eax, 0x100
or eax, ecx
mov dword [edi + 0x60], eax
mov ecx, dword [esi + 0x480]
and ecx, 0xfffff
neg ecx
sbb ecx, ecx
and ecx, 0x80
or ecx, eax
mov dword [edi + 0x60], ecx
mov edx, dword [esi + 0xcc4]
cmp edx, 1
jne 0x100c7f8f
mov eax, dword [esi + 0x464]
and eax, 0xe0000000
cmp eax, 0x20000000
je 0x100c7f98
cmp edx, 2
je 0x100c7f98
xor eax, eax
jmp 0x100c7f9d
mov eax, 0x400
or ecx, eax
lea edx, [esi + 0x4a0]
mov dword [edi + 0x60], ecx
mov ecx, dword [esi + 0x460]
mov eax, ecx
shr eax, 4
and eax, 1
mov dword [ebp - 0x1c], edx
push eax
mov eax, ecx
shr ecx, 7
and eax, 0xf
and ecx, 3
push eax
push ecx
mov ecx, edx
call fcn.100c5db0
test eax, eax
je 0x100c83af
push 0x20
push 0x200
mov dword [edi + 0x68], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_malloc]
mov edx, dword [ebp - 0x14]
add esp, 8
mov dword [edi + 0x6c], eax
mov ecx, 0x20
mov esi, dword [esi + 0x460]
mov eax, 0x200
shr esi, 7
mov edx, dword [edx + 0x484]
and esi, 3
cmove eax, ecx
mov ecx, dword [ebp - 0x1c]
push eax
mov eax, edx
shr edx, 0x10
shr eax, 0x16
and edx, 0x3f
and eax, 0x1ff
push eax
push edx
push esi
call fcn.100c5cb0
push eax
push dword [edi + 0x6c]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov edx, dword [eax + 0x480]
mov esi, edx
mov eax, edx
shr esi, 0xf
mov ecx, edx
shr eax, 0xa
shr ecx, 5
and esi, 0x1f
and eax, 0x1f
and ecx, 0x1f
and edx, 0x1f
movd xmm0, esi
mov esi, dword [ebp - 0x14]
movd xmm3, edx
mov edx, dword [edi + 0x60]
movd xmm2, eax
movd xmm1, ecx
punpckldq xmm1, xmm0
punpckldq xmm3, xmm2
punpckldq xmm3, xmm1
movups xmmword [edi + 0x70], xmm3
cmp dword [esi + 0xcc8], 0
je 0x100c8096
mov eax, dword [esi + 0x460]
and eax, 0x200
jmp 0x100c8098
xor eax, eax
and edx, 0xfffffdff
mov dword [ebp - 0x1c], 0x1000
or edx, eax
xor ecx, ecx
mov dword [edi + 0x60], edx
mov eax, dword [esi + 0x460]
xor eax, edx
and eax, 0x800
xor edx, eax
mov dword [edi + 0x60], edx
mov eax, dword [esi + 0x464]
and eax, 0xe0000000
cmp eax, 0x60000000
push 0x20
cmove ecx, dword [ebp - 0x1c]
and edx, 0xffffefff
or ecx, edx
mov dword [edi + 0x60], ecx
mov eax, dword [esi + 0x654]
shl eax, 0xd
xor eax, ecx
and eax, 0x6000
xor eax, ecx
mov dword [edi + 0x60], eax
lea eax, [esi + 0x4a0]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x4a4]
mov dword [edi + 0x64], eax
mov edx, dword [esi + 0x474]
mov ecx, dword [esi + 0xcd7]
and edx, 0x3ff
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x14]
shl edx, cl
mov dword [eax + 0x10], edx
mov edx, dword [esi + 0x474]
mov ecx, dword [esi + 0xcdb]
mov eax, dword [ebp - 0x40]
shr edx, 0xa
and edx, 0x3ff
shl edx, cl
mov dword [eax + 0x14], edx
mov ecx, dword [esi + 0x654]
mov esi, 1
mov eax, dword [edi + 0x478]
add ecx, 0xa
and eax, 0x3ff
mov edx, esi
inc eax
shl edx, cl
mov ecx, dword [edi + 0xcd7]
shl eax, cl
cmp edx, eax
cmovge edx, eax
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x478]
mov ecx, dword [edi + 0x658]
shr eax, 0xa
add ecx, 9
and eax, 0x3ff
shl esi, cl
mov ecx, dword [edi + 0xcdb]
inc eax
shl eax, cl
cmp esi, eax
cmovge esi, eax
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x1c], esi
mov eax, dword [edi + 0xd04]
shl eax, 6
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_malloc]
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x34], eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 0x34]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [edi + 0xd04]
mov dword [eax + 0x3c], ecx
mov eax, dword [edi + 0xd04]
shl eax, 6
push eax
mov eax, dword [ebp - 0x40]
push dword [edi + 0xd00]
push dword [eax + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x40]
add esp, 0x14
mov eax, dword [edi + 0x8b0]
mov dword [ecx + 0x48], eax
mov eax, dword [edi + 0x8b4]
mov dword [ecx + 0x4c], eax
mov eax, dword [edi + 0x464]
shr eax, 0x1d
sub eax, 1
je 0x100c8246
sub eax, 1
mov eax, dword [ebp - 0x40]
je 0x100c822d
mov dword [eax + 0x30], 3
mov edi, dword [ebp - 0x40]
mov ecx, dword [edi + 0x3c]
mov eax, ecx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
mov dword [ebp - 0x1c], edx
jmp 0x100c8267
mov dword [eax + 0x30], 1
mov edi, dword [ebp - 0x40]
mov ecx, dword [edi + 0x3c]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x100c8267
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x30], 2
mov eax, 0x55555556
mov edi, dword [ebp - 0x40]
mov ecx, dword [edi + 0x3c]
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [ebp - 0x1c], esi
movaps xmm1, xmmword [0x101a53a0]
movaps xmm2, xmmword [0x101a5430]
mov eax, dword [edi + 0x38]
test ecx, ecx
jle 0x100c8292
nop dword [eax]
lea eax, [eax + 0x40]
movups xmm0, xmmword [eax - 0x40]
minps xmm1, xmm0
maxps xmm2, xmm0
sub ecx, 1
jne 0x100c8280
shufps xmm1, xmm2, 0x44
cvttps2dq xmm0, xmm1
movups xmmword [edi + 0x20], xmm0
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov edx, dword [ecx + 0x10]
mov esi, edx
cmp dword [ecx + 0x20], edx
mov edi, dword [ecx + 0x14]
cmovge esi, dword [ecx + 0x20]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x18], edx
mov edx, dword [ecx + 0x18]
cmp edx, esi
cmovl esi, edx
cmp dword [ecx + 0x24], edi
mov dword [ebp - 0x30], esi
mov esi, edi
cmovge esi, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x1c]
cmp ecx, esi
cmovl esi, ecx
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x18]
cmp eax, esi
cmovge esi, eax
mov eax, esi
mov esi, dword [ebp - 0x14]
cmp edx, eax
cmovl eax, edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x2c]
cmp eax, edi
cmovge edi, eax
mov eax, dword [esi + 0xcd7]
cmp ecx, edi
cmovl edi, ecx
mov ecx, eax
sar edx, cl
mov dword [ebp - 0x50], edx
mov edx, dword [esi + 0xcdb]
mov ecx, edx
mov esi, dword [ebp - 0x34]
sar esi, cl
mov ecx, eax
mov eax, dword [ebp - 0x18]
sar eax, cl
mov ecx, edx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
sar edi, cl
mov ecx, dword [ebp - 0x38]
push eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], edi
call fcn.100c6030
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [esi + 0xd40]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0xd40]
mov eax, dword [ecx]
call dword [eax + 8]
movsd xmm0, qword [esi + 0x690]
addsd xmm0, qword [0x101a4d90]
push 1
movsd qword [esi + 0x690], xmm0
movd xmm0, dword [ebp - 0x1c]
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [esi + 0x688]
movsd qword [esi + 0x688], xmm0
mov ecx, dword [esi + 0xd40]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [esi + 0x6a8]
movsd qword [esi + 0x6a8], xmm0
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x100c83d7
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100c83d7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x100c83d7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret