Function at 0x6cec50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa8
push ebx
mov ebx, dword [esp + 0xc0]
push ebp
mov ebp, dword [esp + 0xb4]
push esi
mov esi, dword [esp + 0xc0]
push edi
mov dword [esp + 0x40], 0
lea eax, [esi + 0x58]
mov dword [esp + 0x64], eax
mov eax, dword [ebp]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0x38]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*8]
add eax, 8
mov dword [esp + 0x6c], eax
mov edi, dword [eax + 0x2c]
mov dword [esp + 0x24], edi
cmp dword [esi + 0x200], edi
jne 0x6cecb6
mov eax, 1
jmp 0x6cece2
mov edx, dword [esi + 0x1fc]
mov ecx, 1
cmp edx, ecx
jle 0x6cece0
lea eax, [esi + 0x204]
jmp 0x6cecd0
cmp dword [eax], edi
je 0x6cedd4
inc ecx
add eax, 4
cmp ecx, edx
jl 0x6cecd0
xor eax, eax
xor edx, edx
not eax
not edx
and eax, dword [esp + 0xd0]
and edx, dword [esp + 0xd4]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], edx
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov esi, dword [esp + 0xc8]
mov ecx, esi
call fcn.0054dda0
mov edi, dword [ebp + 0x38]
and eax, 1
dec edi
mov dword [esp + 0x2c], eax
mov dword [ebp + 0x38], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0xc], edi
mov eax, dword [ebp + 0x38]
dec eax
mov dword [esp + 0x54], edi
mov dword [ebp + 0x38], eax
cmp byte [ebx + 0x38], 0
mov dword [ebx + 0x18], eax
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x74], eax
jbe 0x6ced6b
mov ecx, dword [esp + 0x6c]
test byte [ecx + 0x24], 8
je 0x6ced6b
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0xcc]
inc eax
push eax
push 0
push 0x47
mov dword [ebp + 0x2c], eax
push ebx
mov dword [ecx], eax
call fcn.006bfa20
add esp, 0x10
mov ecx, esi
test esi, esi
jle 0x6ced90
mov edx, dword [esp + 0xc4]
imul eax, esi, 0x58
add edx, 0x300
add eax, edx
cmp dword [eax], 0
jne 0x6ced90
dec ecx
sub eax, 0x58
test ecx, ecx
jg 0x6ced83
imul eax, ecx, 0x58
mov ecx, dword [esp + 0xc4]
mov ebp, dword [eax + ecx + 0x30c]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], ebp
mov edx, dword [eax + 0x28]
test dl, 0x10
je 0x6cee9c
mov ecx, dword [ebx + 0x74]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
cmp dword [ebx + 0x78], ecx
jg 0x6cede5
push edx
push 0
push esi
push 0xd
push ebx
call fcn.00674520
add esp, 0x14
jmp 0x6cee10
mov eax, 1
xor edx, edx
call fcn.0054dc20
jmp 0x6cece4
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], edx
jg 0x6cee4d
push 0
push edi
push esi
push 0xe
push ebx
call fcn.00674520
mov ebp, dword [esp + 0xe0]
xor ecx, ecx
add esp, 0x14
mov edx, eax
neg ecx
sbb ecx, ecx
mov dword [ebp + 0x40], edx
mov edx, dword [esp + 0x64]
add ecx, 2
mov byte [ebp + 0x39], 0xb
mov dword [esp + 0x20], ecx
jmp 0x6d0a5b
mov ebp, dword [esp + 0xcc]
lea eax, [edx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor ecx, ecx
neg ecx
mov dword [ebp + 0x40], edx
mov edx, dword [esp + 0x64]
sbb ecx, ecx
mov byte [ebp + 0x39], 0xb
add ecx, 2
mov dword [esp + 0x20], ecx
jmp 0x6d0a5b
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x2c]
test ecx, 0x400
je 0x6cf4e4
movzx eax, word [edi + 0x30]
mov dword [esp + 0x10], eax
lea ecx, [eax + 2]
cmp ecx, 1
jne 0x6ceeee
mov edx, dword [esp + 0xbc]
mov al, byte [edx + 0x13]
test al, al
jne 0x6ceed9
inc dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x6cef23
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov eax, dword [edx + eax*4 + 0x98]
mov dword [esp + 0x18], eax
jmp 0x6cef23
mov esi, dword [esp + 0xbc]
mov edx, dword [esi + 0x1c]
mov ebp, dword [esi + 0x20]
mov dword [esp + 0x18], ebp
cmp ecx, edx
jg 0x6cef12
sub edx, ecx
lea eax, [ecx + ebp]
mov dword [esi + 0x1c], edx
mov edx, esi
mov dword [esi + 0x20], eax
jmp 0x6cef23
mov eax, dword [esi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x18], edx
mov edx, esi
mov dword [edx + 0x2c], eax
mov ebp, dword [esp + 0xcc]
xor esi, esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x10], esi
jle 0x6cefd5
lea ecx, [ecx]
mov eax, dword [edi + 0x38]
mov edi, dword [eax + esi*4]
test edi, edi
je 0x6cefbf
test byte [edi + 0xc], 1
je 0x6cf059
cmp esi, 0x1f
jg 0x6cef64
mov eax, 1
mov ecx, esi
shl eax, cl
jmp 0x6cef66
xor eax, eax
mov ecx, dword [esp + 0x1c]
test dword [ecx + 0x28], eax
je 0x6cf033
mov ebp, dword [edx + 0x28]
inc dword [edx + 0x2c]
push ebp
lea eax, [ebp + 1]
mov dword [edx + 0x28], eax
push dword [edi]
mov eax, dword [edx + 0x2c]
push edx
mov dword [esp + 0x44], eax
call fcn.00692ce0
mov ecx, dword [ebx + 0x74]
add esp, 0xc
cmp dword [ebx + 0x78], ecx
jg 0x6ceffc
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x1c]
add eax, 2
add eax, esi
push eax
push ebp
push 0xad
push ebx
call fcn.00674520
add esp, 0x14
mov ebp, dword [esp + 0xcc]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0xbc]
inc esi
cmp esi, dword [esp + 0x10]
jl 0x6cef40
mov ecx, dword [ebx + 0x74]
mov edx, dword [edi + 0x18]
mov ebp, dword [esp + 0x18]
cmp dword [ebx + 0x78], ecx
jg 0x6cf0f0
push 0
push ebp
push edx
push 0x47
push ebx
call fcn.00674520
add esp, 0x14
jmp 0x6cf11b
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xad
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x18]
add eax, 2
add eax, esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
jmp 0x6cefb8
mov eax, dword [esp + 0x18]
add eax, 2
add eax, esi
push eax
push dword [esp + 0x30]
push esi
push ebp
push edi
push edx
call fcn.00655990
mov eax, dword [ebp + 0x10]
add esp, 0x18
mov dword [esp + 0x28], eax
jmp 0x6cefbf
mov eax, dword [esp + 0x18]
add eax, 2
push 1
add eax, esi
push eax
mov eax, dword [edi]
push dword [eax + 0x10]
push edx
call fcn.00655fe0
add esp, 0x10
cmp byte [edi + 0xf], 0x4a
mov edi, dword [esp + 0x1c]
jne 0x6cefc3
test byte [edi + 0x1c], 2
je 0x6cefc3
mov eax, dword [esp + 0xc4]
mov ecx, dword [ebx + 0x74]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
cmp dword [ebx + 0x78], ecx
jg 0x6cf0b5
push 0
push edx
push 0
push 0x47
push ebx
call fcn.00674520
add esp, 0x14
jmp 0x6cefc3
mov ebp, dword [esp + 0xcc]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x6cefc3
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x74]
lea edx, [ebp + 1]
cmp dword [ebx + 0x78], ecx
jg 0x6cf13a
push 0
push edx
push dword [esp + 0x18]
push 0x47
push ebx
call fcn.00674520
add esp, 0x14
jmp 0x6cf169
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x1c]
mov esi, dword [ebx + 0x74]
and al, 1
mov edi, dword [edi + 0x24]
movzx edx, al
neg edx
sbb edx, edx
and edx, 0xfffffffa
dec edx
mov dword [esp + 0x38], edx
cmp dword [ebx + 0x78], esi
jg 0x6cf1a1
push ebp
push dword [esp + 0x2c]
mov ebp, dword [esp + 0x2c]
push ebp
push 9
push ebx
call fcn.00674520
add esp, 0x14
mov esi, eax
jmp 0x6cf1d4
mov edx, dword [esp + 0x24]
lea eax, [esi + 1]
mov dword [ebx + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 0xc], ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
mov edx, dword [esp + 0x38]
cmp byte [eax + 0x57], 0
je 0x6cf1f2
cmp edx, 0xfffffff4
je 0x6cf23a
push edi
push edx
push eax
call fcn.006612f0
add esp, 0xc
jmp 0x6cf23a
test esi, esi
jns 0x6cf1fa
mov esi, dword [ebx + 0x74]
dec esi
mov eax, dword [ebx + 0x70]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
test edx, edx
jns 0x6cf22e
cmp byte [eax + 1], 0
jne 0x6cf22e
cmp edx, 0xfffffffd
jne 0x6cf21a
mov dword [eax + 0x10], edi
mov byte [eax + 1], dl
jmp 0x6cf23a
test edi, edi
je 0x6cf23a
mov dword [eax + 0x10], edi
mov byte [eax + 1], dl
cmp edx, 0xfffffff4
jne 0x6cf23a
inc dword [edi + 0xc]
jmp 0x6cf23a
push edx
push edi
push eax
push ebx
call fcn.006d9320
add esp, 0x10
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
and dword [edi + 0x1c], 0xfffffffe
cmp byte [eax + 0x57], 0
je 0x6cf253
mov dword [edi + 0x24], 0
mov esi, dword [esp + 0xcc]
mov eax, dword [esp + 0xc4]
mov dword [esi + 0x3c], ebp
mov al, byte [eax + 0x32]
neg al
sbb al, al
xor ebp, ebp
and al, 0x78
add al, 0x3e
mov byte [esi + 0x39], al
mov eax, dword [ebx + 0x74]
mov dword [esi + 0x40], eax
cmp dword [esp + 0x10], ebp
jle 0x6d0a2a
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x28], eax
nop
mov eax, dword [edi + 0x38]
mov edx, dword [eax + ebp*4]
mov dword [esp + 0x20], edx
cmp ebp, 0x10
jge 0x6cf2bc
mov ax, word [edi + 0x22]
mov cx, bp
shr ax, cl
test al, 1
je 0x6cf2bc
push edx
push esi
call fcn.0065a820
add esp, 8
jmp 0x6cf4bc
test byte [edx + 0xc], 1
je 0x6cf4bc
cmp ebp, 0x1f
jg 0x6cf2d6
mov eax, 1
mov ecx, ebp
shl eax, cl
jmp 0x6cf2d8
xor eax, eax
test dword [edi + 0x28], eax
jne 0x6cf4bc
mov edx, dword [esp + 0x4c]
cmp byte [edx + 0x57], 0
jne 0x6cf4bc
xor edi, edi
cmp dword [esi + 0x44], edi
jle 0x6cf3b3
mov eax, dword [ebx]
mov esi, dword [esi + 0x48]
add esi, 4
mov dh, byte [eax + 0x57]
mov eax, dword [esi]
test eax, eax
jns 0x6cf30f
mov eax, dword [ebx + 0x74]
dec eax
test dh, dh
je 0x6cf31a
mov ecx, 0x7c89b4
jmp 0x6cf323
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x70]
lea ecx, [eax + ecx*4]
mov dl, byte [ecx]
cmp dl, 0x5d
jne 0x6cf335
mov eax, dword [esp + 0x28]
add eax, ebp
cmp dword [ecx + 0xc], eax
je 0x6cf357
cmp dl, 0x86
jne 0x6cf345
mov eax, dword [esp + 0x28]
add eax, ebp
cmp dword [ecx + 8], eax
je 0x6cf357
mov eax, dword [esp + 0xcc]
inc edi
add esi, 0x14
cmp edi, dword [eax + 0x44]
jl 0x6cf305
jmp 0x6cf3b3
movzx eax, byte [ecx]
mov edx, dword [ecx + 0xc]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 4]
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x30], eax
cmp dword [ebx + 0x78], ecx
jg 0x6cf37e
push edx
push esi
push edi
push eax
push ebx
call fcn.00674520
add esp, 0x14
jmp 0x6cf3b3
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov ebx, dword [esp + 0x30]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov dword [eax + ecx*4 + 0x10], ebx
mov byte [eax + ecx*4 + 1], bl
mov ebx, dword [esp + 0xc0]
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov edi, dword [esp + 0xbc]
push 0
push 0x34
push dword [edi]
call fcn.00696530
mov esi, eax
add esp, 0xc
test esi, esi
je 0x6cf407
push 0x34
push 0
push esi
call sub.MSVCRT.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x35
push esi
mov word [esi + 0x22], ax
call fcn.0065e390
mov eax, dword [edi]
add esp, 0x10
mov eax, dword [eax + 0x84]
cmp dword [esi + 0x18], eax
jle 0x6cf407
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.00698870
add esp, 0xc
mov edx, dword [esp + 0x4c]
cmp byte [edx + 0x57], 0
jne 0x6cf4a3
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
test ecx, ecx
jle 0x6cf42f
mov eax, dword [eax + 0x14]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + ecx*4 - 0xc]
push 0
push 0x35
push edx
mov dword [esi + 0xc], eax
call fcn.00696530
mov edi, eax
add esp, 0xc
test edi, edi
je 0x6cf46c
push 0x34
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
mov byte [edi], 0xb0
or eax, 0xffffffff
mov word [edi + 0x22], ax
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
mov byte [eax], 0
mov dword [edi + 0x18], 1
mov dword [esi + 0x10], edi
test edi, edi
je 0x6cf498
mov eax, dword [esp + 0x28]
add eax, ebp
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0xcc]
push 0x10
push dword [eax + 0x18]
push esi
push dword [esp + 0xc8]
call fcn.0069c5e0
add esp, 0x10
mov edx, dword [esp + 0x4c]
mov dword [esi + 0xc], 0
test esi, esi
je 0x6cf4b1
push esi
push edx
call fcn.0069c2c0
add esp, 8
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0xcc]
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x6cf290
mov ebp, dword [esp + 0xcc]
xor ecx, ecx
mov edx, dword [esp + 0x64]
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x20], ecx
jmp 0x6d0a5b
mov eax, ecx
and eax, 0x100
je 0x6cf5f0
test cl, 5
je 0x6cf5f0
mov eax, dword [edi + 0x38]
mov ebp, dword [esp + 0xbc]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 0x2c]
push esi
push ecx
push 0
push dword [esp + 0xd8]
push eax
push ebp
call fcn.00655990
mov edi, eax
add esp, 0x18
cmp edi, esi
je 0x6cf543
test esi, esi
je 0x6cf543
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x6cf543
movzx eax, al
mov dword [ebp + eax*4 + 0x98], esi
inc byte [ebp + 0x13]
mov eax, dword [esp + 0xcc]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x6cf589
push 1
push edi
push esi
push eax
push 0x3f
push ebx
call fcn.006bfbb0
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
push edx
push eax
push esi
push dword [esp + 0xec]
push dword [esp + 0xec]
push ebp
call fcn.0065ea10
add esp, 0x30
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x6cf5c3
push edi
push esi
push dword [esp + 0x2c]
push 0x20
push ebx
call fcn.00674520
add esp, 0x14
mov ebp, dword [esp + 0xcc]
mov byte [ebp + 0x39], 0xb6
mov edx, dword [esp + 0x64]
xor ecx, ecx
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x20], ecx
jmp 0x6d0a5b
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x6cf5a2
test eax, eax
je 0x6cf86a
test cl, 2
je 0x6cf86a
xor edx, edx
mov dword [esp + 0x58], 0
xor ebp, ebp
xor esi, esi
mov edi, 0xb6
test cl, 0x20
je 0x6cf625
mov eax, dword [esp + 0x1c]
lea edx, [ebp + 1]
mov eax, dword [eax + 0x38]
mov esi, dword [eax]
test cl, 0x10
je 0x6cf634
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x38]
mov ebp, dword [eax + edx*4]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x6cf642
mov eax, esi
mov esi, ebp
mov ebp, eax
test esi, esi
je 0x6cf729
mov edx, dword [esi]
mov dword [esp + 0x10], 0x1917181a
mov dword [esp + 0x38], edx
mov eax, dword [edx + 0x10]
push eax
mov dword [esp + 0x34], eax
call fcn.0069d120
add esp, 4
test eax, eax
je 0x6cf6b9
mov ecx, dword [esp + 0xbc]
mov al, byte [ecx + 0x13]
test al, al
jne 0x6cf682
inc dword [ecx + 0x2c]
mov esi, dword [ecx + 0x2c]
jmp 0x6cf691
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov esi, dword [ecx + eax*4 + 0x98]
push 1
push esi
push dword [edx + 0x10]
mov dword [esp + 0x34], esi
push ecx
call fcn.00655fe0
mov eax, dword [esp + 0x48]
add esp, 0x10
movzx eax, byte [eax]
inc eax
and eax, 2
or eax, 1
movzx eax, byte [esp + eax + 0x10]
jmp 0x6cf6f2
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x34]
push dword [esp + 0xc4]
call fcn.0069bbe0
push esi
push dword [esp + 0xdc]
mov dword [esp + 0x3c], eax
call fcn.0065a820
mov eax, dword [esp + 0x4c]
add esp, 0x14
mov esi, dword [esp + 0x20]
movzx ecx, byte [eax]
movzx eax, byte [esp + ecx - 0x26]
push dword [esp + 0x28]
push dword [esp + 0x58]
push dword [esp + 0x2c]
push eax
push ebx
call fcn.006bfa80
mov ecx, dword [esp + 0xd0]
add esp, 0x14
test esi, esi
je 0x6cf750
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x6cf750
movzx eax, al
mov dword [ecx + eax*4 + 0x98], esi
inc byte [ecx + 0x13]
jmp 0x6cf750
push dword [esp + 0x30]
xor eax, eax
test ecx, ecx
push dword [esp + 0x28]
sete al
lea eax, [eax*4 + 0x22]
push eax
push ebx
call fcn.006bfa20
mov ecx, dword [esp + 0xcc]
add esp, 0x10
test ebp, ebp
je 0x6cf7df
mov esi, dword [ebp]
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
push 1
push eax
push dword [esi + 0x10]
mov dword [esp + 0x64], eax
push ecx
call fcn.00655fe0
mov edi, dword [esi + 0x10]
push edi
call fcn.0069d120
add esp, 0x14
test eax, eax
jne 0x6cf7a1
mov al, byte [esi]
cmp al, 0x38
je 0x6cf78b
cmp al, 0x36
jne 0x6cf7a1
xor edx, edx
cmp dword [esp + 0x2c], edx
sete dl
lea edx, [edx*2 + 0x37]
mov dword [esp + 0x28], edx
jmp 0x6cf7b7
mov ecx, dword [esp + 0x2c]
xor eax, eax
test ecx, ecx
setne al
lea eax, [eax*2 + 0x36]
mov dword [esp + 0x28], eax
push edi
call fcn.0069d120
add esp, 4
test eax, eax
jne 0x6cf7db
push ebp
mov ebp, dword [esp + 0xd0]
push ebp
call fcn.0065a820
mov edi, dword [esp + 0x30]
add esp, 8
jmp 0x6cf7e6
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0xcc]
cmp dword [esp + 0x2c], 0
mov ecx, dword [ebx + 0x74]
mov edx, dword [esp + 0x24]
sete al
add al, 4
mov dword [ebp + 0x3c], edx
mov byte [ebp + 0x39], al
mov dword [ebp + 0x40], ecx
cmp edi, 0xb6
je 0x6cf5ad
mov eax, dword [esp + 0xbc]
inc dword [eax + 0x2c]
mov esi, dword [eax + 0x2c]
push esi
push edx
push 0x86
push ebx
call fcn.006bfa20
push esi
push dword [esp + 0x68]
push dword [esp + 0x70]
push edi
push ebx
call fcn.006bfa80
mov eax, dword [ebx + 0x74]
add esp, 0x24
test eax, eax
jle 0x6cf5ad
lea ecx, [eax + eax*4]
mov edx, 0x53
mov eax, dword [ebx + 0x70]
mov word [eax + ecx*4 - 0x12], dx
xor ecx, ecx
mov edx, dword [esp + 0x64]
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x20], ecx
jmp 0x6d0a5b
test ecx, 0x200
je 0x6d0184
movzx esi, word [edi + 0x1a]
xor ebp, ebp
movzx edx, word [edi + 0x18]
mov eax, esi
mov dword [esp + 0x60], eax
movzx eax, word [edi + 0x1c]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov byte [esp + 0x17], al
mov byte [esp + 0x5f], al
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xcc]
movzx edi, dx
mov dword [esp + 0x20], edx
mov edx, edi
mov dword [esp + 0x3c], ebp
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], edi
test cl, 0x20
je 0x6cf8e0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x38]
mov ebp, dword [eax + edx*4]
mov eax, esi
inc edx
test eax, eax
jns 0x6cf8e2
xor esi, esi
test cl, 0x10
je 0x6cf98d
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + edx*4]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
movzx eax, word [edx + 0x1c]
cmp esi, eax
jg 0x6cf907
mov esi, eax
mov eax, 0x100
test word [ecx + 0xa], ax
je 0x6cf95f
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + 0x2c]
inc eax
push eax
mov dword [ecx + 0x2c], eax
mov ecx, dword [esp + 0xd0]
push 1
push 0x47
push ebx
mov dword [ecx + 0x2c], eax
call fcn.006bfa20
mov edx, dword [esp + 0xdc]
add esp, 0x10
mov ecx, dword [esp + 0x40]
mov eax, dword [ebx + 0x74]
shl dword [edx + 0x2c], 1
mov dword [edx + 0x30], eax
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
cmp byte [edi + eax], 1
sete cl
xor ecx, dword [esp + 0x2c]
or dword [edx + 0x2c], ecx
test ebp, ebp
jne 0x6cf98d
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 4]
movsx edx, word [eax + edi*2]
test edx, edx
js 0x6cf983
mov eax, dword [ecx + 0xc]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 4], 0xf
je 0x6cf988
cmp edx, 0xfffffffe
jne 0x6cf98d
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x2c]
test al, 0x30
jne 0x6cf9ee
test eax, 0x80000
je 0x6cf9ee
mov ecx, dword [esp + 0xbc]
mov esi, 1
mov edx, dword [esp + 0xcc]
mov byte [esp + 0x17], 1
inc dword [ecx + 0x2c]
cmp dword [edx], 0
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x48], eax
mov dword [edx + 0x24], eax
je 0x6cf9e5
push eax
push 0
push 0x47
push ebx
call fcn.006bfa20
mov ecx, dword [esp + 0xcc]
add esp, 0x10
mov edx, dword [esp + 0xcc]
dec dword [ecx + 0x38]
mov eax, dword [ecx + 0x38]
mov dword [edx + 0x28], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
cmp ax, word [ecx + 0x34]
jae 0x6cfa3a
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
cmp byte [edi + eax], cl
sete cl
cmp dword [esp + 0x2c], ecx
jne 0x6cfa3a
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x3c], ebp
mov ebp, eax
mov al, byte [esp + 0x17]
mov byte [esp + 0x5f], al
mov eax, dword [esp + 0x60]
movzx ecx, dx
movzx eax, al
mov byte [esp + 0x17], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
cmp dword [esp + 0xc8], 0
jle 0x6cfa63
mov eax, dword [esp + 0x1c]
test dword [eax + 0x2c], 0x100000
je 0x6cfa63
push dword [esp + 0x34]
push 0x87
push ebx
call fcn.006bf9c0
add esp, 0xc
lea eax, [esp + 0x58]
push eax
push esi
push dword [esp + 0x34]
mov esi, dword [esp + 0xd8]
push esi
push dword [esp + 0xcc]
call fcn.00654e30
mov edx, eax
add esp, 0x14
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], edx
test eax, eax
je 0x6cfab3
cmp word [esp + 0x68], 0
je 0x6cfab3
lea ecx, [edi + eax]
mov eax, dword [esp + 0x4c]
push ecx
push eax
call fcn.00696800
mov edx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x6cfac0
mov eax, dword [esi + 0x28]
jmp 0x6cfac3
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x6cfad9
test byte [ebp + 0xc], 0x28
mov dword [esp + 0x50], 0
je 0x6cfae1
mov dword [esp + 0x50], 1
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x6cfaf7
test byte [eax + 0xc], 0x28
mov dword [esp + 0x28], 0
je 0x6cfaff
mov dword [esp + 0x28], 1
test ebp, ebp
jne 0x6cfb46
cmp word [esp + 0x20], bp
ja 0x6cfb46
xor eax, eax
mov esi, edi
mov dword [esp + 0x20], eax
mov al, byte [esp + 0x17]
test al, al
je 0x6cfc16
mov dword [esp + 0x50], 0
lea eax, [edi + edx]
push eax
push 0
push 0x4a
push ebx
call fcn.006bfa20
mov al, byte [esp + 0x27]
add esp, 0x10
mov ebp, 1
inc esi
jmp 0x6cfc22
mov eax, 1
mov esi, edi
mov dword [esp + 0x20], eax
test ebp, ebp
je 0x6cfb12
mov eax, dword [ebp]
mov ecx, esi
add ecx, edx
mov dword [esp + 0x30], ecx
mov edi, dword [eax + 0x10]
mov eax, dword [esp + 0x60]
movzx eax, ax
push eax
push ecx
push edi
push dword [esp + 0xc8]
call fcn.00655fe0
push ebp
push dword [esp + 0xe0]
push ebx
call fcn.006e08c0
add esp, 0x1c
test byte [ebp + 0xa], 0x80
jne 0x6cfbb0
push edi
call fcn.006993b0
add esp, 4
test eax, eax
je 0x6cfbb0
push dword [esp + 0x10]
push dword [esp + 0x34]
push 0x32
push ebx
call fcn.006bfa20
add esp, 0x10
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x6cfbce
mov eax, esi
add eax, ecx
mov ecx, dword [esp + 0x60]
push eax
movzx eax, cx
push eax
push edi
call fcn.006d8000
add esp, 0xc
mov ecx, dword [esp + 0x60]
movzx eax, cx
push edi
add esi, eax
call fcn.0069d120
add esp, 4
test eax, eax
jne 0x6cfc01
push ebp
push dword [esp + 0xd0]
call fcn.0065a820
mov edi, dword [esp + 0x4c]
add esp, 8
xor al, al
mov ebp, 1
jmp 0x6cfc22
mov edi, dword [esp + 0x44]
xor al, al
mov dword [esp + 0x50], 1
mov ebp, 1
jmp 0x6cfc22
test ecx, ecx
jne 0x6cfb26
mov ebp, dword [esp + 0x20]
push dword [esp + 0x58]
movzx ecx, al
mov eax, esi
sub eax, ecx
mov dword [esp + 0x34], ecx
push eax
push dword [esp + 0x20]
push dword [esp + 0xc8]
call fcn.00655280
mov eax, dword [esp + 0x2c]
add esp, 0x10
movzx eax, word [eax + 0x32]
test ax, ax
je 0x6cfc5a
cmp esi, eax
je 0x6cfd73
mov eax, dword [esp + 0x48]
test eax, eax
je 0x6cfc70
push eax
push 1
push 0x47
push ebx
call fcn.006bfa20
add esp, 0x10
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x6cfcbf
push edi
push dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
push edi
push eax
push 0x3f
push ebx
call fcn.006bfbb0
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
push edx
push eax
push edi
push dword [esp + 0xec]
push dword [esp + 0xec]
push dword [esp + 0xe8]
call fcn.0065ea10
add esp, 0x30
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
lea eax, [eax + ebp*2]
movzx edi, byte [ecx + eax*2 + 0x71d4c0]
mov eax, dword [esp + 0x1c]
test dword [eax + 0x2c], 0x100000
je 0x6cfd12
cmp edi, 0x19
jne 0x6cfd12
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 8]
movsx ecx, word [eax]
mov eax, 0x66666667
add ecx, 9
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push 0x7b
push ebx
call fcn.006bf9c0
add esp, 0xc
mov dword [esp + 0x38], eax
mov ebp, dword [esp + 0x18]
push esi
push ebp
push dword [esp + 0x18]
push dword [esp + 0x40]
push edi
push ebx
call fcn.006bfbb0
mov eax, dword [esp + 0x60]
add esp, 0x18
test eax, eax
je 0x6cfd7b
mov eax, dword [ebx + 0x74]
add eax, 2
push eax
push 0
push 0xb
push ebx
call fcn.006bfa20
mov ecx, dword [esp + 0x3c]
mov eax, esi
sub eax, dword [esp + 0x60]
push eax
xor eax, eax
cmp esi, 1
push ebp
push dword [esp + 0x28]
setg al
push dword [esp + 0x50]
movzx eax, byte [ecx + eax*4 + 0x71d4c2]
push eax
push ebx
call fcn.006bfbb0
add esp, 0x28
jmp 0x6cfd77
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov esi, edi
test ecx, ecx
je 0x6cfe66
cmp dword [esp + 0x38], 0
mov eax, dword [ecx]
mov edi, dword [eax + 0x10]
je 0x6cfda6
mov ecx, dword [esp + 0xcc]
mov eax, dword [ebx + 0x74]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x68]
movzx ebp, ax
mov eax, esi
add eax, dword [esp + 0x18]
push ebp
push eax
push edi
push dword [esp + 0xc8]
call fcn.00655fe0
push dword [esp + 0x4c]
push dword [esp + 0xe0]
push ebx
call fcn.006e08c0
mov eax, dword [esp + 0x58]
add esp, 0x1c
test byte [eax + 0xa], 0x80
jne 0x6cfe03
push edi
call fcn.006993b0
add esp, 4
test eax, eax
je 0x6cfe03
push dword [esp + 0x10]
mov eax, esi
add eax, dword [esp + 0x1c]
push eax
push 0x32
push ebx
call fcn.006bfa20
add esp, 0x10
mov eax, dword [esp + 0x54]
test eax, eax
je 0x6cfe2f
push eax
push ebp
push edi
call fcn.006d8000
mov eax, dword [esp + 0x60]
push eax
mov eax, esi
add eax, dword [esp + 0x28]
push ebp
push eax
push dword [esp + 0xd4]
call fcn.00655280
add esp, 0x1c
push edi
add esi, ebp
call fcn.0069d120
mov ebp, dword [esp + 0xd0]
add esp, 4
test eax, eax
jne 0x6cfe58
push dword [esp + 0x3c]
push ebp
call fcn.0065a820
mov edi, dword [esp + 0x4c]
add esp, 8
jmp 0x6cfe92
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], 1
jmp 0x6cfe92
cmp byte [esp + 0x5f], 0
je 0x6cfe8b
test eax, eax
jne 0x6cfe8a
lea eax, [edi + ebp]
push eax
push 0
push 0x4a
push ebx
call fcn.006bfa20
add esp, 0x10
mov dword [esp + 0x28], 0
inc esi
mov ebp, dword [esp + 0xcc]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x6cfea7
push eax
push dword [esp + 0x50]
call fcn.00696450
add esp, 8
mov eax, dword [esp + 0x54]
test eax, eax
je 0x6cfebc
push eax
push dword [esp + 0x50]
call fcn.00696450
add esp, 8
cmp dword [ebp + 0x40], 0
jne 0x6cfec8
mov eax, dword [ebx + 0x74]
mov dword [ebp + 0x40], eax
test esi, esi
je 0x6cff40
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x6cfee7
mov eax, dword [ebx + 0x74]
add eax, 3
push eax
push ecx
push 0x14
push ebx
call fcn.006bfa20
add esp, 0x10
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push esi
push ebp
push dword [esp + 0x18]
movzx eax, byte [eax + ecx*2 + 0x71d4c8]
push dword [esp + 0x40]
push eax
push ebx
call fcn.006bfbb0
mov ecx, dword [esp + 0x50]
add esp, 0x18
test ecx, ecx
je 0x6cff44
mov edx, dword [ebx + 0x74]
jns 0x6cff1f
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x6cff31
mov eax, 0x7c89b4
mov dword [eax + 8], edx
jmp 0x6cff44
mov eax, dword [ebx + 0x70]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x6cff44
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x6cff86
mov eax, dword [ebx + 0x74]
add eax, 2
push eax
push ecx
push 0x12
push ebx
call fcn.006bfa20
mov ecx, dword [esp + 0x40]
lea eax, [ecx + esi]
push eax
mov eax, dword [esp + 0x40]
push ebp
push dword [esp + 0x28]
mov ebp, dword [esp + 0x50]
movzx eax, byte [ecx + eax*2 + 0x71d4c8]
push ebp
push eax
push ebx
call fcn.006bfbb0
add esp, 0x28
jmp 0x6cff8a
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
test dword [esi + 0x2c], 0x40000
je 0x6cffa5
push edi
push edi
push ebp
push 0x7c
push ebx
call fcn.006bfa80
add esp, 0x14
test byte [esi + 0x2c], 0x40
je 0x6cffca
mov eax, dword [esp + 0xc4]
test byte [eax + 0x2c], 0x20
jne 0x6cffca
mov ecx, dword [esp + 0x24]
mov esi, 1
mov edx, dword [esp + 0x40]
jmp 0x6d00f1
mov edx, dword [esp + 0x40]
xor esi, esi
mov eax, dword [edx + 0xc]
test byte [eax + 0x1c], 0x80
jne 0x6cfff3
push ebp
push dword [esp + 0x28]
push edx
push dword [esp + 0xd0]
call fcn.00655560
add esp, 0x10
jmp 0x6d00e2
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x6d00ea
push eax
call fcn.006b4280
mov esi, eax
mov dword [esp + 0x34], esi
movzx ecx, word [esi + 0x32]
push ecx
push dword [esp + 0xc4]
call fcn.006a8400
xor ecx, ecx
mov dword [esp + 0x2c], eax
add esp, 0xc
xor edi, edi
cmp cx, word [esi + 0x32]
jae 0x6d00c4
mov ebp, eax
mov eax, dword [esp + 0x40]
xor ecx, ecx
movzx edx, word [eax + 0x34]
test edx, edx
jle 0x6d005d
mov eax, dword [esi + 4]
movzx esi, word [eax + edi*2]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
nop
cmp si, word [eax]
je 0x6d007e
inc ecx
add eax, 2
cmp ecx, edx
jl 0x6d0050
or eax, 0xffffffff
mov ecx, dword [ebx + 0x74]
movsx edx, ax
cmp dword [ebx + 0x78], ecx
jg 0x6d0083
push ebp
push edx
push dword [esp + 0x3c]
push 0x5d
push ebx
call fcn.00674520
add esp, 0x14
jmp 0x6d00ae
movzx eax, cx
jmp 0x6d0060
mov esi, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x30]
inc edi
inc ebp
movzx eax, word [esi + 0x32]
cmp edi, eax
jl 0x6d0033
mov ebp, dword [esp + 0x34]
movzx eax, word [esi + 0x32]
push eax
push dword [esp + 0x24]
push dword [esp + 0x7c]
push dword [esp + 0x30]
push 0x1e
push ebx
call fcn.006bfbb0
add esp, 0x18
xor esi, esi
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xc4]
mov edi, dword [esp + 0xcc]
cmp dword [edi], 0
jne 0x6d012b
test byte [eax + 0x2c], 0x20
jne 0x6d010f
push eax
push ebp
push ecx
push edx
call fcn.006e01d0
add esp, 0x10
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x6d012b
push dword [esp + 0x64]
push dword [esp + 0x28]
push eax
call fcn.006dfbd0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
test dword [ecx + 0x2c], 0x1000
je 0x6d013e
mov byte [edi + 0x39], 0xb6
jmp 0x6d014b
cmp dword [esp + 0x2c], 0
sete al
add al, 4
mov byte [edi + 0x39], al
mov dword [edi + 0x3c], ebp
mov ebp, edi
mov al, byte [ecx + 0x2e]
and al, 1
mov byte [ebp + 0x3a], al
test byte [ecx + 0x2c], 0xf
jne 0x6d0162
mov byte [ebp + 0x3b], 1
test esi, esi
je 0x6d0a3f
mov edx, dword [esp + 0x64]
xor ecx, ecx
mov dword [esp + 0x40], ecx
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x20], ecx
jmp 0x6d0a5b
test ecx, 0x2000
je 0x6d09d1
mov ebp, dword [esp + 0xbc]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x60], 0
mov eax, dword [ebp + 0x28]
dec dword [ebp + 0x38]
inc dword [ebp + 0x2c]
mov edx, dword [ebp + 0x2c]
mov dword [esp + 0x1c], eax
inc eax
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x38]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], 0
mov dword [esp + 0x30], 0
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xcc]
mov byte [eax + 0x39], 0x43
mov dword [eax + 0x3c], edx
mov eax, dword [esp + 0xc4]
mov al, byte [eax + 0x30]
cmp al, 1
jbe 0x6d031e
mov ecx, dword [esp + 0x4c]
movzx eax, al
sub eax, esi
dec eax
mov dword [esp + 0x20], eax
push 0
lea eax, [eax + eax*8]
lea eax, [eax*8 + 0x50]
push eax
test ecx, ecx
je 0x6d0247
push ecx
call fcn.00696530
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x34], ecx
jmp 0x6d0255
call fcn.006acde0
add esp, 8
mov dword [esp + 0x34], eax
mov ecx, eax
test ecx, ecx
jne 0x6d0272
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
mov edx, dword [esp + 0x20]
lea edi, [ecx + 8]
mov esi, dword [esp + 0x6c]
lea eax, [edx + 1]
movzx eax, al
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov ecx, 0x12
mov eax, dword [esp + 0xc4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 4]
add ecx, 8
mov dword [esp + 0x20], ecx
cmp edx, 1
jl 0x6d02ed
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0xcc]
add ebp, 0x50
add ebx, 0x90
lea esp, [esp]
movzx eax, byte [ebx]
lea ebx, [ebx + 0x58]
mov edi, ebp
add ebp, 0x48
lea eax, [eax + eax*8]
lea esi, [ecx + eax*8]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
dec edx
jne 0x6d02c0
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xbc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc4]
test byte [edx + 0x2c], 0x10
jne 0x6d0365
test byte [ecx + 0x1c], 0x80
jne 0x6d032e
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
push eax
push 0
push 0x4a
push ebx
mov dword [esp + 0x70], eax
call fcn.006bfa20
add esp, 0x10
jmp 0x6d035b
mov eax, dword [esp + 0xc4]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
jmp 0x6d02f1
push ecx
call fcn.006b4280
mov edi, dword [ebp + 0x28]
mov esi, eax
mov dword [esp + 0x64], edi
lea ecx, [edi + 1]
mov dword [ebp + 0x28], ecx
movzx ecx, word [esi + 0x32]
push ecx
push edi
push 0x74
push ebx
call fcn.006bfa20
push esi
push ebp
call fcn.006caf40
add esp, 0x1c
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x50], eax
push dword [esp + 0x38]
push 0
push 0x47
push ebx
call fcn.006bfa20
mov dword [esp + 0x80], eax
add esp, 0x10
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xc]
cmp ecx, 1
jle 0x6d042c
xor edi, edi
test ecx, ecx
jle 0x6d042c
mov edx, dword [esp + 0x68]
xor esi, esi
xor ebx, ebx
nop
mov eax, dword [eax + 0x18]
add eax, esi
mov ecx, dword [eax]
cmp eax, edx
je 0x6d03fb
mov ebp, 0x8006
test word [eax + 0xa], bp
mov ebp, dword [esp + 0xbc]
jne 0x6d03fb
mov ebx, 0x1fff
test word [eax + 0xc], bx
mov ebx, dword [esp + 0x3c]
je 0x6d03fb
test dword [ecx + 4], 0x200000
jne 0x6d03fb
push 0
push 0
push ecx
push dword [esp + 0x58]
call fcn.0065d400
push eax
push ebx
push ebp
call fcn.00699130
mov edx, dword [esp + 0x84]
mov ebx, eax
add esp, 0x1c
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x64]
inc edi
add esi, 0x30
cmp edi, dword [eax + 0xc]
jl 0x6d03a0
test ebx, ebx
mov ebx, dword [esp + 0xc0]
je 0x6d042c
mov eax, dword [esp + 0x3c]
push eax
push 0
push 0x1002c
push ebp
call fcn.006ae3b0
add esp, 0x10
mov dword [esp + 0x3c], eax
push str.MULTI_INDEX_OR
push 1
push ebp
call fcn.006c78b0
mov eax, dword [esp + 0x60]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x10], ecx
cmp dword [eax + 0xc], ecx
jle 0x6d0828
mov esi, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x2c], edx
mov edi, 0x400
mov edi, edi
mov eax, dword [eax + 0x18]
cmp dword [eax + edx + 0x14], esi
je 0x6d0474
test word [eax + edx + 0xc], di
je 0x6d080f
mov eax, dword [eax + edx]
xor edi, edi
mov dword [esp + 0x48], edi
test eax, eax
je 0x6d049c
push edi
push edi
push eax
push dword [esp + 0x58]
call fcn.0065d400
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov edx, dword [esp + 0x2c]
mov esi, eax
jmp 0x6d049e
xor esi, esi
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], esi
cmp byte [eax + 0x57], 0
je 0x6d04bb
test esi, esi
je 0x6d0806
push esi
push eax
jmp 0x6d07f6
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x6d04c8
mov dword [eax + 0xc], esi
mov esi, eax
lea eax, [ecx + 1]
push eax
push str.INDEX__d
push 1
push ebp
call fcn.006c78b0
push dword [esp + 0x2c]
push 0x20
push 0
push 0
push 0
push esi
push dword [esp + 0x5c]
push ebp
call fcn.006ce2a0
mov esi, eax
add esp, 0x30
mov dword [esp + 0x44], esi
test esi, esi
je 0x6d07e9
push 0
lea ecx, [esi + 0x300]
push ecx
push dword [esp + 0x3c]
push ebp
call fcn.006d1b50
mov eax, dword [esp + 0xd4]
add esp, 0x10
test byte [eax + 0x2c], 0x10
jne 0x6d06ba
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
jne 0x6d0541
or ebp, 0xffffffff
mov dword [esp + 0x20], ebp
jmp 0x6d0547
mov ebp, ecx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x18]
test byte [eax + 0x1c], 0x80
jne 0x6d0587
mov edi, dword [esp + 0x50]
push edi
push 0xffffffffffffffff
push dword [esp + 0x2c]
push eax
push ebx
call fcn.00699a10
push ebp
push edi
push 0
push dword [esp + 0x80]
push 0x2e
push ebx
call fcn.006bfbb0
mov ebp, dword [esp + 0xe8]
add esp, 0x2c
mov edi, eax
jmp 0x6d06ba
push eax
call fcn.006b4280
mov dword [esp + 0x84], eax
movzx edi, word [eax + 0x32]
push edi
push dword [esp + 0xc4]
call fcn.006a8400
add esp, 0xc
xor esi, esi
mov ebp, eax
test edi, edi
jle 0x6d05d9
mov eax, dword [esp + 0x80]
lea ecx, [esi + ebp]
push ecx
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x24]
push ebx
call fcn.00699a10
inc esi
add esp, 0x14
cmp esi, edi
jl 0x6d05b0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x6d05fa
push edi
push ebp
push 0
push dword [esp + 0x6c]
push 0x1f
push ebx
call fcn.006bfbb0
add esp, 0x18
mov dword [esp + 0x48], eax
test esi, esi
js 0x6d0672
mov ecx, dword [ebx + 0x74]
mov edx, dword [esp + 0x50]
cmp dword [ebx + 0x78], ecx
jg 0x6d0618
push edx
push edi
push ebp
push 0x60
push ebx
call fcn.00674520
add esp, 0x14
jmp 0x6d063f
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push edi
push ebp
push dword [esp + 0x58]
push dword [esp + 0x6c]
push 0x89
push ebx
call fcn.006bfbb0
add esp, 0x18
test esi, esi
je 0x6d0672
mov eax, dword [ebx + 0x74]
test eax, eax
jle 0x6d0672
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [ebx + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov esi, dword [esp + 0x44]
cmp edi, 1
jne 0x6d06a2
test ebp, ebp
je 0x6d06d9
mov ecx, dword [esp + 0xbc]
mov edi, dword [esp + 0x48]
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x6d06e2
movzx eax, al
mov dword [ecx + eax*4 + 0x98], ebp
mov ebp, ecx
inc byte [ebp + 0x13]
jmp 0x6d06ba
mov eax, dword [esp + 0xbc]
cmp edi, dword [eax + 0x1c]
jle 0x6d06b4
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ebp
mov ebp, eax
mov edi, dword [esp + 0x48]
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x6d06e6
push 0
push dword [esp + 0x5c]
push dword [esp + 0x40]
push 0xc
push ebx
call fcn.00674520
add esp, 0x14
jmp 0x6d0719
mov ebp, dword [esp + 0xbc]
jmp 0x6d06b6
mov ebp, ecx
jmp 0x6d06ba
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edi, edi
je 0x6d0740
mov edx, dword [ebx + 0x74]
jns 0x6d0725
lea edi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x6d0734
mov eax, 0x7c89b4
jmp 0x6d073d
mov eax, dword [ebx + 0x70]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x34]
test dl, 2
je 0x6d0750
mov dword [esp + 0x30], 1
mov ecx, dword [esi + 0x34c]
test dword [ecx + 0x2c], 0x200
je 0x6d078e
cmp dword [esp + 0x10], 0
je 0x6d076f
mov eax, dword [esp + 0x28]
cmp dword [ecx + 0x20], eax
jne 0x6d078e
mov eax, dword [esp + 0x18]
test byte [eax + 0x1c], 0x80
je 0x6d0785
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x6d078e
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x28], eax
jmp 0x6d0796
mov dword [esp + 0x28], 0
test dl, 1
je 0x6d07a6
mov eax, dword [esp + 0xc4]
or dword [eax + 0x34], 1
push esi
call fcn.006d0e50
mov ecx, dword [ebp + 0xdc]
add esp, 4
test ecx, ecx
jne 0x6d07bd
xor eax, eax
jmp 0x6d07e3
mov edx, dword [ebp + 8]
test ecx, ecx
jns 0x6d07c8
mov ecx, dword [edx + 0x74]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x6d07d7
mov eax, 0x7c89b4
jmp 0x6d07e0
mov eax, dword [edx + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebp + 0xdc], eax
mov eax, dword [esp + 0x78]
test eax, eax
je 0x6d07fe
push eax
push dword [esp + 0x50]
call fcn.0069c2c0
add esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edi, 0x400
mov eax, dword [esp + 0x54]
inc ecx
add edx, 0x30
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], edx
cmp ecx, dword [eax + 0xc]
jl 0x6d0460
mov ecx, dword [ebp + 0xdc]
test ecx, ecx
jne 0x6d0836
xor eax, eax
jmp 0x6d085c
mov edx, dword [ebp + 8]
test ecx, ecx
jns 0x6d0841
mov ecx, dword [edx + 0x74]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x6d0850
mov eax, 0x7c89b4
jmp 0x6d0859
mov eax, dword [edx + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebp + 0xdc], eax
mov ebp, dword [esp + 0xcc]
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x44], eax
test eax, eax
je 0x6d087b
mov eax, dword [esp + 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x4c]
test eax, eax
je 0x6d0898
push eax
push esi
mov dword [eax + 0xc], 0
call fcn.0069c2c0
add esp, 8
mov ecx, dword [esp + 0x70]
mov edx, dword [ebx + 0x74]
test ecx, ecx
jns 0x6d08a6
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x6d08b5
mov eax, 0x7c89b4
jmp 0x6d08be
mov eax, dword [ebx + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 0x74]
mov edx, dword [ebp + 0xc]
cmp dword [ebx + 0x78], ecx
jg 0x6d08de
push 0
push edx
push 0
push 0xb
push ebx
call fcn.00674520
add esp, 0x14
jmp 0x6d090d
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x58]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x6d092b
push edx
push ebx
push ecx
call fcn.006865c0
add esp, 0xc
jmp 0x6d0934
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x74]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0xc4]
cmp byte [eax + 0x30], 1
jbe 0x6d09a3
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x6d09a3
test esi, esi
je 0x6d099a
cmp dword [esi + 0x210], 0
je 0x6d0962
push ecx
push esi
call fcn.0067a660
add esp, 8
jmp 0x6d09a3
cmp ecx, dword [esi + 0x164]
jae 0x6d099a
cmp ecx, dword [esi + 0x15c]
jb 0x6d0982
mov eax, dword [esi + 0x158]
mov dword [ecx], eax
mov dword [esi + 0x158], ecx
jmp 0x6d09a3
cmp ecx, dword [esi + 0x160]
jb 0x6d099a
mov eax, dword [esi + 0x150]
mov dword [ecx], eax
mov dword [esi + 0x150], ecx
jmp 0x6d09a3
push ecx
call fcn.0063e7a0
add esp, 4
cmp dword [esp + 0x30], 0
jne 0x6cf5ad
push dword [esp + 0x68]
push ebp
call fcn.0065a820
mov edx, dword [esp + 0x6c]
xor ecx, ecx
add esp, 8
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x20], ecx
jmp 0x6d0a5b
test dl, 0x20
jne 0x6cf5a2
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xcc]
push ebp
mov al, byte [ecx + 0x71dd3c]
mov byte [edx + 0x39], al
mov eax, dword [esp + 0x28]
push eax
mov dword [edx + 0x3c], eax
movzx eax, byte [ecx + 0x71ddb4]
push eax
push ebx
call fcn.006bfa20
mov ebp, dword [esp + 0xdc]
xor ecx, ecx
mov edx, dword [esp + 0x74]
inc eax
add esp, 0x10
neg ecx
sbb ecx, ecx
mov dword [ebp + 0x40], eax
add ecx, 2
mov byte [ebp + 0x3b], 1
mov dword [esp + 0x20], ecx
jmp 0x6d0a5b
mov edx, dword [esp + 0x64]
xor ecx, ecx
neg ecx
mov ebp, esi
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x20], ecx
jmp 0x6d0a5b
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x20], ecx
jmp 0x6d0a5b
mov ebp, dword [esp + 0xcc]
mov ecx, dword [edx + 0xc]
xor eax, eax
mov edi, dword [edx + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ecx
test ecx, ecx
jle 0x6d0c65
jmp 0x6d0a87
mov ebp, dword [esp + 0xcc]
movzx edx, word [edi + 0xa]
xor esi, esi
test dl, 6
jne 0x6d0c4d
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x2c]
and ecx, dword [ebp + 0x50]
and eax, dword [ebp + 0x54]
or ecx, eax
je 0x6d0ab6
mov eax, dword [esp + 0xc4]
or dword [eax + 0x34], 2
jmp 0x6d0c49
mov eax, dword [esp + 0x6c]
mov ebp, dword [edi]
mov dword [esp + 0x70], ebp
test byte [eax + 0x24], 8
je 0x6d0ad0
test byte [ebp + 4], 1
je 0x6d0c49
mov eax, dword [esp + 0x20]
cmp eax, 1
jne 0x6d0b6b
mov eax, dword [esp + 0xcc]
xor ecx, ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x84], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x88], 0x65d810
mov dword [esp + 0x9c], eax
test ebp, ebp
je 0x6d0b58
lea eax, [esp + 0x84]
push ebp
push eax
call fcn.006df920
mov ecx, dword [esp + 0xa0]
add esp, 8
test cx, cx
je 0x6d0b70
mov eax, 2
mov dword [esp + 0x10], eax
jmp 0x6d0c4d
cmp eax, 3
jge 0x6d0b96
movzx edx, word [edi + 0xa]
test edx, 0x1000
je 0x6d0b96
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x6d0c4d
mov eax, 3
mov dword [esp + 0x10], eax
jmp 0x6d0c4d
test edx, 0x200
je 0x6d0c07
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x6d0c07
mov ebp, eax
mov edx, esi
mov esi, dword [ebx + 0x74]
shr ebp, 1
test al, 1
setne dl
lea edx, [edx*2 + 0x12]
cmp dword [ebx + 0x78], esi
jg 0x6d0bd9
push 0
push 0
push ebp
push edx
push ebx
call fcn.00674520
add esp, 0x14
mov esi, eax
jmp 0x6d0c03
lea eax, [esi + 1]
mov dword [ebx + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
mov ebp, dword [esp + 0x70]
push 0x10
push dword [esp + 0x78]
push ebp
push dword [esp + 0xc8]
call fcn.0069c5e0
add esp, 0x10
test esi, esi
je 0x6d0c44
mov edx, dword [ebx + 0x74]
jns 0x6d0c29
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x6d0c38
mov eax, 0x7c89b4
jmp 0x6d0c41
mov eax, dword [ebx + 0x70]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
or word [edi + 0xa], 4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
add edi, 0x30
dec edx
mov dword [esp + 0x30], edx
test edx, edx
jg 0x6d0a80
mov edx, dword [esp + 0x64]
mov dword [esp + 0x20], eax
test eax, eax
jg 0x6d0a54
mov edi, dword [edx + 0x14]
mov esi, dword [edx + 0x18]
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], edi
test edi, edi
jle 0x6d0d7f
mov ebx, dword [esp + 0xbc]
mov edi, edi
test byte [esi + 0xa], 6
jne 0x6d0d64
movzx eax, word [esi + 0xc]
test al, 0x82
je 0x6d0d64
test eax, 0x800
je 0x6d0d64
mov ecx, dword [esp + 0x24]
cmp dword [esi + 0x14], ecx
jne 0x6d0d64
mov eax, dword [esp + 0x6c]
test byte [eax + 0x24], 8
jne 0x6d0d64
mov eax, dword [esi]
push 0
push 0x83
push dword [esp + 0xdc]
mov dword [esp + 0x7c], eax
push dword [esp + 0xdc]
push dword [esi + 0x18]
push ecx
push edx
call fcn.006d2020
mov ebp, eax
add esp, 0x1c
test ebp, ebp
je 0x6d0d60
test byte [ebp + 0xa], 4
jne 0x6d0d60
test byte [ebp + 0xc], 1
je 0x6d0d1d
mov eax, dword [ebp]
test dword [eax + 4], 0x800
je 0x6d0d1d
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jg 0x6d0d60
mov esi, dword [ebp]
lea edi, [esp + 0x84]
mov eax, dword [esp + 0x70]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
push 0x10
push dword [esp + 0x78]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x8c]
push eax
push ebx
call fcn.0069c5e0
mov esi, dword [esp + 0x30]
add esp, 0x10
or word [ebp + 0xa], 4
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
dec edi
add esi, 0x30
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], esi
test edi, edi
jg 0x6d0c90
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xcc]
mov edx, dword [ebp]
test edx, edx
je 0x6d0e2b
mov eax, dword [ebx + 0x74]
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x6d0db1
push 0
push edx
push 1
push 0x47
push ebx
call fcn.00674520
add esp, 0x14
jmp 0x6d0de0
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x64]
xor edi, edi
mov esi, dword [ebx + 0x18]
cmp dword [ebx + 0x14], edi
jle 0x6d0e2b
mov edi, edi
test byte [esi + 0xa], 6
jne 0x6d0e22
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebp + 0x50]
and eax, dword [ebp + 0x54]
or ecx, eax
jne 0x6d0e22
push 0x10
push dword [esp + 0x78]
push dword [esi]
push dword [esp + 0xc8]
call fcn.0069c5e0
add esp, 0x10
or word [esi + 0xa], 4
inc edi
add esi, 0x30
cmp edi, dword [ebx + 0x14]
jl 0x6d0df0
mov eax, dword [ebp + 0x50]
mov edx, dword [ebp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret