Function at 0x10067720
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.10069bf0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1006777c
jmp 0x10068084
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 0x100677d1
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 0x10067816
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
and ecx, 0x2000
je 0x10067816
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x20], 0
jne 0x10067816
mov eax, dword [ebp - 0x24]
and eax, 8
je 0x10067816
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.1006cd40
add esp, 8
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 2
jne 0x1006782e
mov eax, dword [ebp - 0xc]
and eax, 0x800000
je 0x1006782e
jmp 0x10068084
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 2
je 0x10067847
mov edx, dword [ebp - 0xc]
and edx, 0x8000000
je 0x10067847
jmp 0x10068084
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x100678ca
mov ecx, dword [ebp - 0xc]
not ecx
and ecx, 0x40000000
je 0x1006788b
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 0x1006788b
jmp 0x10068084
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 0x100678b1
mov ecx, dword [ebp - 0x18]
shr ecx, 3
and ecx, 7
je 0x100678b1
jmp 0x10068084
mov edx, dword [ebp - 0xc]
and edx, 0x100000
je 0x100678ca
cmp dword [ebp - 0x18], 0xc0
jae 0x100678ca
jmp 0x10068084
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.100676c0
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.100676a0
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 0x10067974
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.1006afe0
add esp, 0x2c
test eax, eax
jne 0x10067972
jmp 0x10068084
jmp 0x10067979
jmp 0x10067a62
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 1]
test edx, edx
je 0x100679c3
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.1006afe0
add esp, 0x2c
test eax, eax
jne 0x100679c1
jmp 0x10068084
jmp 0x100679c8
jmp 0x10067a62
mov ecx, dword [ebp - 0xc]
and ecx, 0x20000
je 0x10067a12
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.1006afe0
add esp, 0x2c
test eax, eax
jne 0x10067a10
jmp 0x10068084
jmp 0x10067a14
jmp 0x10067a62
mov eax, dword [ebp - 0xc]
and eax, 0x40000
je 0x10067a5b
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.1006afe0
add esp, 0x2c
test eax, eax
jne 0x10067a5b
jmp 0x10068084
jmp 0x10067a62
mov edx, dword [ebp - 0xc]
and edx, 0x200000
je 0x10067aa8
mov eax, dword [ebp + 8]
push eax
call fcn.1006a330
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10067a87
jmp 0x10068084
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 0x10067b15
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 0x10067ad3
jmp 0x10068084
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 0x10067b07
movzx ecx, byte [ebp - 1]
cmp ecx, 0x20
jl 0x10067b05
jmp 0x10068084
jmp 0x10067b15
movzx edx, byte [ebp - 1]
cmp edx, 8
jl 0x10067b15
jmp 0x10068084
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0x10]
sub edx, dword [ecx + 8]
cmp edx, 0xf
jle 0x10067b2b
jmp 0x10068084
cmp dword [ebp - 0x34], 1
jne 0x10067b5b
mov eax, dword [ebp - 0xc]
and eax, 0x10
je 0x10067b5b
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 0x10067bc1
mov ecx, dword [ebp - 0xc]
and ecx, 0x20
je 0x10067b8f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
and eax, 0x20
je 0x10067b8f
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 0x10067bc1
mov ecx, dword [ebp - 0xc]
and ecx, 0x40
je 0x10067bc1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
and eax, 0x40
je 0x10067bc1
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 0x10067c22
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 0x10067bf9
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 2]
mov word [edx + 0x20], cx
jmp 0x10067c1d
cmp dword [ebp - 0x1c], 1
jne 0x10067c0f
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 8]
mov word [edx + 0x20], cx
jmp 0x10067c1d
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0xa]
mov word [edx + 0x20], cx
jmp 0x10067dbe
mov edx, dword [ebp - 0xc]
and edx, 0xc000
cmp edx, 0xc000
jne 0x10067c58
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 0x10067dbe
cmp dword [ebp - 0x20], 0
jne 0x10067ca5
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 0x10067c92
mov ecx, dword [ebp - 0xc]
and ecx, 0x1000008
jne 0x10067c92
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 0x10067dbe
cmp dword [ebp - 0x20], 1
jne 0x10067d35
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 0x10067d22
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 0x10067d12
cmp dword [ebp - 0x18], 0xc0
jb 0x10067d02
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 2]
mov word [ecx + 0x20], ax
jmp 0x10067d10
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 8]
mov word [ecx + 0x20], ax
jmp 0x10067d20
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 8]
mov word [ecx + 0x20], ax
jmp 0x10067d30
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov ax, word [edx + 2]
mov word [ecx + 0x20], ax
jmp 0x10067dbe
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 0x10067db0
mov edx, dword [ebp - 0xc]
and edx, 0x80000
je 0x10067d6d
cmp dword [ebp - 0x18], 0xc0
jb 0x10067d6d
jmp 0x10068084
mov eax, dword [ebp - 0xc]
and eax, 0x4000000
je 0x10067da0
mov ecx, dword [ebp - 0x24]
and ecx, 8
je 0x10067da0
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 0x10067dae
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 8]
mov word [edx + 0x20], cx
jmp 0x10067dbe
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 0x10067de7
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
and ecx, 0x2000
je 0x10067de7
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 0x10067e28
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 4]
and ecx, 4
je 0x10067e06
mov edx, dword [ebp - 0x24]
and edx, 8
jne 0x10067e1a
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 4]
and ecx, 8
je 0x10067e28
mov edx, dword [ebp - 0x24]
and edx, 0x10
je 0x10067e28
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 0x10067e77
mov ecx, dword [ebp - 0xc]
and ecx, 0x20000000
je 0x10067e5b
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 0x10067e77
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 0x10067eab
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.1006cdc0
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 0x10067ef0
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x33], 0xff
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x34]
cmp edx, 0xff
je 0x10067f19
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 0x10067f2e
mov dword [ebp - 0x38], 0x200
jmp 0x10067f35
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 4]
and edx, 8
je 0x10067f4a
mov dword [ebp - 0x3c], 0x400
jmp 0x10067f51
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 4]
and ecx, 0x20
je 0x10067f66
mov dword [ebp - 0x40], 0x800
jmp 0x10067f6d
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 0x10067f9e
mov dword [ebp - 0x44], 0x200
jmp 0x10067fa5
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 5]
and edx, 8
je 0x10067fba
mov dword [ebp - 0x48], 0x400
jmp 0x10067fc1
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 5]
and ecx, 0x20
je 0x10067fd6
mov dword [ebp - 0x4c], 0x800
jmp 0x10067fdd
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 0x1006800e
mov dword [ebp - 0x50], 0x200
jmp 0x10068015
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 6]
and edx, 8
je 0x1006802a
mov dword [ebp - 0x54], 0x400
jmp 0x10068031
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 6]
and ecx, 0x20
je 0x10068046
mov dword [ebp - 0x58], 0x800
jmp 0x1006804d
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 0x100680e2
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 0x100680dd
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 0x100680e2
mov eax, 3
mov esp, ebp
pop ebp
ret