Function at 0x10067660
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
xor eax, eax
mov word [ebp - 8], ax
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 1], 0
mov dword [ebp - 0x34], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10069b30
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100676bc
jmp 0x10067fc4
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
imul eax, edx, 7
add eax, 0x103a5ee8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
mov eax, dword [edx*4 + 0x103a6bd8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 2]
and edx, 0x8000
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
test eax, eax
je 0x10067711
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
movzx eax, word [ebp - 0x26]
and eax, 0xffff7fff
mov word [ebp - 0x26], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x18], 1
jne 0x10067756
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
and ecx, 0x2000
je 0x10067756
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x20], 0
jne 0x10067756
mov eax, dword [ebp - 0x24]
and eax, 8
je 0x10067756
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
and edx, 0xffffdfff
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
push 3
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1006cc80
add esp, 8
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 2
jne 0x1006776e
mov eax, dword [ebp - 0xc]
and eax, 0x800000
je 0x1006776e
jmp 0x10067fc4
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 2
je 0x10067787
mov edx, dword [ebp - 0xc]
and edx, 0x8000000
je 0x10067787
jmp 0x10067fc4
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x1006780a
mov ecx, dword [ebp - 0xc]
not ecx
and ecx, 0x40000000
je 0x100677cb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0x14], edx
cmp dword [ebp - 0x2c], 0
jge 0x100677cb
jmp 0x10067fc4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
and eax, 0x10000000
je 0x100677f1
mov ecx, dword [ebp - 0x18]
shr ecx, 3
and ecx, 7
je 0x100677f1
jmp 0x10067fc4
mov edx, dword [ebp - 0xc]
and edx, 0x100000
je 0x1006780a
cmp dword [ebp - 0x18], 0xc0
jae 0x1006780a
jmp 0x10067fc4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
call fcn.10067600
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
call fcn.100675e0
add esp, 8
mov dword [ebp - 0x1c], eax
push 0x40
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1024a480
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov byte [edx + 0x34], 0xff
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 2]
test ecx, ecx
je 0x100678b4
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 2]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1006af20
add esp, 0x2c
test eax, eax
jne 0x100678b2
jmp 0x10067fc4
jmp 0x100678b9
jmp 0x100679a2
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 1]
test edx, edx
je 0x10067903
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 1
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 1]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1006af20
add esp, 0x2c
test eax, eax
jne 0x10067901
jmp 0x10067fc4
jmp 0x10067908
jmp 0x100679a2
mov ecx, dword [ebp - 0xc]
and ecx, 0x20000
je 0x10067952
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 2
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 5]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1006af20
add esp, 0x2c
test eax, eax
jne 0x10067950
jmp 0x10067fc4
jmp 0x10067954
jmp 0x100679a2
mov eax, dword [ebp - 0xc]
and eax, 0x40000
je 0x1006799b
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 3
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 6]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1006af20
add esp, 0x2c
test eax, eax
jne 0x1006799b
jmp 0x10067fc4
jmp 0x100679a2
mov edx, dword [ebp - 0xc]
and edx, 0x200000
je 0x100679e8
mov eax, dword [ebp + 8]
push eax
call fcn.1006a270
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100679c7
jmp 0x10067fc4
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
imul eax, edx, 7
add eax, 0x103a5ee8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
mov eax, dword [edx*4 + 0x103a6bd8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0x400000
je 0x10067a55
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
sub eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x14], edx
cmp dword [ebp - 0x30], 0
jge 0x10067a13
jmp 0x10067fc4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0xc]
and eax, 0x20000000
je 0x10067a47
movzx ecx, byte [ebp - 1]
cmp ecx, 0x20
jl 0x10067a45
jmp 0x10067fc4
jmp 0x10067a55
movzx edx, byte [ebp - 1]
cmp edx, 8
jl 0x10067a55
jmp 0x10067fc4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0x10]
sub edx, dword [ecx + 8]
cmp edx, 0xf
jle 0x10067a6b
jmp 0x10067fc4
cmp dword [ebp - 0x34], 1
jne 0x10067a9b
mov eax, dword [ebp - 0xc]
and eax, 0x10
je 0x10067a9b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
or edx, 0x10
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 0x18]
or edx, 1
mov eax, dword [ebp + 0x10]
mov word [eax + 0x18], dx
jmp 0x10067b01
mov ecx, dword [ebp - 0xc]
and ecx, 0x20
je 0x10067acf
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
and eax, 0x20
je 0x10067acf
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
or edx, 0x20
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 0x18]
or edx, 2
mov eax, dword [ebp + 0x10]
mov word [eax + 0x18], dx
jmp 0x10067b01
mov ecx, dword [ebp - 0xc]
and ecx, 0x40
je 0x10067b01
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
and eax, 0x40
je 0x10067b01
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
or edx, 0x40
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 0x18]
or edx, 4
mov eax, dword [ebp + 0x10]
mov word [eax + 0x18], dx
mov ecx, dword [ebp - 0xc]
and ecx, 0x14000
cmp ecx, 0x14000
jne 0x10067b62
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
or eax, 0x4000
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
cmp dword [ebp - 0x1c], 0
jne 0x10067b39
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 2]
mov word [edx + 0x20], cx
jmp 0x10067b5d
cmp dword [ebp - 0x1c], 1
jne 0x10067b4f
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 8]
mov word [edx + 0x20], cx
jmp 0x10067b5d
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0xa]
mov word [edx + 0x20], cx
jmp 0x10067cfe
mov edx, dword [ebp - 0xc]
and edx, 0xc000
cmp edx, 0xc000
jne 0x10067b98
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx + 2]
mov word [eax + 0x20], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
or ecx, 0x4000
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
jmp 0x10067cfe
cmp dword [ebp - 0x20], 0
jne 0x10067be5
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0x18]
mov word [eax + 0x18], dx
mov eax, dword [ebp - 0xc]
and eax, 0x10000
je 0x10067bd2
mov ecx, dword [ebp - 0xc]
and ecx, 0x1000008
jne 0x10067bd2
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
or eax, 0x2000
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 2]
mov word [edx + 0x20], cx
jmp 0x10067cfe
cmp dword [ebp - 0x20], 1
jne 0x10067c75
mov edx, dword [ebp + 0x10]
movzx eax, word [edx + 0x18]
or eax, 0x100
mov ecx, dword [ebp + 0x10]
mov word [ecx + 0x18], ax
mov edx, dword [ebp - 0xc]
and edx, 0x10000
je 0x10067c62
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
or ecx, 0x2000
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xc]
and eax, 0x80000
je 0x10067c52
cmp dword [ebp - 0x18], 0xc0
jb 0x10067c42
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 2]
mov word [ecx + 0x20], ax
jmp 0x10067c50
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 8]
mov word [ecx + 0x20], ax
jmp 0x10067c60
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 8]
mov word [ecx + 0x20], ax
jmp 0x10067c70
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 2]
mov word [ecx + 0x20], ax
jmp 0x10067cfe
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 0x18]
or edx, 0x200
mov eax, dword [ebp + 0x10]
mov word [eax + 0x18], dx
mov ecx, dword [ebp - 0xc]
and ecx, 0x4010000
je 0x10067cf0
mov edx, dword [ebp - 0xc]
and edx, 0x80000
je 0x10067cad
cmp dword [ebp - 0x18], 0xc0
jb 0x10067cad
jmp 0x10067fc4
mov eax, dword [ebp - 0xc]
and eax, 0x4000000
je 0x10067ce0
mov ecx, dword [ebp - 0x24]
and ecx, 8
je 0x10067ce0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
or eax, 0x2000000
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0xa]
mov word [edx + 0x20], cx
jmp 0x10067cee
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 8]
mov word [edx + 0x20], cx
jmp 0x10067cfe
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 2]
mov word [edx + 0x20], cx
mov edx, dword [ebp - 0xc]
and edx, 0x8000
je 0x10067d27
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
and ecx, 0x2000
je 0x10067d27
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
or eax, 0x2000
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc]
and edx, 0x20000000
je 0x10067d68
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 4]
and ecx, 4
je 0x10067d46
mov edx, dword [ebp - 0x24]
and edx, 8
jne 0x10067d5a
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 4]
and ecx, 8
je 0x10067d68
mov edx, dword [ebp - 0x24]
and edx, 0x10
je 0x10067d68
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx + 8]
mov word [eax + 0x20], dx
mov eax, dword [ebp - 0xc]
and eax, 0x400000
je 0x10067db7
mov ecx, dword [ebp - 0xc]
and ecx, 0x20000000
je 0x10067d9b
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 2]
movzx ecx, byte [ebp - 1]
movzx edx, word [ecx*2 + 0x103a5ea8]
add eax, edx
mov ecx, dword [ebp + 0x10]
mov word [ecx + 0x20], ax
jmp 0x10067db7
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 2]
movzx ecx, byte [ebp - 1]
movzx edx, word [ecx*2 + 0x103a6bc4]
add eax, edx
mov ecx, dword [ebp + 0x10]
mov word [ecx + 0x20], ax
mov edx, dword [ebp - 0x1c]
and edx, 3
shl edx, 0xa
mov eax, dword [ebp + 0x10]
movzx ecx, word [eax + 0x18]
or ecx, edx
mov edx, dword [ebp + 0x10]
mov word [edx + 0x18], cx
mov eax, dword [ebp - 0xc]
and eax, 0x80000000
je 0x10067deb
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 0x18]
or edx, 0x40
mov eax, dword [ebp + 0x10]
mov word [eax + 0x18], dx
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1006cd00
add esp, 4
mov edx, dword [ebp + 0x10]
mov word [edx + 0x1a], ax
movzx eax, word [ebp - 8]
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 0x18]
or edx, eax
mov eax, dword [ebp + 0x10]
mov word [eax + 0x18], dx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 3]
mov byte [ecx + 0x37], al
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x33]
test edx, edx
jne 0x10067e30
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x33], 0xff
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x34]
cmp edx, 0xff
je 0x10067e59
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x34]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x1c]
or eax, dword [ecx*4 + 0x103abf50]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 4]
and eax, 2
je 0x10067e6e
mov dword [ebp - 0x38], 0x200
jmp 0x10067e75
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 4]
and edx, 8
je 0x10067e8a
mov dword [ebp - 0x3c], 0x400
jmp 0x10067e91
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 4]
and ecx, 0x20
je 0x10067ea6
mov dword [ebp - 0x40], 0x800
jmp 0x10067ead
mov dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 4]
and eax, 0xd5
or eax, dword [ebp - 0x38]
or eax, dword [ebp - 0x3c]
or eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 0x10]
mov word [ecx + 0x38], ax
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 5]
and eax, 2
je 0x10067ede
mov dword [ebp - 0x44], 0x200
jmp 0x10067ee5
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 5]
and edx, 8
je 0x10067efa
mov dword [ebp - 0x48], 0x400
jmp 0x10067f01
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 5]
and ecx, 0x20
je 0x10067f16
mov dword [ebp - 0x4c], 0x800
jmp 0x10067f1d
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 5]
and eax, 0xd5
or eax, dword [ebp - 0x44]
or eax, dword [ebp - 0x48]
or eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 0x10]
mov word [ecx + 0x3a], ax
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 6]
and eax, 2
je 0x10067f4e
mov dword [ebp - 0x50], 0x200
jmp 0x10067f55
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 6]
and edx, 8
je 0x10067f6a
mov dword [ebp - 0x54], 0x400
jmp 0x10067f71
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 6]
and ecx, 0x20
je 0x10067f86
mov dword [ebp - 0x58], 0x800
jmp 0x10067f8d
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 6]
and eax, 0xd5
or eax, dword [ebp - 0x50]
or eax, dword [ebp - 0x54]
or eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 0x10]
mov word [ecx + 0x3c], ax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
sub eax, dword [ebp - 0x5c]
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0x32], al
mov eax, 1
jmp 0x10068022
push 0x40
push 0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1024a480
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x34], 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0x32], 1
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x5c]
movzx ecx, byte [eax]
cmp ecx, 0x9b
jne 0x1006801d
mov edx, 0x273a
mov eax, dword [ebp + 0x10]
mov word [eax + 0x20], dx
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x37]
or edx, 8
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x37], dl
mov eax, 1
jmp 0x10068022
mov eax, 3
mov esp, ebp
pop ebp
ret