Function at 0x6e35b0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x9727c0]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
push 0x60
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xb4]
push 0
push eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], esi
call fcn.007389c0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0xb0], esi
movzx eax, word [eax]
cmp ax, 0x40
jle 0x6e363c
push 0x40
push 0x8d4cfc
push esi
call fcn.006898a0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.0073167f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
and ecx, 0x40
mov dword [esp + 0x7c], ecx
je 0x6e364f
mov eax, 1
jmp 0x6e3650
cwde
mov ecx, dword [esi]
imul esi, eax, 0x58
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ecx
add esi, 0x3f
and esi, 0xfffffff8
lea edx, [esi + 0x264]
call fcn.006878a0
mov edx, eax
mov dword [esp + 0x18], edx
test edx, edx
je 0x6e368e
lea ecx, [esi + 0x264]
push ecx
push 0
push edx
call fcn.007389c0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x38], 0
je 0x6e36b5
mov ecx, eax
call fcn.00687650
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.0073167f
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, dword [esp + 0x20]
mov dword [edx + 4], eax
call fcn.006a30f0
mov ecx, dword [esp + 0x18]
push 0x104
mov dword [ecx + 0x18], eax
lea eax, [ecx + esi]
mov dword [esp + 0xb8], eax
mov dword [ecx + 0x20], eax
mov eax, dword [ebp + 0x14]
mov word [ecx + 0xa], ax
mov eax, dword [esp + 0x20]
movsd xmm0, qword [eax + 0x1b8]
lea eax, [ecx + 0x38]
movsd qword [ecx + 0x28], xmm0
mov ecx, 0
mov esi, dword [esp + 0xb8]
mov dword [esp + 0xe8], eax
add esi, 0x160
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
push ecx
push esi
mov dword [esp + 0x5c], esi
test byte [eax + 0x34], 0x20
mov eax, dword [esp + 0x30]
cmovne eax, ecx
mov dword [esp + 0x30], eax
call fcn.007389c0
mov ecx, dword [esp + 0xc0]
add esp, 0xc
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 0x20]
mov dword [ecx], edx
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 4], esi
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 8
mov word [ecx + 0xe], ax
cmp dword [edx + 0x15c], 0
jne 0x6e37b2
mov eax, dword [edx]
test byte [eax + 0x34], 8
jne 0x6e37b2
mov dword [esp + 0x118], edx
lea ecx, [esp + 0x110]
mov edx, edi
mov dword [esp + 0x110], 0x6b72d0
mov dword [esp + 0x114], 0
call fcn.006b1250
mov ecx, dword [esp + 0xb4]
mov edx, edi
push 0x45
call fcn.006ddc90
add esp, 4
test edi, edi
je 0x6e37f2
cmp dword [esp + 0x28], 0
je 0x6e37db
mov ecx, edi
call fcn.006b4920
test eax, eax
je 0x6e37f2
mov eax, dword [esp + 0x18]
mov edx, edi
mov ecx, dword [esp + 0x1c]
push 8
push dword [eax + 0x18]
call fcn.006b7850
add esp, 8
mov eax, dword [esp + 0x20]
xor ecx, ecx
xor esi, esi
cmp cx, word [eax]
jge 0x6e3824
mov edi, dword [esp + 0x50]
lea edx, [eax + 0x34]
mov ecx, dword [edi]
lea edx, [edx + 0x48]
mov eax, dword [edx - 0x48]
inc esi
mov dword [edi + ecx*4 + 4], eax
mov eax, dword [esp + 0x20]
inc dword [edi]
movsx eax, word [eax]
cmp esi, eax
jl 0x6e3806
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0xb4]
mov esi, dword [edi + 0x10]
dec esi
js 0x6e384c
push esi
mov edx, edi
mov ecx, eax
call fcn.006dea40
mov eax, dword [esp + 0x24]
add esp, 4
dec esi
jns 0x6e3831
mov edi, dword [esp + 0xb4]
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x38], 0
jne 0x6e3e2e
mov esi, dword [esp + 0x24]
test esi, esi
je 0x6e3886
mov ecx, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x28]
mov edx, edi
call fcn.006df4c0
add esp, 8
test eax, eax
je 0x6e388a
mov eax, dword [esp + 0x18]
xor esi, esi
mov byte [eax + 0xe], 1
jmp 0x6e388a
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xd4], esi
xor esi, esi
mov dword [esp + 0xc8], 0xffffffff
mov dword [esp + 0xcc], 0xffffffff
mov dword [esp + 0xd0], eax
mov dword [esp + 0xe0], edx
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x40], esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0x2c], ecx
test edx, edx
jle 0x6e3e64
movsd xmm0, qword [0x8d5b68]
lea ecx, [edx - 1]
xorps xmm2, xmm2
movsd qword [esp + 0x58], xmm0
or eax, 0xffffffff
movdqa xmmword [esp + 0x110], xmm2
mov dword [esp + 0x14], eax
movdqa xmmword [esp + 0x80], xmm2
movdqa xmmword [esp + 0x90], xmm2
movq qword [esp + 0xa0], xmm2
mov dword [esp + 0x64], 0
cmp esi, ecx
jne 0x6e393e
xor ecx, ecx
mov edx, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], edx
jmp 0x6e3a11
lea eax, [esi + esi*8]
mov dword [esp + 0x24], esi
lea edi, [edi + eax*8]
or ecx, 0xffffffff
add edi, 8
mov dword [esp + 0x4c], ecx
mov dword [esp + 0xb8], edi
cmp esi, edx
jge 0x6e39ff
mov ecx, dword [esp + 0x50]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
jle 0x6e397f
mov esi, dword [edi + 0x2c]
add ecx, 4
cmp dword [ecx], esi
je 0x6e39b5
inc eax
add ecx, 4
cmp eax, edx
jl 0x6e3973
xorps xmm0, xmm0
movlpd qword [esp + 0x68], xmm0
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
and ecx, dword [esp + 0xc8]
and edx, dword [esp + 0xcc]
mov esi, dword [esp + 0x40]
or ecx, edx
mov ecx, dword [esp + 0x24]
jne 0x6e39cc
cmp ecx, esi
jne 0x6e39e2
inc esi
mov dword [esp + 0x40], esi
jmp 0x6e39e2
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x6e3990
cmp ecx, esi
jle 0x6e39d6
test byte [edi + 0x20], 0xa
jne 0x6e39fb
inc dword [esp + 0x4c]
jne 0x6e39fb
test byte [edi + 0x20], 8
jne 0x6e39fb
inc ecx
add edi, 0x48
mov dword [esp + 0x24], ecx
mov dword [esp + 0xb8], edi
cmp ecx, dword [esp + 0x28]
jl 0x6e3961
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
mov edx, ecx
mov dword [esp + 0x3c], edx
test ecx, ecx
js 0x6e3ccb
movsd xmm1, qword [esp + 0x88]
movsd qword [esp + 0x70], xmm1
test eax, eax
jns 0x6e3cd4
mov edi, dword [esp + 0x20]
lea eax, [esi + esi*8]
mov ecx, esi
mov dword [esp + 0x30], ecx
lea edi, [edi + eax*8]
add edi, 8
mov dword [esp + 0xb8], edi
cmp esi, dword [esp + 0x28]
jge 0x6e3c8e
mov edx, dword [esp + 0x18]
imul eax, esi, 0x58
sub edx, 0xffffff80
add eax, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
cmp ecx, esi
jle 0x6e3a6e
test byte [edi + 0x20], 0xa
jne 0x6e3c8e
mov ecx, dword [esp + 0x50]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
jle 0x6e3a8c
mov esi, dword [edi + 0x2c]
add ecx, 4
cmp dword [ecx], esi
je 0x6e3ace
inc eax
add ecx, 4
cmp eax, edx
jl 0x6e3a80
xorps xmm0, xmm0
movlpd qword [esp + 0x68], xmm0
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ecx, edx
mov eax, esi
and ecx, dword [esp + 0xc8]
and eax, dword [esp + 0xcc]
or ecx, eax
je 0x6e3c9f
cmp dword [esp + 0x3c], 0
je 0x6e3ae5
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], esi
jmp 0x6e3b01
xor edx, edx
xor esi, esi
bts edx, eax
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
cmovae esi, edx
jmp 0x6e3a9d
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xc4], eax
cmp dword [edi + 0x44], 0
jne 0x6e3b0b
inc dword [esp + 0x64]
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0xb0]
test byte [eax + 0x2a], 0x10
je 0x6e3b30
mov esi, dword [esp + 0x24]
lea eax, [esi + 8]
mov dword [esp + 0xd8], eax
call fcn.006e0490
jmp 0x6e3b39
call fcn.006e0b20
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x6e3c4f
movsd xmm0, qword [esp + 0x100]
movsd qword [esi], xmm0
movsd xmm0, qword [esp + 0x100]
mov ecx, dword [esp + 0x108]
mov eax, dword [esp + 0x10c]
and ecx, dword [esp + 0xc8]
and eax, dword [esp + 0xcc]
or ecx, eax
mov edi, dword [esp + 0xb8]
jne 0x6e3c75
cmp dword [esp + 0x64], 0
je 0x6e3ba4
cmp dword [edi + 0x44], 0
je 0x6e3ba4
test dword [esp + 0xe8], 0x100f3000
je 0x6e3c75
cmp dword [esp + 0x14], 0
jl 0x6e3be8
movsd xmm2, qword [esp + 0x58]
comisd xmm2, xmm0
ja 0x6e3be8
comisd xmm0, xmm2
ja 0x6e3c75
mov ax, word [esp + 0xee]
cmp ax, word [esp + 0x86]
ja 0x6e3be8
movsd xmm1, qword [esp + 0x70]
comisd xmm1, xmmword [esp + 0xf0]
jbe 0x6e3c7b
movdqu xmm0, xmmword [esp + 0xf8]
mov eax, dword [esp + 0x30]
movdqu xmm2, xmmword [esp + 0xe8]
mov dword [esp + 0x14], eax
movdqu xmmword [esp + 0x90], xmm0
movq xmm0, qword [esp + 0x108]
movdqa xmmword [esp + 0x80], xmm2
movsd xmm1, qword [esp + 0x88]
movq qword [esp + 0xa0], xmm0
movsd xmm0, qword [esp + 0x98]
movdqa xmmword [esp + 0x110], xmm2
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x70], xmm1
jmp 0x6e3c84
cmp dword [esp + 0x4c], 0
je 0x6e3b52
movsd xmm0, qword [esp + 0x100]
divsd xmm0, qword [esi]
movsd qword [esp + 0x100], xmm0
jmp 0x6e3b5b
movsd xmm1, qword [esp + 0x70]
movdqa xmm2, xmmword [esp + 0x110]
test byte [edi + 0x20], 8
je 0x6e3ca3
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
dec edx
mov dword [esp + 0x3c], edx
jns 0x6e3a20
jmp 0x6e3cd4
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
add edi, 0x48
add dword [esp + 0x24], 0x58
inc ecx
mov esi, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
mov dword [esp + 0xb8], edi
cmp ecx, dword [esp + 0x28]
jl 0x6e3a60
jmp 0x6e3c8e
movsd xmm1, qword [esp + 0x88]
movd edi, xmm2
test edi, 0x40000000
je 0x6e3ce8
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0xe], 2
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax*8]
mov esi, dword [esp + 0x20]
movq xmm0, qword [esp + 0x90]
and dword [esp + 0x54], edi
mov dword [esp + 0x30], ecx
movdqu xmmword [edx], xmm2
movq qword [edx + 0x10], xmm0
mov eax, dword [esi + ecx*8 + 0x34]
mov dword [edx + 0x1c], eax
test edi, 0x200f0000
je 0x6e3d47
cmp word [esp + 0x7c], 0
je 0x6e3d34
test edi, 0x20000000
jne 0x6e3d34
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x20], eax
jmp 0x6e3d4e
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x48]
mov dword [edx + 0x20], eax
inc dword [esi + 0x48]
mov esi, dword [esp + 0x20]
jmp 0x6e3d4e
mov dword [edx + 0x20], 0xffffffff
mov edx, dword [esp + 0x50]
xor eax, eax
mov edx, dword [edx]
test edx, edx
jle 0x6e3d75
mov esi, dword [esi + ecx*8 + 0x34]
mov ecx, dword [esp + 0x50]
add ecx, 4
cmp dword [ecx], esi
je 0x6e3e04
inc eax
add ecx, 4
cmp eax, edx
jl 0x6e3d65
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
not ecx
and dword [esp + 0xc8], ecx
not edx
mov ecx, dword [esp + 0x2c]
and dword [esp + 0xcc], edx
comisd xmm1, xmmword [0x8d5a88]
mov edx, dword [esp + 0x1c]
mov byte [ecx + 0x34], al
jb 0x6e3dc1
mulsd xmm1, qword [edx + 0x1b8]
movsd qword [edx + 0x1b8], xmm1
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov eax, dword [esi + eax*8 + 0x4c]
test eax, eax
je 0x6e3dd9
test edi, 0xf0000
je 0x6e3e1e
mov eax, dword [esp + 0xdc]
add ecx, 0x58
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0x2c], ecx
cmp eax, edx
jge 0x6e3e64
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
jmp 0x6e38e2
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x6e3d86
push dword [eax]
push 0x8d4ce4
push edx
call fcn.006898a0
add esp, 0xc
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, edi
movsd xmm0, qword [edi + 0x28]
mov ecx, dword [esp + 0x34]
movsd qword [eax + 0x1b8], xmm0
call fcn.006e3500
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.0073167f
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x44], 0
jne 0x6e3e2e
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x38], 0
jne 0x6e3e2e
mov edi, dword [esp + 0x18]
test edx, edx
je 0x6e3e86
mov ax, word [ecx - 0x52]
jmp 0x6e3e88
xor eax, eax
mov word [edi + 8], ax
mov eax, dword [esp + 0x54]
and eax, 0x2000000
mov dword [esp + 0x54], eax
je 0x6e3eae
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x6e3eae
mov ax, word [ecx]
mov word [edi + 8], ax
mov eax, dword [esp + 0x54]
test byte [ebp + 0x14], 4
je 0x6e3ec3
test eax, eax
je 0x6e3ec3
mov byte [edi + 0xc], 1
and dword [edi + 0x38], 0xffbfffff
or edx, 0xffffffff
mov ecx, esi
call fcn.006c03c0
movsd xmm0, qword [0x8d5a88]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
movsd qword [edi + 0x30], xmm0
test ecx, ecx
jle 0x6e4120
mov dword [esp + 0x38], ecx
lea edx, [edi + 0x38]
lea ecx, [ecx]
movzx eax, byte [edx + 0x34]
mov ecx, dword [esp + 0x20]
movsd xmm0, qword [edx + 8]
mulsd xmm0, qword [edi + 0x30]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
mov esi, dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov dword [esp + 0x14], eax
movsd qword [edi + 0x30], xmm0
mov edi, 0xfff0bdc0
mov edx, dword [esi + 0x40]
test edx, edx
je 0x6e3f53
mov eax, dword [esp + 0x34]
xor edi, edi
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x6e3f53
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], edx
je 0x6e3f53
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x6e3f47
mov cl, byte [esi + 0x2a]
test cl, 2
jne 0x6e404b
cmp dword [esi + 0xc], 0
jne 0x6e404b
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
test eax, 0x8000000
je 0x6e3fb0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x6e3f8c
mov ecx, dword [esp + 0x34]
cmp dword [eax], ecx
je 0x6e3f8c
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x6e3f81
mov esi, dword [esp + 0x14]
mov edx, 0x87
mov ecx, dword [esp + 0x48]
push 0xfffffffffffffff6
push eax
push 0
push 0
push dword [esi + 0x2c]
call fcn.006a2f60
add esp, 0x14
jmp 0x6e404f
test cl, 0x10
jne 0x6e404b
test eax, 0x400000
jne 0x6e4036
test byte [ebp + 0x14], 0x10
jne 0x6e4036
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp byte [ecx + 0xc], al
mov ecx, dword [esp + 0x1c]
setne al
add eax, 0x27
push eax
mov eax, dword [esp + 0x18]
push esi
push edi
mov edx, dword [eax + 0x2c]
call fcn.006c7a90
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp byte [eax + 0xc], 0
jne 0x6e404b
cmp word [esi + 0x26], 0x40
jge 0x6e404b
mov eax, dword [esp + 0x14]
xor esi, esi
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov eax, edx
or eax, ecx
je 0x6e401f
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x6e4012
mov eax, dword [esp + 0x48]
mov ecx, eax
push 0xfffffffffffffff2
push esi
mov edx, dword [eax + 0x1c]
dec edx
call fcn.006a34a0
add esp, 8
jmp 0x6e404b
push dword [esi]
mov ecx, dword [esp + 0x20]
mov edx, edi
push 0
push dword [esi + 0x20]
call fcn.006bb770
add esp, 0xc
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
test eax, 0x20000000
je 0x6e407b
mov edx, dword [esp + 0xb4]
push ecx
push dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x34]
push esi
call fcn.006dfa50
add esp, 0x10
jmp 0x6e40af
test eax, 0xf0000
je 0x6e40af
mov esi, dword [ecx + 0x10]
mov edx, esi
mov ecx, dword [esp + 0x1c]
call fcn.006c09a0
mov ecx, dword [esp + 0x48]
mov edx, 0x27
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x4c]
push edi
push dword [esi + 0x24]
push dword [eax + 0x20]
call fcn.006a2f60
add esp, 0x14
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.006c03c0
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 4]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
jle 0x6e40e6
mov esi, dword [esp + 0x14]
add ecx, 4
mov esi, dword [esi + 0x2c]
cmp dword [ecx], esi
je 0x6e41b7
inc eax
add ecx, 4
cmp eax, edx
jl 0x6e40d6
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x18]
not edx
and dword [esp + 0x30], edx
not ecx
mov edx, dword [esp + 0x44]
and dword [esp + 0x2c], ecx
add edx, 0x58
dec dword [esp + 0x38]
mov dword [esp + 0x44], edx
jne 0x6e3f00
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x1c]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x38], 0
jne 0x6e3e32
xor esi, esi
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
test ecx, ecx
jle 0x6e41a1
add edi, 0x64
push dword [ebp + 0x14]
movzx eax, byte [edi + 8]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
lea eax, [edi - 0x2c]
push esi
push eax
call fcn.006e1d70
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov edx, esi
push dword [esp + 0x4c]
push dword [ebp + 0x14]
call fcn.006e1fc0
mov ecx, dword [edi]
lea edi, [edi + 0x58]
mov dword [esp + 0x54], eax
inc esi
mov eax, dword [esp + 0x34]
add esp, 0x1c
mov dword [esp + 0x2c], edx
mov dword [eax + 0x14], ecx
cmp esi, dword [esp + 0x28]
jl 0x6e4151
mov edi, eax
mov ecx, dword [esp + 0x13c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0073167f
mov esp, ebp
pop ebp
ret
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x6e40f7