Function at 0x1002b560
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
cmp dword [ebp + 8], 0
jne 0x1002b583
push 0xef3
push 0x100f6e50
push 0x100f6ef8
call fcn.100549fe
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x1002b5a0
push 0xef4
push 0x100f6f08
push 0x100f6fb0
call fcn.100549fe
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x1002b5bd
push 0xef5
push 0x100f6fc8
push 0x100f7070
call fcn.100549fe
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 0xc]
shr cl, 5
and cl, 3
movzx edx, cl
test edx, edx
je 0x1002b62a
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 0xc]
shr cl, 5
and cl, 3
movzx edx, cl
cmp edx, 4
jb 0x1002b5fb
push 0xf00
push 0x100f7088
push str.definition__cpu_state____sizeof_mapping____sizeof__mapping__0___
call fcn.100549fe
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov dl, byte [ecx + 0xc]
shr dl, 5
and dl, 3
movzx eax, dl
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
or edx, dword [eax*8 + 0x10071d10]
mov ecx, dword [ecx + 0x24]
or ecx, dword [eax*8 + 0x10071d14]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp + 0x10]
mov dl, byte [ecx + 0xd]
and dl, 3
movzx eax, dl
test eax, eax
je 0x1002b68d
mov ecx, dword [ebp + 0x10]
mov dl, byte [ecx + 0xd]
and dl, 3
movzx eax, dl
cmp eax, 4
jb 0x1002b662
push 0xf0d
push 0x100f71b8
push str.definition__fpu_state____sizeof_mapping____sizeof__mapping__0___
call fcn.100549fe
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov al, byte [edx + 0xd]
and al, 3
movzx ecx, al
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
or eax, dword [ecx*8 + 0x10071d30]
mov edx, dword [edx + 0x24]
or edx, dword [ecx*8 + 0x10071d34]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov edx, dword [ebp + 0x10]
mov al, byte [edx + 0xd]
shr al, 2
and al, 3
movzx ecx, al
test ecx, ecx
je 0x1002b6f8
mov edx, dword [ebp + 0x10]
mov al, byte [edx + 0xd]
shr al, 2
and al, 3
movzx ecx, al
cmp ecx, 4
jb 0x1002b6c9
push 0xf1a
push 0x100f72e8
push str.definition__xmm_state____sizeof_mapping____sizeof__mapping__0___
call fcn.100549fe
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 0xd]
shr cl, 2
and cl, 3
movzx edx, cl
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
or ecx, dword [edx*8 + 0x10071d50]
mov eax, dword [eax + 0x24]
or eax, dword [edx*8 + 0x10071d54]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 5
ja case.default.0x1002b70e
mov edx, dword [ebp - 0x10]
jmp dword [edx*4 + 0x1002beb4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0xd]
shr dl, 5
and dl, 1
movzx eax, dl
test eax, eax
je 0x1002b746
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
or edx, 0x100
mov eax, dword [ecx + 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0xd]
shr al, 6
and al, 1
movzx ecx, al
test ecx, ecx
je 0x1002b7a3
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
or eax, 0x10000
mov ecx, dword [edx + 0x24]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x10]
test ecx, ecx
je 0x1002b7a3
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
or eax, 0x8000000
mov ecx, dword [edx + 0x24]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x15]
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx*8 + 0x6c], 1
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0xd]
shr cl, 7
and cl, 1
movzx edx, cl
test edx, edx
je 0x1002b7ce
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
or ecx, 0x20000
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0xe]
and dl, 1
movzx eax, dl
test eax, eax
je 0x1002b7f6
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
or edx, 0x40000
mov eax, dword [ecx + 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0xe]
shr al, 1
and al, 1
movzx ecx, al
test ecx, ecx
je 0x1002b81e
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
or eax, 0x80000
mov ecx, dword [edx + 0x24]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0xe]
shr cl, 2
and cl, 1
movzx edx, cl
test edx, edx
je 0x1002b849
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
or ecx, 0x100000
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0xe]
shr dl, 3
and dl, 1
movzx eax, dl
test eax, eax
je 0x1002b874
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
or edx, 0x200000
mov eax, dword [ecx + 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0xe]
shr al, 4
and al, 1
movzx ecx, al
test ecx, ecx
je 0x1002b89d
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
or eax, 0x400000
mov ecx, dword [edx + 0x24]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0xe]
shr cl, 6
and cl, 1
movzx edx, cl
test edx, edx
je 0x1002b8c8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
or ecx, 0x800000
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x11]
mov byte [ebp - 0x14], dl
cmp byte [ebp - 0x14], 0xf2
je 0x1002b8e6
cmp byte [ebp - 0x14], 0xf3
je 0x1002b9e6
jmp 0x1002bac3
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
and ecx, 0x80000
mov edx, dword [eax + 0x24]
and edx, 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x1c]
je 0x1002b923
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
or edx, 0x40000000
mov eax, dword [ecx + 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
jmp 0x1002bac3
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
and eax, 0x200000
mov ecx, dword [edx + 0x24]
and ecx, 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x28]
or edx, dword [ebp - 0x24]
je 0x1002b98f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
and ecx, 0x8000000
mov edx, dword [eax + 0x24]
and edx, 0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x2c]
jne 0x1002b975
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0xe]
shr dl, 6
and dl, 1
movzx eax, dl
test eax, eax
je 0x1002b98f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
or eax, 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
jmp 0x1002bac3
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, 1
imul edx, ecx, 3
movzx eax, byte [eax + edx + 8]
test eax, eax
je 0x1002b9e1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
and edx, 0x100000
mov eax, dword [ecx + 0x24]
and eax, 0
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x38]
or ecx, dword [ebp - 0x34]
je 0x1002b9e1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
or eax, 0x80000000
mov ecx, dword [edx + 0x24]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
jmp 0x1002bac3
jmp 0x1002bac3
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
and ecx, 0x20000
mov edx, dword [eax + 0x24]
and edx, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x40]
or eax, dword [ebp - 0x3c]
je 0x1002ba23
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
or edx, 0x10000000
mov eax, dword [ecx + 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
jmp 0x1002bac3
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
and eax, 0x40000
mov ecx, dword [edx + 0x24]
and ecx, 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x48]
or edx, dword [ebp - 0x44]
je 0x1002ba5c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
or ecx, 0x20000000
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
jmp 0x1002bac3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
and edx, 0x400000
mov eax, dword [ecx + 0x24]
and eax, 0
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x50]
or ecx, dword [ebp - 0x4c]
je 0x1002bac3
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
and eax, 0x8000000
mov ecx, dword [edx + 0x24]
and ecx, 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x58]
or edx, dword [ebp - 0x54]
jne 0x1002baae
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0xe]
shr cl, 6
and cl, 1
movzx edx, cl
test edx, edx
je 0x1002bac3
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
or edx, 2
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x16]
mov eax, dword [ebp + 0xc]
cmp dword [eax + edx*8 + 0x6c], 0
jne 0x1002bb06
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
and edx, 0xf0000000
mov eax, dword [ecx + 0x24]
and eax, 3
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x60]
or ecx, dword [ebp - 0x5c]
je 0x1002bb06
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x16]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + eax*8 + 0x6c], 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0xe]
shr al, 7
and al, 1
movzx ecx, al
test ecx, ecx
je 0x1002bb96
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
or eax, 0x1000000
mov ecx, dword [edx + 0x24]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x12]
mov byte [ebp - 0x18], cl
cmp byte [ebp - 0x18], 0x2e
je 0x1002bb46
cmp byte [ebp - 0x18], 0x3e
je 0x1002bb6f
jmp 0x1002bb96
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
or ecx, 4
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x17]
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx*8 + 0x6c], 1
jmp 0x1002bb96
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
or edx, 8
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x17]
mov eax, dword [ebp + 0xc]
mov dword [eax + edx*8 + 0x6c], 1
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0xe]
shr dl, 5
and dl, 1
movzx eax, dl
test eax, eax
je 0x1002bc09
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
or edx, 0x2000000
mov eax, dword [ecx + 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, 1
shl ecx, 2
movzx edx, byte [eax + ecx + 8]
test edx, edx
je 0x1002bc09
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x1c]
test ecx, ecx
jl 0x1002bc09
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
or ecx, 0x10
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x1c]
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx*8 + 0x6c], 1
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0xd]
shr cl, 4
and cl, 1
movzx edx, cl
test edx, edx
je 0x1002bd74
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0xe]
shr cl, 7
and cl, 1
movzx edx, cl
test edx, edx
jne 0x1002bd74
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
or ecx, 0x4000000
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x13]
test edx, edx
je case.0x1002bca6.1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
and ecx, 0
mov edx, dword [eax + 0x24]
and edx, 0x10
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x68]
or eax, dword [ebp - 0x64]
jne case.0x1002bca6.1
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x13]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
sub eax, 0x26
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3f
ja case.0x1002bca6.1
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x1002bee8]
jmp dword [edx*4 + 0x1002becc]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
or edx, 0x20
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
jmp case.0x1002bca6.1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
or eax, 0x40
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
jmp case.0x1002bca6.1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
or ecx, 0x80
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
jmp case.0x1002bca6.1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
or edx, 0x100
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
jmp case.0x1002bca6.1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
or eax, 0x200
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
jmp case.0x1002bca6.1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
or ecx, 0x400
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
jmp case.0x1002bca6.1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
and ecx, 0
mov edx, dword [eax + 0x24]
and edx, 0x7e0
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x70]
or eax, dword [ebp - 0x6c]
je 0x1002bd74
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x1a]
mov eax, dword [ebp + 0xc]
mov dword [eax + edx*8 + 0x6c], 1
jmp case.default.0x1002b70e
mov ecx, dword [ebp + 0x10]
mov dl, byte [ecx + 0xd]
shr dl, 4
and dl, 1
movzx eax, dl
test eax, eax
je 0x1002beac
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
or edx, 0x4000000
mov eax, dword [ecx + 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x13]
test eax, eax
je case.0x1002bdde.1
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x13]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
sub eax, 0x26
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3f
ja case.0x1002bdde.1
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x1002bf44]
jmp dword [edx*4 + 0x1002bf28]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
or edx, 0x20
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
jmp case.0x1002bdde.1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
or eax, 0x40
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
jmp case.0x1002bdde.1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
or ecx, 0x80
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
jmp case.0x1002bdde.1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
or edx, 0x100
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
jmp case.0x1002bdde.1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
or eax, 0x200
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
jmp case.0x1002bdde.1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
or ecx, 0x400
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
jmp case.0x1002bdde.1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
and ecx, 0
mov edx, dword [eax + 0x24]
and edx, 0x7e0
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x78]
or eax, dword [ebp - 0x74]
je 0x1002beac
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x1a]
mov eax, dword [ebp + 0xc]
mov dword [eax + edx*8 + 0x6c], 1
jmp case.default.0x1002b70e
mov esp, ebp
pop ebp
ret