Function at 0x10027970
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f6c86
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10126008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0x6c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x100279bb
mov eax, dword [esi]
test eax, eax
je 0x100279bb
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x5c
mov dword [ebp - 4], 0
call fcn.100f13f4
mov edi, eax
mov dword [ebp - 0x18], edi
push 0x5c
push 0
push edi
mov byte [ebp - 4], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [edi], 0
mov dword [edi + 4], 0
mov ecx, edi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 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
mov dword [edi + 0x58], 0
mov byte [ebp - 4], 0
mov dword [ebx + 4], edi
call fcn.10015b00
mov ecx, ebx
test al, al
je 0x10027bd0
push 0x3e8
push 1
call fcn.1002a330
push 0x3e8
push 0x4000
mov ecx, ebx
call fcn.1002a330
push 0x3e8
push 0x200
mov ecx, ebx
call fcn.1002a330
push 0x3e8
push 0x100
mov ecx, ebx
call fcn.1002a330
push 0x3e8
push 0x400
mov ecx, ebx
call fcn.1002a330
push 0x3e8
push 0x8000000
mov ecx, ebx
call fcn.1002a330
push 0x3e8
push 0x20
mov ecx, ebx
call fcn.1002a330
push 0x3e8
push 0x40
mov ecx, ebx
call fcn.1002a330
push 0x3e8
push 0x10000000
mov ecx, ebx
call fcn.1002a330
push 0x3e8
push 0x20000000
mov ecx, ebx
call fcn.1002a330
push 0x3e8
push 8
mov ecx, ebx
call fcn.1002a330
push 0x1388
push 0x40000000
mov ecx, ebx
call fcn.1002a330
push 0x3e8
push 0x80000000
mov ecx, ebx
call fcn.1002a330
push 0x3e8
push 8
mov ecx, ebx
call fcn.1002a330
mov eax, dword [ebx + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x10027b84
push eax
call edi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10027b8e
push eax
call edi
push 0xc
call fcn.100f13f4
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
xorps xmm0, xmm0
push ebx
movq qword [eax], xmm0
mov ecx, eax
push 0x10028820
mov dword [eax + 8], 0
call fcn.10043f30
push eax
lea ecx, [ebx + 8]
mov byte [ebp - 4], 0
call fcn.1002b060
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x10027bd9
mov ecx, ebx
call fcn.10027c30
xor bl, bl
jmp 0x10027be0
call fcn.10044180
mov bl, 1
mov dword [ebp - 4], 3
test esi, esi
je 0x10027bff
mov eax, dword [esi]
test eax, eax
je 0x10027bf8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
mov al, bl
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f13e3
mov esp, ebp
pop ebp
ret