Function at 0x10010350
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 8], eax
push esi
mov esi, edx
push edi
test eax, eax
jne 0x1001037e
push 0xef3
push str.D:Serverplugin_projectplugin_sdk_master_23_10_24_safetyhookZydis.c
push str.state
call fcn.10053e59
add esp, 0xc
test esi, esi
jne 0x10010399
push 0xef4
push str.D:Serverplugin_projectplugin_sdk_master_23_10_24_safetyhookZydis.c
push str.instruction
call fcn.10053e59
add esp, 0xc
test ebx, ebx
jne 0x100103b4
push 0xef5
push str.D:Serverplugin_projectplugin_sdk_master_23_10_24_safetyhookZydis.c
push str.definition
call fcn.10053e59
add esp, 0xc
mov al, byte [ebx + 0xc]
test al, 0x60
je 0x100103fa
and al, 0x60
cmp al, 0x80
jb 0x100103d8
push 0xf00
push str.D:Serverplugin_projectplugin_sdk_master_23_10_24_safetyhookZydis.c
push str.definition__cpu_state____sizeof_mapping____sizeof__mapping__0___
call fcn.10053e59
add esp, 0xc
movzx eax, byte [ebx + 0xc]
lea edi, [esi + 0x20]
shr eax, 5
and eax, 3
mov ecx, dword [eax*8 + 0x100b5280]
or dword [edi], ecx
mov eax, dword [eax*8 + 0x100b5284]
or dword [edi + 4], eax
jmp 0x100103fd
lea edi, [esi + 0x20]
test byte [ebx + 0xd], 3
lea eax, [ebx + 0xd]
mov dword [ebp - 0xc], eax
je 0x10010428
movzx ecx, byte [eax]
and ecx, 3
mov dword [ebp - 0xc], eax
mov eax, dword [ecx*8 + 0x100cad10]
or dword [edi], eax
mov eax, dword [ecx*8 + 0x100cad14]
or dword [edi + 4], eax
lea eax, [ebx + 0xd]
mov cl, byte [eax]
mov edx, edi
test cl, 0xc
je 0x10010475
and cl, 0xc
cmp cl, 0x10
jb case.default.0x10010478
push 0xf1a
push str.D:Serverplugin_projectplugin_sdk_master_23_10_24_safetyhookZydis.c
push str.definition__xmm_state____sizeof_mapping____sizeof__mapping__0___
call fcn.10053e59
mov eax, dword [ebp - 0xc]
lea edx, [esi + 0x20]
add esp, 0xc
movzx ecx, byte [eax]
shr ecx, 2
and ecx, 3
mov dword [ebp - 0xc], eax
mov eax, dword [ecx*8 + 0x100dd610]
or dword [edi], eax
mov eax, dword [ecx*8 + 0x100dd614]
or dword [edi + 4], eax
mov eax, dword [esi + 0xc]
jmp dword [eax*4 + 0x10010920]
mov ecx, dword [ebp - 0xc]
test byte [ecx], 0x20
je 0x100104a8
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [edx + 4], eax
or ecx, 0x100
lea eax, [ebx + 0xd]
mov dword [edx], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x20]
mov dword [ebp - 0x10], eax
jmp 0x100104b0
mov dword [ebp - 0x14], ecx
mov eax, edx
mov dword [ebp - 0x10], edx
test byte [ecx], 0x40
mov edi, eax
je 0x10010503
mov ebx, dword [edx]
mov edi, dword [edx + 4]
or ebx, 0x10000
mov dword [edx], ebx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ebp - 0x18], edi
mov edi, eax
cmp byte [ebx + 0x10], 0
mov ebx, dword [ebp + 8]
je 0x10010503
mov eax, dword [ebp - 0xc]
lea edi, [esi + 0x20]
mov ecx, dword [ebp - 0x14]
or eax, 0x8000000
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x15]
mov dword [esi + eax*8 + 0x6c], 1
mov eax, dword [ebp - 0x10]
cmp byte [ecx], 0
jge 0x1001051b
mov ecx, dword [ebp - 0x10]
or dword [eax], 0x20000
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov eax, ecx
jmp 0x1001051d
mov edi, eax
test byte [ebx + 0xe], 1
lea ecx, [ebx + 0xe]
je 0x1001053e
mov ecx, dword [eax]
lea edx, [esi + 0x20]
mov eax, dword [eax + 4]
or ecx, 0x40000
mov dword [edi], ecx
lea ecx, [ebx + 0xe]
mov dword [edi + 4], eax
jmp 0x10010540
mov edx, edi
test byte [ebx + 0xe], 2
lea eax, [ebx + 0xe]
mov dword [ebp - 0x10], ecx
je 0x1001055d
mov eax, dword [edi + 4]
or dword [edi], 0x80000
mov dword [edi + 4], eax
lea eax, [ebx + 0xe]
jmp 0x10010564
mov ecx, eax
mov edx, edi
mov dword [ebp - 0x10], ecx
test byte [eax], 4
je 0x10010587
mov ecx, dword [edi]
mov eax, dword [edi + 4]
or ecx, 0x100000
mov dword [edx + 4], eax
lea edi, [esi + 0x20]
lea eax, [ebx + 0xe]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jmp 0x1001058c
mov edi, edx
mov dword [ebp - 0xc], ecx
test byte [ecx], 8
je 0x1001059f
mov eax, dword [edx + 4]
or dword [edx], 0x200000
mov dword [edx + 4], eax
jmp 0x100105a4
mov edi, edx
mov dword [ebp - 0xc], ecx
test byte [ecx], 0x10
je 0x100105be
mov ecx, dword [edx]
mov eax, dword [edx + 4]
or ecx, 0x400000
mov dword [edi], ecx
lea edx, [esi + 0x20]
mov dword [edi + 4], eax
jmp 0x100105c0
mov edx, edi
mov eax, dword [ebp - 0xc]
test byte [eax], 0x40
je 0x100105d6
mov eax, dword [edi + 4]
or dword [edi], 0x800000
mov dword [edi + 4], eax
jmp 0x100105d8
mov edx, edi
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x11]
sub eax, 0xf2
je 0x1001066a
sub eax, 1
jne 0x100106e9
mov ecx, dword [edi]
mov eax, ecx
mov edi, dword [edi + 4]
and eax, 0x20000
or eax, 0
je 0x10010615
or ecx, 0x10000000
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], ecx
jmp 0x100106e9
mov eax, ecx
and eax, 0x40000
or eax, 0
je 0x10010632
or ecx, 0x20000000
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], ecx
jmp 0x100106e9
mov eax, ecx
and eax, 0x400000
or eax, 0
je 0x100106e9
mov eax, ecx
and eax, 0x8000000
or eax, 0
jne 0x1001065c
test byte [ebx + 0xe], 0x40
jne 0x1001065c
lea edx, [esi + 0x20]
jmp 0x100106e9
or edi, 2
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edi
lea edx, [esi + 0x20]
jmp 0x100106e9
mov ecx, dword [edx]
mov eax, ecx
mov edi, dword [edx + 4]
and eax, 0x80000
or eax, 0
mov dword [ebp - 0x14], edi
je 0x1001068b
or ecx, 0x40000000
mov dword [edx + 4], edi
mov dword [edx], ecx
jmp 0x100106e9
mov eax, ecx
and eax, 0x200000
or eax, 0
je 0x100106c2
mov eax, ecx
mov dword [ebp - 0x18], edx
and eax, 0x8000000
or eax, 0
jne 0x10010760
test byte [ebx + 0xe], 0x40
je 0x100106bf
or edi, 1
mov dword [edx], ecx
lea eax, [esi + 0x20]
mov dword [edx + 4], edi
mov edx, eax
jmp 0x100106e9
lea edx, [esi + 0x20]
mov eax, dword [ebp - 8]
mov edi, edx
mov eax, dword [eax]
cmp byte [eax + 0xb], 0
je 0x100106e9
mov eax, ecx
and eax, 0x100000
or eax, 0
je 0x100106e9
mov eax, dword [ebp - 0x14]
or ecx, 0x80000000
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edi, dword [ebp - 8]
movzx eax, byte [edi + 0x16]
cmp dword [esi + eax*8 + 0x6c], 0
lea edi, [esi + eax*8]
jne 0x10010717
mov ecx, dword [esi + 0x20]
lea edx, [esi + 0x20]
mov eax, dword [edx + 4]
and ecx, 0xf0000000
and eax, 3
or ecx, eax
je 0x10010717
mov dword [edi + 0x6c], 1
cmp byte [ebx + 0xe], 0
mov ecx, edx
jge 0x1001078e
mov edi, dword [edx]
mov eax, edi
mov ecx, dword [edx + 4]
or eax, 0x1000000
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [edx + 4], ecx
mov dword [ebp - 0x18], ecx
mov bl, byte [eax + 0x12]
mov byte [ebp - 1], bl
cmp bl, 0x2e
mov ebx, dword [ebp + 8]
je 0x10010772
cmp byte [ebp - 1], 0x3e
mov ecx, edx
jne 0x10010791
mov ecx, dword [ebp - 0x18]
or edi, 0x1000000
or ecx, 8
mov dword [edx + 4], ecx
lea ecx, [esi + 0x20]
jmp 0x10010780
mov eax, dword [ebp - 0x18]
or edi, 1
mov dword [edx], ecx
mov dword [edx + 4], edi
mov edx, eax
jmp 0x100106e9
or edi, 0x1000000
or ecx, 4
mov dword [edx + 4], ecx
mov ecx, edx
mov dword [edx], edi
movzx eax, byte [eax + 0x17]
mov dword [esi + eax*8 + 0x6c], 1
mov eax, dword [ebp - 8]
test byte [ebx + 0xe], 0x20
mov edi, ecx
je 0x100107e7
mov edi, dword [edx]
or edi, 0x2000000
mov dword [ebp - 0x14], edi
mov edi, dword [edx + 4]
mov ebx, dword [ebp - 0x14]
mov dword [edx], ebx
mov ebx, dword [ebp + 8]
mov dword [edx + 4], edi
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], edi
mov edi, ecx
cmp byte [eax + 0xc], 0
je 0x100107ea
cmp byte [edx + 0x1c], 0
jl 0x100107ea
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
or eax, 0x10
mov dword [ecx], edi
lea edi, [esi + 0x20]
mov dword [ecx + 4], eax
movsx eax, byte [edx + 0x1c]
mov dword [esi + eax*8 + 0x6c], 1
jmp 0x100107ea
mov edx, dword [ebp - 8]
test byte [ebx + 0xd], 0x10
je 0x10010917
cmp byte [ebx + 0xe], 0
jl 0x10010917
mov ebx, dword [ecx]
mov eax, dword [ecx + 4]
or ebx, 0x4000000
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov cl, byte [edx + 0x13]
mov edx, eax
mov dword [ebp - 0xc], eax
mov byte [ebp + 0xb], cl
test cl, cl
je 0x10010879
mov ecx, eax
xor eax, eax
and ecx, 0x10
or eax, ecx
jne 0x10010879
movzx eax, byte [ebp + 0xb]
movzx eax, byte [eax + 0x1001092e]
jmp dword [eax*4 + 0x10010938]
mov edx, dword [ebp - 0xc]
or edx, 0x20
jmp 0x10010874
mov edx, dword [ebp - 0xc]
or edx, 0x40
jmp 0x10010874
mov edx, dword [ebp - 0xc]
or edx, 0x80
jmp 0x10010874
mov edx, dword [ebp - 0xc]
or edx, 0x100
jmp 0x10010874
mov edx, dword [ebp - 0xc]
or edx, 0x200
jmp 0x10010874
mov edx, dword [ebp - 0xc]
or edx, 0x400
mov dword [edi + 4], edx
mov dword [edi], ebx
and edx, 0x7e0
xor eax, eax
or eax, edx
je 0x10010917
mov eax, dword [ebp - 8]
pop edi
movzx eax, byte [eax + 0x1a]
mov dword [esi + eax*8 + 0x6c], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
test byte [eax], 0x10
je 0x10010917
mov edi, dword [edx]
mov ebx, dword [ebp - 8]
or edi, 0x4000000
mov ecx, dword [edx + 4]
mov dword [edx], edi
mov dword [edx + 4], ecx
mov al, byte [ebx + 0x13]
test al, al
je 0x100108ff
movzx eax, al
movzx eax, byte [eax + 0x1001098a]
jmp dword [eax*4 + 0x10010994]
and ecx, 0x7e0
xor eax, eax
or eax, ecx
je 0x10010917
movzx eax, byte [ebx + 0x1a]
mov dword [esi + eax*8 + 0x6c], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret