Function at 0x1002aec7
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x1004e370]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edi
mov esi, dword [edi + 0x88]
mov ecx, dword [esi + 0xb8]
lea eax, [esi + 0x8c]
mov byte [esi + 0xde], 0
mov dword [esi + 0xac], 0
mov dword [ebp - 0x108], eax
test ecx, ecx
je 0x1002ae5a
push ecx
push edi
call fcn.1001c2d0
add esp, 8
mov dword [esi + 0x8c], eax
jmp 0x1002ae60
mov dword [ebp - 0x108], eax
mov ecx, dword [esi + 0xb8]
cmp ecx, dword [esi + 0xc0]
jbe 0x1002ae74
mov dword [esi + 0xc0], ecx
mov edx, dword [esi + 0x9c]
test dl, dl
jns 0x1002aeb0
mov eax, dword [esi + 0xcc]
and eax, 0x7fffffff
cmp eax, ecx
jne 0x1002aeb0
push str.depends_on_own_sid
push 1
push edi
call fcn.1002ac30
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 0xdf]
cmp eax, 9
ja case.0x1002aec0.2
jmp dword [eax*4 + 0x1002b8b4]
mov eax, dword [edi + 0x2d4]
test eax, 0x10000000
je case.0x1002aec0.2
test eax, 0x40000000
jne case.0x1002aec0.2
test byte [esi + 0xe0], 1
jne case.0x1002aec0.2
push 1
push edi
push dword [edi + 4]
or eax, 0x40000000
mov dword [edi + 0x40], 0
mov dword [edi + 0x2d4], eax
call fcn.1002a220
add esp, 0xc
mov dword [esi + 0x8c], eax
test eax, eax
je case.0x1002aec0.7
push 0x100483a0
push 0x10f
push 0x10000000
push eax
mov dword [esi + 0xb8], 1
call fcn.1001bf10
mov ecx, dword [esi + 0x8c]
add esp, 0x10
mov eax, dword [edi + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x8c]
or dword [eax + 0x2d4], 0x20000000
mov eax, dword [esi + 0x8c]
or dword [eax + 0x2d4], 0x10000000
mov ecx, dword [esi + 0x8c]
mov eax, dword [edi + 0x2c4]
mov dword [ecx + 0x2c4], eax
mov eax, dword [esi + 0x8c]
movups xmm0, xmmword [edi + 0x268]
movups xmmword [eax + 0x268], xmm0
movups xmm0, xmmword [edi + 0x278]
movups xmmword [eax + 0x278], xmm0
movups xmm0, xmmword [edi + 0x288]
movups xmmword [eax + 0x288], xmm0
mov eax, dword [esi + 0x8c]
mov ecx, dword [edi + 0x298]
mov edx, dword [edi + 0x29c]
mov dword [eax + 0x298], ecx
mov dword [eax + 0x29c], edx
mov eax, dword [esi + 0x8c]
movups xmm0, xmmword [edi + 0x230]
movups xmmword [eax + 0x230], xmm0
mov eax, dword [edi + 8]
mov dword [edi + 0x27c], 0
mov ecx, dword [esi + 0x8c]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x8c]
mov eax, dword [ecx + 0x2a0]
test eax, eax
je 0x1002b022
test dword [ecx + 0x2d0], 0x800
jne 0x1002b022
push str.lws_free
push 0
push eax
call fcn.10020d50
add esp, 0xc
mov ecx, dword [esi + 0x8c]
mov eax, dword [edi + 0x2a0]
mov dword [ecx + 0x2a0], eax
mov edx, dword [esi + 0x8c]
mov eax, dword [edi + 0x2d0]
mov ecx, dword [edx + 0x2d0]
xor eax, ecx
and eax, 0x800
xor eax, ecx
mov dword [edx + 0x2d0], eax
mov ecx, dword [esi + 0x8c]
mov eax, dword [edi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0xbc]
mov dword [edi + 0xc], 0
mov ecx, dword [esi + 0x8c]
mov dword [ecx + 0xbc], eax
mov dword [edi + 0x2a0], 0
mov eax, dword [esi + 0x8c]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1002b094
mov dword [ecx + 4], eax
mov dword [edi + 0x20], 0
mov ecx, dword [esi + 0x8c]
mov eax, dword [esi + 0x34]
mov dword [ecx + 0xb4], eax
mov eax, dword [esi + 0x8c]
or byte [eax + 0x91], 0x10
mov cl, byte [edi + 0x91]
test cl, 0x10
jne 0x1002b0d4
mov eax, dword [esi + 0x34]
or cl, 0x10
mov dword [edi + 0xb4], eax
mov byte [edi + 0x91], cl
push dword [esi + 0x8c]
call fcn.1002a110
add esp, 4
test byte [edi + 0x2d0], 0x40
je 0x1002b0f4
test byte [edi + 0x2c4], 0x20
jne 0x1002b117
push 2
call fcn.1002ade0
add esp, 4
test eax, eax
je case.0x1002aec0.7
push eax
push edi
call fcn.1002cdd0
add esp, 8
or dword [edi + 0x2d0], 0x40
push edi
call fcn.1001c1d0
jmp 0x1002b4f2
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
test eax, eax
je case.0x1002aec0.2
test edx, 0x400
je 0x1002b15d
push str.dyntable_resize_last_in_headers
push 9
push edi
call fcn.1002ac30
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
test byte [eax + 0x91], 2
jne 0x1002b188
or edx, 8
mov dword [esi + 0xc8], ecx
pop edi
mov dword [esi + 0x9c], edx
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x94], 0
je 0x1002b1b4
push str.hpack_incomplete
push 9
push edi
call fcn.1002ac30
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
movzx ecx, byte [eax + 0x90]
sub ecx, 0
je 0x1002b1ce
sub ecx, 2
jne 0x1002b1d5
mov byte [eax + 0x90], 5
jmp 0x1002b1d5
mov byte [eax + 0x90], 3
mov eax, dword [esi + 0x8c]
or dword [eax + 0x2d0], 1
mov eax, dword [esi + 0x8c]
test dword [eax + 0x2d4], 0x20000000
je 0x1002b217
push eax
call fcn.10034e20
add esp, 4
test eax, eax
je 0x1002b217
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
push 0x1b
push dword [esi + 0x8c]
call fcn.100324d0
add esp, 8
test eax, eax
je 0x1002b277
push 0x1b
push dword [esi + 0x8c]
call fcn.10022310
add esp, 8
test eax, eax
je case.0x1002aec0.7
push eax
call sub.msvcrt.dll__atoi64
mov ecx, dword [esi + 0x8c]
add esp, 4
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], edx
mov edx, dword [esi + 0x8c]
mov eax, dword [edx + 0x70]
mov ecx, dword [edx + 0x74]
mov dword [edx + 0x78], eax
mov dword [edx + 0x7c], ecx
mov eax, dword [esi + 0x8c]
or dword [eax + 0x80], 4
xor ebx, ebx
nop dword [eax]
push ebx
call fcn.10029750
add esp, 4
test eax, eax
je 0x1002b2cd
push ebx
push dword [esi + 0x8c]
call fcn.10022340
add esp, 8
test eax, eax
je 0x1002b2ca
cmp eax, 0xff
jg 0x1002b2ca
push ebx
push 0x100
lea eax, [ebp - 0x104]
push eax
push dword [esi + 0x8c]
call fcn.100220d0
add esp, 0x10
test eax, eax
js 0x1002b2ca
mov byte [ebp - 5], 0
inc ebx
jmp 0x1002b280
mov eax, dword [esi + 0x8c]
mov cl, byte [eax + 0x90]
cmp cl, 4
je 0x1002b52b
cmp cl, 6
je 0x1002b52b
movzx ecx, cl
sub ecx, 0
je 0x1002b329
sub ecx, 3
je 0x1002b313
sub ecx, 2
jne 0x1002b334
test byte [eax + 0x91], 1
je 0x1002b334
test eax, eax
je 0x1002b334
mov byte [eax + 0x90], 6
jmp 0x1002b334
test byte [eax + 0x91], 1
je 0x1002b334
test eax, eax
je 0x1002b334
mov byte [eax + 0x90], 4
jmp 0x1002b334
test eax, eax
je 0x1002b334
mov byte [eax + 0x90], 3
mov eax, dword [esi + 0x8c]
cmp byte [eax + 0x90], 6
jne 0x1002b37d
test dword [eax + 0x2d4], 0x20000000
je 0x1002b38d
push str.client_done
push 0
push eax
call fcn.1002c8b0
push dword [esi + 0x8c]
call fcn.10036080
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
test dword [eax + 0x2d4], 0x20000000
jne case.0x1002aec0.2
push 0x25
push eax
call fcn.10022340
add esp, 8
test eax, eax
je 0x1002b508
push 0x24
push dword [esi + 0x8c]
call fcn.10022340
add esp, 8
test eax, eax
je 0x1002b508
push 0x26
push dword [esi + 0x8c]
call fcn.10022340
add esp, 8
test eax, eax
je 0x1002b508
push 0x27
push dword [esi + 0x8c]
call fcn.10022340
add esp, 8
test eax, eax
jne 0x1002b508
push 4
push dword [esi + 0x8c]
call fcn.100324d0
add esp, 8
test eax, eax
jne 0x1002b508
push 0x53
push dword [esi + 0x8c]
call fcn.100324d0
add esp, 8
test eax, eax
je 0x1002b484
push 0x53
push dword [esi + 0x8c]
call fcn.10022340
add esp, 8
cmp eax, 8
jne 0x1002b461
push 0x53
push dword [esi + 0x8c]
call fcn.10022310
add esp, 8
test eax, eax
je 0x1002b461
push 8
push str.trailers
push 0x53
push dword [esi + 0x8c]
call fcn.10022310
add esp, 8
push eax
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
je 0x1002b484
push str.Illegal_transfer_encoding
push 1
push edi
call fcn.1002ac30
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
push 0x24
push dword [esi + 0x8c]
call fcn.10022310
add esp, 8
mov ebx, eax
xor edi, edi
test ebx, ebx
je 0x1002b4b0
push dword [edi*4 + 0x10047bf0]
push ebx
call sub.msvcrt.dll__stricmp
add esp, 8
test eax, eax
je 0x1002b4b8
inc edi
cmp edi, 8
jl 0x1002b498
jmp 0x1002b4d5
mov eax, dword [esi + 0x8c]
movzx ecx, byte [edi + 0x1004e0dc]
mov edx, dword [eax + 0x20]
mov al, byte [edx + 0x33d]
mov byte [ecx + edx + 0x318], al
mov eax, dword [esi + 0x8c]
mov ecx, 0x110
mov word [eax + 0x2b4], cx
push dword [esi + 0x8c]
call fcn.1002a110
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
push str.Pseudoheader_checks
push 1
push edi
call fcn.1002ac30
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
push str.Banning_service_on_CLOSED_REMOTE
push 5
push edi
call fcn.1002ac30
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
test eax, eax
je case.0x1002aec0.2
push 0x1b
push eax
call fcn.10022340
add esp, 8
test eax, eax
je 0x1002b5ab
mov ecx, dword [esi + 0x8c]
test byte [ecx + 0x91], 1
je 0x1002b5ab
mov eax, dword [ecx + 0x70]
or eax, dword [ecx + 0x74]
je 0x1002b5ab
mov eax, dword [ecx + 0x78]
or eax, dword [ecx + 0x7c]
je 0x1002b5ab
push str.Not_enough_rx_content
push 1
push ecx
call fcn.1002c8b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x8c]
test byte [eax + 0x91], 1
je 0x1002b5ce
cmp byte [eax + 0x90], 3
jne 0x1002b5ce
test eax, eax
je 0x1002b5ce
mov byte [eax + 0x90], 4
mov eax, dword [esi + 0x8c]
test byte [eax + 0x91], 1
je 0x1002b5f1
cmp byte [eax + 0x90], 5
jne 0x1002b5f1
test eax, eax
je 0x1002b5f1
mov byte [eax + 0x90], 6
mov eax, dword [esi + 0x8c]
test dword [eax + 0x2d4], 0x20000000
je case.0x1002aec0.2
test byte [esi + 0xe0], 1
je case.0x1002aec0.2
cmp byte [eax + 0x90], 3
jne 0x1002b628
test eax, eax
je 0x1002b628
mov byte [eax + 0x90], 4
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x1002b639
mov byte [eax + 0x90], 6
push str.client_done
push 0
push dword [esi + 0x8c]
jmp 0x1002b357
test byte [esi + 0xe0], 1
je 0x1002b65f
push edi
call fcn.10028d20
jmp 0x1002b4f2
push 4
call fcn.1002ade0
add esp, 4
test eax, eax
je case.0x1002aec0.7
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x60]
push eax
push edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.1002cdd0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xa8]
and edx, 0x7fffffff
mov dword [ebp - 0x10c], edx
mov dword [esi + 0xa8], edx
test ecx, ecx
je 0x1002b6bc
mov ebx, dword [esi + 0x8c]
test ebx, ebx
jne 0x1002b6ef
cmp ecx, dword [esi + 0xc4]
jbe case.0x1002aec0.2
push str.alien_sid
push 1
push edi
call fcn.1002ac30
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 4]
mov ecx, edx
mov dword [ebp - 0x108], ecx
mov eax, dword [eax + 0x1a8]
and eax, 0x80000000
or eax, 0
je 0x1002b750
mov eax, dword [ebx + 0xb4]
xor ecx, ecx
mov dword [ebp - 0x108], edx
cdq
add dword [ebp - 0x10c], eax
adc ecx, edx
test ecx, ecx
jne 0x1002b731
cmp dword [ebp - 0x10c], 0x7fffffff
jbe 0x1002b74a
mov ecx, SysReAllocString
sub ecx, dword [ebx + 0xb4]
mov dword [ebp - 0x108], ecx
mov dword [esi + 0xa8], ecx
jmp 0x1002b750
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x10c], ecx
xor ecx, ecx
mov dword [ebp - 0x110], eax
cdq
add dword [ebp - 0x10c], eax
adc ecx, edx
test ecx, ecx
jne 0x1002b868
cmp dword [ebp - 0x10c], 0x7fffffff
ja 0x1002b868
mov eax, dword [ebp - 0x108]
test eax, eax
jne 0x1002b7b2
push str.Zero_length_window_update
push 1
push edi
call fcn.1002ac30
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
add eax, dword [ebp - 0x110]
mov dword [ebx + 0xb4], eax
push dword [esi + 0xa8]
push ebx
call fcn.1001c470
add esp, 8
cmp dword [ebp - 0x110], 0
jg 0x1002b7e3
cmp dword [ebx + 0xb4], 0
jle case.0x1002aec0.2
mov esi, dword [edi + 0x9c]
test esi, esi
je 0x1002b803
nop dword [eax]
push esi
call fcn.1002a110
mov esi, dword [esi + 0xa0]
add esp, 4
test esi, esi
jne 0x1002b7f0
cmp byte [ebx + 0xc0], 0
je case.0x1002aec0.2
mov esi, dword [ebx + 0xb4]
push ebx
call fcn.1001bab0
add esp, 4
test byte [ebx + 0x2d0], 2
jne 0x1002b838
test byte [eax + 0x2d0], 4
jne 0x1002b838
mov esi, SysReAllocString
jmp 0x1002b84a
mov eax, dword [eax + 0xb4]
cmp eax, esi
cmovl esi, eax
xor eax, eax
test esi, esi
cmovs esi, eax
lea eax, [ebx + 0xb4]
push esi
push eax
call fcn.1001c450
add esp, 8
test eax, eax
jne case.0x1002aec0.2
push ebx
jmp 0x1002b4ed
cmp dword [esi + 0xb8], 0
push str.Flow_control_exceeded_max
push 3
je 0x1002b141
push dword [esi + 0x8c]
call fcn.1002c8b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039446
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039446
mov esp, ebp
pop ebp
ret