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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xffffffe0
sub esp, 0xa0
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0xc]
mov eax, dword [edi + 0x4894]
mov dword [edi + 0x48b0], esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x74], eax
mov ebx, eax
mov eax, dword [edi + 0x4898]
imul ebx, esi
imul edx, eax
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x489c]
mov dword [edi + 0x48b4], esi
mov esi, dword [ebp + 0xc]
add edx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x58], eax
add edx, edx
add esi, ebx
mov dword [edi + 0x48bc], edx
sub edx, 2
imul eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x48b8], esi
add eax, ecx
xor ecx, ecx
mov dword [edi + 0x4960], ecx
xor ecx, ecx
mov dword [edi + 0x49b4], ecx
xor ecx, ecx
mov dword [edi + 0x49b8], ecx
mov ecx, 0xffffffff
mov dword [edi + 0x49dc], ecx
mov ecx, 0xffffffff
mov dword [edi + 0x49e8], ecx
mov ecx, 0xffffffff
mov dword [edi + 0x49d8], ecx
mov ecx, 0xffffffff
mov dword [edi + 0x49d4], ecx
mov ecx, 0xffffffff
shl eax, 2
mov dword [edi + 0x49e0], ecx
mov ecx, 0xffffffff
mov dword [edi + 0x48c0], eax
sub eax, 4
mov dword [edi + 0x49e4], ecx
mov ecx, 0xffffffff
mov dword [edi + 0x49bc], ecx
mov ecx, 0xffffffff
mov dword [edi + 0x49c4], ecx
mov ecx, 0xffffffff
mov dword [edi + 0x48ac], eax
mov dword [edi + 0x48a8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x49c0], ecx
mov ecx, 0xffffffff
mov dword [edi + 0x49c8], ecx
mov ecx, 0xffffffff
mov dword [edi + 0x49cc], ecx
mov ecx, 0xdf841c
mov dword [edi + 0x49f4], ecx
xor ecx, ecx
test eax, eax
mov dword [edi + 0x49fc], ecx
mov dword [edi + 0x48a4], edx
mov dword [edi + 0x48a0], edx
jle 0xa6ee90
mov edx, 1
mov dword [edi + 0x49b8], edx
mov edx, dword [edi + 0x4a0c]
lea eax, [esi - 1]
mov dword [edi + 0x49d4], eax
mov dword [edi + 0x49d8], eax
add edx, eax
movsx ecx, byte [edx]
mov dword [edi + 0x49c0], ecx
movsx edx, byte [edx]
mov dword [edi + 0x49c4], edx
mov edx, dword [edi + 0x4b48]
movzx eax, word [edx + eax*2]
cmp eax, dword [edi + 0xcbc]
je 0xa6eec0
mov eax, 2
mov ecx, 2
mov dword [esp + 0x70], eax
xor edx, edx
mov eax, 3
mov dword [esp + 0x7c], eax
mov eax, 1
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x78], edx
mov ecx, dword [edi + 0x5ac]
cmp dword [ebp + 0x10], ecx
je 0xa6ee50
mov edx, dword [esp + 0x74]
mov ecx, dword [ebp + 0x10]
sub ebx, edx
dec ecx
add ebx, dword [ebp + 0xc]
mov dword [esp + 0x60], ecx
js 0xa6ef10
mov eax, dword [esp + 0x7c]
mov ecx, dword [edi + 0x4b48]
mov dword [edi + 0x49dc], ebx
mov dword [edi + 0x49b8], eax
mov eax, dword [esp + 0x60]
mov dword [edi + 0x49e8], eax
mov eax, dword [edi + 0x4a0c]
movsx edx, byte [eax + ebx]
lea eax, [ebx + ebx]
movzx ecx, word [ecx + eax]
cmp ecx, dword [edi + 0xcbc]
mov dword [edi + 0x49bc], edx
je 0xa6ef37
mov eax, dword [edi + 0x4a18]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x4a1c]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x4a20]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ebp + 0xc]
mov eax, ecx
not eax
shr eax, 0x1f
test edx, edx
jle 0xa6de0c
test al, al
je 0xa6de0c
or dword [esp + 0x7c], 8
mov dword [edi + 0x49ec], ecx
mov ecx, dword [edi + 0x4a0c]
mov edx, dword [esp + 0x7c]
mov dword [edi + 0x49b8], edx
lea edx, [ebx - 1]
mov dword [edi + 0x49e0], edx
movsx ecx, byte [ecx + ebx - 1]
mov dword [esp + 0x74], ecx
mov dword [edi + 0x49c8], ecx
mov ecx, dword [edi + 0x4b48]
movzx edx, word [ecx + edx*2]
cmp edx, dword [edi + 0xcbc]
je 0xa6facd
mov edx, dword [edi + 0x4880]
dec edx
cmp dword [ebp + 0xc], edx
jge 0xa6de62
test al, al
je 0xa6de62
mov eax, dword [esp + 0x7c]
mov edx, dword [edi + 0x4a0c]
or eax, 4
mov dword [edi + 0x49b8], eax
lea eax, [ebx + 1]
mov ebx, dword [esp + 0x60]
mov dword [edi + 0x49e4], eax
mov dword [edi + 0x49f0], ebx
movsx ecx, byte [edx + eax]
mov edx, dword [edi + 0x4b48]
mov dword [edi + 0x49cc], ecx
movzx eax, word [edx + eax*2]
cmp eax, dword [edi + 0xcbc]
je 0xa6efe7
mov eax, dword [edi + 0x49dc]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x49e8]
mov ebx, ecx
and ecx, 1
and ebx, 2
mov dword [esp + 0x7c], ecx
lea edx, [eax + eax + 1]
lea eax, [eax*4 + 3]
mov ecx, dword [esp + 0x50]
imul edx, ecx
mov ecx, dword [ebp + 0xc]
lea ecx, [edx + ecx*2]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x70], ecx
mov ecx, dword [edi + 0xcb8]
imul eax, edx
mov edx, dword [ebp + 0xc]
lea eax, [eax + edx*4]
mov edx, esi
mov esi, dword [edi + 0xc]
mov dword [esp + 0x40], eax
mov eax, 1
shl eax, cl
and eax, 3
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x10]
shl edx, 6
and eax, 1
lea ecx, [eax + 0x23a8]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
shl eax, 6
test esi, esi
cmovne eax, edx
mov edx, dword [edi + ecx*4 + 0xc]
add eax, edx
test ebx, ebx
mov dword [edi + 0x7088], eax
je 0xa6ee10
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
mov ecx, dword [edi + 0x4890]
movsx eax, word [edx + esi*2]
mov edx, dword [esp + 0x54]
mov dword [edi + 0x7060], eax
mov eax, dword [edx + esi*8]
mov edx, dword [esp + 0x4c]
mov dword [edi + 0x6d24], eax
lea eax, [esi + esi*2]
shl eax, 4
add eax, edx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x6d54], edx
mov edx, 0x10
sar edx, cl
mov ecx, dword [eax + edx + 0xc]
mov dword [edi + 0x6d7c], ecx
mov ecx, dword [esp + 0x74]
mov eax, dword [eax + edx + 0x1c]
test ecx, ecx
mov dword [edi + 0x6da4], eax
je 0xa6dfba
mov ebx, dword [esp + 0x40]
mov edx, esi
mov ecx, dword [esp + 0x70]
shl edx, 4
mov esi, dword [edi + 0x4a28]
lea eax, [ebx*4 - 4]
lea ebx, [eax + 0x14]
dec ecx
prefetcht0 byte [esi + eax]
prefetcht0 byte [esi + ebx]
mov esi, dword [edi + 0x4a38]
prefetcht0 byte [esi + ecx]
mov esi, dword [edi + 0x4a30]
prefetcht0 byte [esi + edx]
cmp dword [esp + 0x74], 1
je 0xa6dfba
mov esi, dword [edi + 0x4a2c]
prefetcht0 byte [esi + eax]
prefetcht0 byte [esi + ebx]
mov eax, dword [edi + 0x4a3c]
prefetcht0 byte [eax + ecx]
mov eax, dword [edi + 0x4a34]
prefetcht0 byte [eax + edx]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0xa6ed70
mov ebx, dword [edi + 0x49d4]
mov eax, dword [esp + 0x5c]
movsx eax, word [eax + ebx*2]
mov dword [edi + 0x7064], eax
mov eax, dword [esp + 0x54]
lea eax, [eax + ebx*8]
movzx edx, byte [eax + 4]
mov byte [edi + 0x6d2b], dl
movzx edx, byte [eax + 5]
mov byte [edi + 0x6d33], dl
movzx edx, byte [eax + 6]
mov byte [edi + 0x6d3b], dl
mov edx, dword [esp + 0x4c]
movzx eax, byte [eax + 3]
mov byte [edi + 0x6d43], al
lea eax, [ebx + ebx*2]
shl eax, 4
add eax, edx
movzx edx, byte [eax + 3]
cmp dword [edi + 0x21c8], 1
mov byte [edi + 0x6d5b], dl
movzx edx, byte [eax + 7]
mov byte [edi + 0x6d63], dl
movzx edx, byte [eax + 0xb]
mov byte [edi + 0x6d6b], dl
movzx edx, byte [eax + 0xf]
mov byte [edi + 0x6d73], dl
jle 0xa6faa0
mov ecx, dword [edi + 0x488c]
mov edx, 4
sar edx, cl
movzx ecx, byte [eax + edx + 0xf]
mov byte [edi + 0x6d83], cl
movzx ecx, byte [eax + edx + 0x13]
mov byte [edi + 0x6d8b], cl
movzx ecx, byte [eax + edx + 0x17]
mov byte [edi + 0x6d93], cl
movzx ecx, byte [eax + edx + 0x1b]
mov byte [edi + 0x6d9b], cl
movzx ecx, byte [eax + edx + 0x1f]
mov byte [edi + 0x6dab], cl
movzx ecx, byte [eax + edx + 0x23]
mov byte [edi + 0x6db3], cl
movzx ecx, byte [eax + edx + 0x27]
mov byte [edi + 0x6dbb], cl
movzx eax, byte [eax + edx + 0x2b]
mov byte [edi + 0x6dc3], al
mov eax, dword [edi + 0x2208]
test eax, eax
je 0xa6e0ed
mov eax, dword [edi + 0x4b44]
xor edx, edx
cmp byte [eax + ebx], 0
setne dl
xor eax, eax
test byte [esp + 0x78], 2
je 0xa6e0e2
mov eax, dword [edi + 0x4b44]
mov esi, dword [esp + 0x44]
cmp byte [eax + esi], 0
setne al
movzx eax, al
add eax, edx
mov dword [edi + 0x7058], eax
mov eax, dword [edi + 0x5ff8]
lea edx, [eax + 0x8f]
add eax, 0x7f
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00a6db30
mov eax, dword [edi + 0x5ff8]
lea edx, [eax + 0x18f]
add eax, 0x17f
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00a6db30
mov eax, dword [edi + 0x3b3c]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov esi, dword [eax + 0xa4]
shl ecx, 4
mov edx, ecx
shl ebx, 4
imul edx, esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x48], ecx
mov ecx, ebx
add edx, ebx
mov ebx, dword [eax + 0xd4]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], edx
not eax
and eax, 1
mov dword [esp + 0x54], eax
add eax, eax
add eax, dword [esp + 0x54]
add ecx, dword [edi + eax*4 + 0x8e70]
mov eax, dword [edi + 0x3b38]
mov dword [edi + 0x6d0c], esi
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 0xd4]
add edx, ecx
mov ecx, 0x10
mov dword [edi + 0x5fec], edx
mov eax, edx
mov edx, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov eax, dword [edi + 0x5fe0]
mov dword [esp], eax
call dword [edi + 0x923c]
mov eax, dword [edi + 0x5ff8]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x7c], 0x18
lea edx, [eax - 0x20]
test dl, 1
jne 0xa6fb55
test dl, 2
jne 0xa6fb3e
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x38], ebx
and eax, 0xfffffffc
mov dword [esp + 0x60], eax
xor eax, eax
mov ebx, dword [ecx + eax]
mov dword [edx + eax], ebx
add eax, 4
cmp eax, dword [esp + 0x60]
jb 0xa6e200
add edx, eax
add ecx, eax
mov ebx, dword [esp + 0x38]
xor eax, eax
test byte [esp + 0x7c], 2
je 0xa6e22b
movzx eax, word [ecx]
mov word [edx], ax
mov eax, 2
test byte [esp + 0x7c], 1
je 0xa6e239
movzx ecx, byte [ecx + eax]
mov byte [edx + eax], cl
mov eax, dword [esp + 0x78]
mov edx, dword [edi + 0x5ff8]
movzx eax, byte [eax - 1]
mov byte [edx - 0x21], al
mov eax, dword [edi + 0x4bb8]
test eax, eax
je 0xa6e388
mov ecx, dword [esp + 0x4c]
mov eax, dword [edi + 0x5ff8]
movzx edx, byte [ebx + ecx - 1]
mov byte [eax - 1], dl
lea eax, [ebx + esi]
add eax, ecx
mov edx, dword [edi + 0x5ff8]
mov dword [esp + 0x7c], eax
movzx eax, byte [eax - 1]
mov byte [edx + 0x1f], al
mov eax, ecx
add eax, ebx
mov ecx, dword [edi + 0x5ff8]
lea edx, [esi + esi]
movzx ebx, byte [edx + eax - 1]
add edx, esi
mov byte [ecx + 0x3f], bl
movzx ebx, byte [edx + eax - 1]
add edx, esi
mov ecx, dword [edi + 0x5ff8]
mov byte [ecx + 0x5f], bl
movzx ebx, byte [edx + eax - 1]
add edx, esi
mov ecx, dword [edi + 0x5ff8]
mov byte [ecx + 0x7f], bl
movzx ebx, byte [edx + eax - 1]
add edx, esi
mov ecx, dword [edi + 0x5ff8]
mov byte [ecx + 0x9f], bl
movzx ebx, byte [edx + eax - 1]
add edx, esi
mov ecx, dword [edi + 0x5ff8]
mov byte [ecx + 0xbf], bl
movzx ebx, byte [edx + eax - 1]
add edx, esi
mov ecx, dword [edi + 0x5ff8]
mov byte [ecx + 0xdf], bl
movzx ebx, byte [edx + eax - 1]
add edx, esi
mov ecx, dword [edi + 0x5ff8]
mov byte [ecx + 0xff], bl
movzx ebx, byte [edx + eax - 1]
add edx, esi
mov ecx, dword [edi + 0x5ff8]
mov byte [ecx + 0x11f], bl
movzx ebx, byte [edx + eax - 1]
add edx, esi
mov ecx, dword [edi + 0x5ff8]
mov byte [ecx + 0x13f], bl
movzx ebx, byte [edx + eax - 1]
add edx, esi
mov ecx, dword [edi + 0x5ff8]
mov byte [ecx + 0x15f], bl
movzx ebx, byte [edx + eax - 1]
add edx, esi
mov ecx, dword [edi + 0x5ff8]
add esi, edx
mov byte [ecx + 0x17f], bl
movzx ebx, byte [edx + eax - 1]
mov ecx, dword [edi + 0x5ff8]
mov byte [ecx + 0x19f], bl
movzx eax, byte [esi + eax - 1]
mov ebx, dword [edi + 0x5ff8]
mov byte [ebx + 0x1bf], al
mov eax, dword [esp + 0x7c]
mov edx, dword [edi + 0x5ff8]
movzx eax, byte [esi + eax - 1]
mov byte [edx + 0x1df], al
mov eax, dword [edi + 0x6004]
test eax, eax
mov dword [esp + 0x60], eax
jle 0xa6e452
lea esi, [edi + 0xe3c]
mov eax, dword [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x7c], esi
lea ecx, [edi + 0x600c]
mov esi, edi
jmp 0xa6e3ea
mov ebx, dword [esi + 0x3b38]
add ecx, 0x30
add eax, dword [ebx + edx*4 + 0xa90]
mov ebx, edi
add ebx, 0x90
mov dword [esp + 0x7c], ebx
mov dword [esi + edx*4 + 0x6c0c], eax
inc edx
cmp dword [esp + 0x60], edx
je 0xa6e450
mov eax, edx
and eax, 1
mov eax, dword [esp + eax*4 + 0x98]
mov ebx, dword [esi + edx*4 + 0x3b48]
mov edi, dword [ebx + 0xd4]
add edi, eax
mov dword [ecx], edi
mov dword [esp + 0x78], edi
mov edi, dword [ebx + 0xf0]
add edi, eax
mov dword [ecx + 4], edi
mov edi, dword [ebx + 0xf4]
add edi, eax
mov dword [ecx + 8], edi
mov edi, dword [ebx + 0xf8]
add edi, eax
mov dword [ecx + 0xc], edi
mov edi, dword [esp + 0x7c]
mov ebx, dword [edi]
test ebx, ebx
jne 0xa6e3b4
mov eax, dword [esp + 0x78]
add ecx, 0x30
add dword [esp + 0x7c], 0x90
mov dword [esi + edx*4 + 0x6c0c], eax
inc edx
cmp edx, dword [esp + 0x60]
jne 0xa6e3de
mov esi, esi
lea edi, [edi]
mov edi, esi
cmp dword [edi + 0xcb8], 1
je 0xa6f8e0
cmp dword [edi + 0x21c8], 3
je 0xa6f210
mov eax, dword [edi + 0x5ffc]
lea edx, [eax + 0x87]
add eax, 0x7f
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00a6db30
mov eax, dword [edi + 0x6000]
lea edx, [eax + 0x87]
add eax, 0x7f
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00a6db30
cmp dword [edi + 0x21c8], 2
je 0xa6fafd
mov ecx, dword [edi + 0x4890]
mov ebx, 0x10
mov eax, dword [edi + 0x3b3c]
mov esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x54]
sar ebx, cl
mov ecx, dword [eax + 0xa8]
mov eax, dword [eax + 0xd8]
imul esi, ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x4c], eax
mov eax, edx
add eax, eax
add eax, edx
mov edx, dword [edi + eax*4 + 0x8e74]
imul esi, ecx
mov ecx, dword [esp + 0x5c]
add esi, ecx
add ecx, edx
mov edx, dword [edi + 0x3b38]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov eax, dword [edx + 0xd8]
mov dword [edi + 0x6d10], ecx
add eax, esi
mov edx, eax
mov dword [edi + 0x5ff0], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov edx, dword [edi + 0x5fe4]
mov dword [esp], edx
call dword [edi + 0x9260]
mov eax, dword [esp + 0x78]
mov edx, dword [edi + 0x5ffc]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [edx - 0x20], ecx
mov dword [edx - 0x1c], ebx
mov ecx, dword [eax + 8]
mov edx, dword [edi + 0x6000]
mov ebx, dword [eax + 0xc]
mov dword [edx - 0x20], ecx
mov dword [edx - 0x1c], ebx
movzx ecx, byte [eax - 9]
mov edx, dword [edi + 0x5ffc]
mov byte [edx - 0x21], cl
mov edx, dword [edi + 0x6000]
movzx eax, byte [eax - 1]
mov byte [edx - 0x21], al
mov ecx, dword [edi + 0x4bb8]
test ecx, ecx
je 0xa6e5e8
mov eax, dword [esp + 0x60]
test eax, eax
jle 0xa6e5e8
mov ebx, dword [esp + 0x4c]
shl eax, 5
lea ecx, [eax - 1]
mov eax, 0xffffffff
mov dword [esp + 0x78], esi
lea edx, [ebx + esi - 2]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x7c], ecx
nop
lea esi, [esi]
movzx ecx, byte [edx]
mov esi, dword [edi + 0x5ffc]
mov byte [esi + eax], cl
movzx ecx, byte [edx + 1]
add edx, ebx
mov esi, dword [edi + 0x6000]
mov byte [esi + eax], cl
add eax, 0x20
cmp eax, dword [esp + 0x7c]
jne 0xa6e5c0
mov esi, dword [esp + 0x78]
mov eax, dword [edi + 0x6004]
test eax, eax
mov ebx, eax
mov dword [esp + 0x7c], eax
jle 0xa6e638
mov edx, esi
xor eax, eax
mov dword [esp + 0x78], esi
lea ecx, [edi + 0x601c]
mov esi, ebx
jmp 0xa6e61c
mov edx, eax
and edx, 1
mov edx, dword [esp + edx*4 + 0x98]
mov ebx, dword [edi + eax*4 + 0x3b48]
inc eax
add ecx, 0x30
add edx, dword [ebx + 0xd8]
mov dword [ecx - 0x30], edx
cmp eax, esi
jne 0xa6e610
mov esi, dword [esp + 0x78]
cmp dword [edi + 0xcb8], 1
je 0xa6f9c4
mov eax, dword [edi + 0x3b3c]
mov ecx, dword [eax + 0x15c]
test ecx, ecx
je 0xa6e9ed
mov edx, dword [eax + 0xa4]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x7c]
imul ebx, edx
add eax, ebx
shl eax, 5
test ecx, ecx
jle 0xa6e82c
mov edx, dword [edi + 0x3b48]
mov esi, dword [edx + 0x15c]
add esi, eax
cmp ecx, 1
mov dword [edi + 0x6c8c], esi
je 0xa6e82c
mov edx, dword [edi + 0x3b4c]
mov ebx, dword [edx + 0x15c]
add ebx, eax
cmp ecx, 2
mov dword [edi + 0x6c90], ebx
je 0xa6e82c
mov edx, dword [edi + 0x3b50]
mov esi, dword [edx + 0x15c]
add esi, eax
cmp ecx, 3
mov dword [edi + 0x6c94], esi
je 0xa6e82c
mov edx, dword [edi + 0x3b54]
mov ebx, dword [edx + 0x15c]
add ebx, eax
cmp ecx, 4
mov dword [edi + 0x6c98], ebx
je 0xa6e82c
mov edx, dword [edi + 0x3b58]
mov esi, dword [edx + 0x15c]
add esi, eax
cmp ecx, 5
mov dword [edi + 0x6c9c], esi
je 0xa6e82c
mov edx, dword [edi + 0x3b5c]
mov ebx, dword [edx + 0x15c]
add ebx, eax
cmp ecx, 6
mov dword [edi + 0x6ca0], ebx
je 0xa6e82c
mov edx, dword [edi + 0x3b60]
mov esi, dword [edx + 0x15c]
add esi, eax
cmp ecx, 7
mov dword [edi + 0x6ca4], esi
je 0xa6e82c
mov edx, dword [edi + 0x3b64]
mov ebx, dword [edx + 0x15c]
add ebx, eax
cmp ecx, 8
mov dword [edi + 0x6ca8], ebx
je 0xa6e82c
mov edx, dword [edi + 0x3b68]
mov esi, dword [edx + 0x15c]
add esi, eax
cmp ecx, 9
mov dword [edi + 0x6cac], esi
je 0xa6e82c
mov edx, dword [edi + 0x3b6c]
mov ebx, dword [edx + 0x15c]
add ebx, eax
cmp ecx, 0xa
mov dword [edi + 0x6cb0], ebx
je 0xa6e82c
mov edx, dword [edi + 0x3b70]
mov esi, dword [edx + 0x15c]
add esi, eax
cmp ecx, 0xb
mov dword [edi + 0x6cb4], esi
je 0xa6e82c
mov edx, dword [edi + 0x3b74]
mov ebx, dword [edx + 0x15c]
add ebx, eax
cmp ecx, 0xc
mov dword [edi + 0x6cb8], ebx
je 0xa6e82c
mov edx, dword [edi + 0x3b78]
mov esi, dword [edx + 0x15c]
add esi, eax
cmp ecx, 0xd
mov dword [edi + 0x6cbc], esi
je 0xa6e82c
mov edx, dword [edi + 0x3b7c]
mov ebx, dword [edx + 0x15c]
add ebx, eax
cmp ecx, 0xe
mov dword [edi + 0x6cc0], ebx
je 0xa6e82c
mov edx, dword [edi + 0x3b80]
mov esi, dword [edx + 0x15c]
add esi, eax
cmp ecx, 0xf
mov dword [edi + 0x6cc4], esi
je 0xa6e82c
mov edx, dword [edi + 0x3b84]
mov ebx, dword [edx + 0x15c]
add ebx, eax
mov dword [edi + 0x6cc8], ebx
mov edx, dword [edi + 0x6008]
test edx, edx
jle 0xa6e9ed
mov ecx, dword [edi + 0x3b94]
mov esi, dword [ecx + 0x15c]
add esi, eax
cmp edx, 1
mov dword [edi + 0x6ccc], esi
je 0xa6e9ed
mov ecx, dword [edi + 0x3b98]
mov ebx, dword [ecx + 0x15c]
add ebx, eax
cmp edx, 2
mov dword [edi + 0x6cd0], ebx
je 0xa6e9ed
mov ecx, dword [edi + 0x3b9c]
mov esi, dword [ecx + 0x15c]
add esi, eax
cmp edx, 3
mov dword [edi + 0x6cd4], esi
je 0xa6e9ed
mov ecx, dword [edi + 0x3ba0]
mov ebx, dword [ecx + 0x15c]
add ebx, eax
cmp edx, 4
mov dword [edi + 0x6cd8], ebx
je 0xa6e9ed
mov ecx, dword [edi + 0x3ba4]
mov esi, dword [ecx + 0x15c]
add esi, eax
cmp edx, 5
mov dword [edi + 0x6cdc], esi
je 0xa6e9ed
mov ecx, dword [edi + 0x3ba8]
mov ebx, dword [ecx + 0x15c]
add ebx, eax
cmp edx, 6
mov dword [edi + 0x6ce0], ebx
je 0xa6e9ed
mov ecx, dword [edi + 0x3bac]
mov esi, dword [ecx + 0x15c]
add esi, eax
cmp edx, 7
mov dword [edi + 0x6ce4], esi
je 0xa6e9ed
mov ecx, dword [edi + 0x3bb0]
mov ebx, dword [ecx + 0x15c]
add ebx, eax
cmp edx, 8
mov dword [edi + 0x6ce8], ebx
je 0xa6e9ed
mov ecx, dword [edi + 0x3bb4]
mov esi, dword [ecx + 0x15c]
add esi, eax
cmp edx, 9
mov dword [edi + 0x6cec], esi
je 0xa6e9ed
mov ecx, dword [edi + 0x3bb8]
mov ebx, dword [ecx + 0x15c]
add ebx, eax
cmp edx, 0xa
mov dword [edi + 0x6cf0], ebx
je 0xa6e9ed
mov ecx, dword [edi + 0x3bbc]
mov esi, dword [ecx + 0x15c]
add esi, eax
cmp edx, 0xb
mov dword [edi + 0x6cf4], esi
je 0xa6e9ed
mov ecx, dword [edi + 0x3bc0]
mov ebx, dword [ecx + 0x15c]
add ebx, eax
cmp edx, 0xc
mov dword [edi + 0x6cf8], ebx
je 0xa6e9ed
mov ecx, dword [edi + 0x3bc4]
mov esi, dword [ecx + 0x15c]
add esi, eax
cmp edx, 0xd
mov dword [edi + 0x6cfc], esi
je 0xa6e9ed
mov ecx, dword [edi + 0x3bc8]
mov ebx, dword [ecx + 0x15c]
add ebx, eax
cmp edx, 0xe
mov dword [edi + 0x6d00], ebx
je 0xa6e9ed
mov ecx, dword [edi + 0x3bcc]
mov esi, dword [ecx + 0x15c]
add esi, eax
cmp edx, 0xf
mov dword [edi + 0x6d04], esi
je 0xa6e9ed
mov edx, dword [edi + 0x3bd0]
mov esi, dword [edx + 0x15c]
add eax, esi
mov dword [edi + 0x6d08], eax
mov eax, dword [edi + 0x3b38]
mov esi, dword [ebp + 0xc]
mov ebx, dword [eax + 0xa8]
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0xc], ebx
mov ecx, dword [edi + 0x4890]
imul ebx, esi
sar ebx, cl
mov ecx, dword [esp + 0x5c]
add ecx, ebx
mov ebx, dword [eax + 0xd8]
mov dword [esp + 4], edx
imul edx, esi
mov esi, dword [esp + 0x5c]
add ecx, ebx
mov dword [esp + 8], ecx
add edx, esi
mov ecx, dword [eax + 0xd4]
add edx, ecx
mov dword [esp], edx
call dword [edi + 0x9284]
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0xa6ec4c
mov eax, dword [esp + 0x40]
lea ecx, [edi + 0x6dcb]
pxor xmm0, xmm0
mov ebx, ecx
lea esi, [eax*4 - 4]
mov dword [esp + 0x5c], esi
lea esi, [eax*4]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x58]
lea eax, [eax*4 + 0x10]
mov dword [esp + 0x4c], eax
mov eax, esi
add eax, eax
mov dword [esp + 0x48], eax
add eax, esi
xor esi, esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], esi
shl eax, 4
mov dword [esp + 0x38], eax
mov eax, esi
mov edx, dword [edi + eax*4 + 0x4a28]
test byte [edi + 0x4960], 8
mov eax, dword [edi + eax*4 + 0x4a38]
mov dword [esp + 0x78], edx
je 0xa6f0e4
mov ecx, dword [esp + 0x70]
movzx ecx, byte [eax + ecx - 1]
mov byte [ebx], cl
mov ecx, dword [esp + 0x5c]
mov ecx, dword [edx + ecx]
mov dword [edi + esi*2 + 0x6e2c], ecx
test byte [edi + 0x4960], 2
je 0xa6f0d0
mov edx, dword [esp + 0x70]
movzx ecx, byte [eax + edx]
mov byte [ebx + 2], cl
mov byte [ebx + 1], cl
movzx ecx, byte [eax + edx + 1]
mov edx, dword [esp + 0x78]
mov byte [ebx + 4], cl
mov byte [ebx + 3], cl
mov ecx, dword [esp + 0x54]
movaps xmm1, xmmword [edx + ecx]
movaps xmmword [esp + 0x60], xmm1
movaps xmmword [edi + esi*2 + 0x6e30], xmm1
mov ecx, dword [edi + 0x4960]
test cl, 4
je 0xa6f0c3
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
movzx ecx, byte [eax + ecx + 2]
mov byte [ebx + 5], cl
mov ecx, dword [esp + 0x4c]
mov ecx, dword [edx + ecx]
mov dword [edi + esi*2 + 0x6e40], ecx
mov ecx, dword [edi + 0x4960]
test cl, 1
jne 0xa6f050
xor eax, eax
mov byte [ebx + 8], 0xfe
mov dword [edi + esi*2 + 0x6e4c], eax
xor eax, eax
mov byte [ebx + 0x10], 0xfe
mov dword [edi + esi*2 + 0x6e6c], eax
xor eax, eax
mov byte [ebx + 0x18], 0xfe
mov dword [edi + esi*2 + 0x6e8c], eax
xor eax, eax
mov byte [ebx + 0x20], 0xfe
mov dword [edi + esi*2 + 0x6eac], eax
mov edx, dword [edi + 0x98]
test edx, edx
je 0xa6ec34
mov eax, dword [esp + 0x7c]
mov ecx, dword [edi + eax*4 + 0x4a30]
mov eax, dword [edi + 0x4960]
test al, 2
mov dword [esp + 0x78], eax
je 0xa6f1e0
mov eax, dword [esp + 0x38]
mov edx, dword [ecx + eax + 4]
mov eax, dword [ecx + eax]
mov dword [edi + esi + 0x6f6c], edx
mov dword [edi + esi + 0x6f68], eax
test byte [esp + 0x78], 1
je 0xa6f1a5
mov eax, dword [edi + 0x49d4]
shl eax, 4
add eax, ecx
movzx edx, word [eax + 8]
mov word [edi + esi + 0x6f76], dx
movzx eax, word [eax + 0xa]
mov word [edi + esi + 0x6f86], ax
test byte [edi + 0x4960], 1
je 0xa6f1c6
mov eax, dword [edi + 0x49d8]
shl eax, 4
add eax, ecx
movzx edx, word [eax + 0xc]
mov word [edi + esi + 0x6f96], dx
movzx eax, word [eax + 6]
mov word [edi + esi + 0x6fa6], ax
inc dword [esp + 0x7c]
add esi, 0x50
add ebx, 0x28
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x74], eax
jne 0xa6eaab
mov ebx, dword [edi + 0x98]
mov ecx, 1
mov dword [edi + 0x4a00], ecx
test ebx, ebx
je 0xa6f160
mov eax, dword [edi + 0x4960]
mov ebx, eax
and ebx, 1
je 0xa6f200
mov edx, dword [edi + 0x49c0]
cmp edx, 6
je 0xa6f200
cmp edx, 0x12
je 0xa6f200
mov esi, 2
mov edx, 1
and eax, 2
je 0xa6ecae
mov ecx, dword [edi + 0x49bc]
cmp ecx, 6
je 0xa6ecae
cmp ecx, 0x12
cmovne edx, esi
mov dword [edi + 0x705c], edx
mov edx, dword [edi + 0xcb8]
cmp edx, 1
je 0xa6fa09
test edx, edx
jne 0xa6ecd9
lea eax, [edi + 0x7054]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00a8e060
mov eax, dword [edi + 0x49b4]
mov edx, eax
and edx, 0xb
test al, 2
je 0xa6f0f5
or edx, 4
mov ecx, 0xf
mov dword [edi + 0x4964], edx
test al, 1
mov dword [edi + 0x4974], edx
mov edx, 0xf
mov dword [edi + 0x4978], edx
mov dword [edi + 0x4984], ecx
je 0xa6f950
mov edx, 0xf
mov ebx, 0xf
mov esi, 0xf
mov ecx, 0xf
mov dword [edi + 0x4994], edx
and eax, 4
mov edx, 0xa
mov dword [edi + 0x496c], ebx
mov dword [edi + 0x499c], esi
mov dword [edi + 0x497c], ecx
or eax, edx
or eax, 1
mov dword [edi + 0x4968], eax
mov dword [edi + 0x4988], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [edi + 0x21c8], 1
mov eax, 0xffffffff
mov dword [edi + 0x7064], eax
mov byte [edi + 0x6d43], 0xff
mov byte [edi + 0x6d3b], 0xff
mov byte [edi + 0x6d33], 0xff
mov byte [edi + 0x6d2b], 0xff
mov byte [edi + 0x6db3], 0x80
mov byte [edi + 0x6dab], 0x80
mov byte [edi + 0x6d8b], 0x80
mov byte [edi + 0x6d83], 0x80
mov byte [edi + 0x6d73], 0x80
mov byte [edi + 0x6d6b], 0x80
mov byte [edi + 0x6d63], 0x80
mov byte [edi + 0x6d5b], 0x80
jle 0xa6edf4
mov byte [edi + 0x6dc3], 0x80
mov byte [edi + 0x6dbb], 0x80
mov byte [edi + 0x6d9b], 0x80
mov byte [edi + 0x6d93], 0x80
mov eax, dword [edi + 0x2208]
xor edx, edx
test eax, eax
jne 0xa6e0c8
jmp 0xa6e0ed
mov eax, 0x80808080
mov ebx, 0xffffffff
mov dword [edi + 0x6d54], eax
mov eax, 0x80808080
mov esi, 0xffffffff
mov dword [edi + 0x6d7c], eax
mov eax, 0x80808080
mov dword [edi + 0x7060], ebx
mov dword [edi + 0x6d24], esi
mov dword [edi + 0x6da4], eax
jmp 0xa6dfba
mov eax, dword [edi + 0x4a18]
mov ecx, 0xffffffff
xor ebx, ebx
mov edx, 0xffffffff
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x4a1c]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x4a20]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
mov eax, 0xffffffff
jmp 0xa6de8d
mov eax, 2
mov ecx, 2
mov dword [esp + 0x70], eax
xor edx, edx
mov eax, 2
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x78], edx
jmp 0xa6dd26
mov eax, 1
mov dword [edi + 0x4960], eax
mov eax, dword [edi + 0xa4]
test eax, eax
je 0xa6efae
cmp ecx, 3
jbe 0xa6efae
mov eax, 2
mov edx, 1
mov dword [esp + 0x5c], eax
mov eax, 3
mov dword [esp + 0x70], eax
mov eax, 3
mov dword [esp + 0x7c], eax
mov eax, 1
mov dword [esp + 0x78], edx
jmp 0xa6dd26
mov ecx, dword [edi + 0x4a18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [edi + 0x4a1c]
mov dword [esp + 0x54], ecx
mov ecx, dword [edi + 0x4a20]
mov dword [esp + 0x4c], ecx
jmp 0xa6ddad
mov ecx, dword [esp + 0x70]
mov dword [edi + 0x4960], ecx
mov ecx, dword [edi + 0xa4]
test ecx, ecx
je 0xa6ef50
cmp edx, 3
ja 0xa6ef5a
mov ecx, dword [esp + 0x5c]
mov dword [edi + 0x49b4], ecx
mov ecx, dword [edi + 0x4a18]
mov dword [esp + 0x5c], ecx
prefetcht0 byte [ecx + eax]
mov eax, dword [edi + 0x4a1c]
mov dword [esp + 0x54], eax
prefetcht0 byte [eax + ebx*8]
mov eax, dword [edi + 0x4a20]
mov ecx, eax
mov dword [esp + 0x4c], eax
lea eax, [ebx + ebx*2]
shl eax, 4
prefetcht0 byte [ecx + eax + 0xc]
mov eax, dword [edi + 0x4b44]
prefetcht0 byte [eax + ebx]
mov eax, dword [edi + 0x4b40]
prefetcht0 byte [eax + ebx]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
jmp 0xa6ddad
mov eax, 3
mov ecx, 1
mov dword [esp + 0x5c], eax
mov eax, 3
mov edx, 1
mov dword [esp + 0x70], eax
mov eax, 3
mov dword [esp + 0x7c], eax
mov eax, 1
mov dword [edi + 0x49b4], ecx
mov dword [esp + 0x78], edx
jmp 0xa6dd26
mov ebx, dword [esp + 0x78]
mov eax, ebx
or eax, 4
mov dword [esp + 0x60], eax
mov dword [edi + 0x4960], eax
mov eax, dword [edi + 0xa4]
test eax, eax
jne 0xa6fc04
mov eax, dword [edi + 0x49dc]
mov ecx, dword [esp + 0x78]
or dword [edi + 0x49b4], 4
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x49e8]
mov ebx, ecx
lea edx, [eax + eax + 1]
lea eax, [eax*4 + 3]
and ecx, 1
and ebx, 2
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x78], ecx
jmp 0xa6de8d
mov ecx, dword [edi + 0x48bc]
mov edx, dword [edi + 0x48c0]
dec ecx
mov dword [esp + 0x60], ecx
movzx ecx, byte [eax + ecx]
dec edx
mov byte [ebx + 8], cl
mov byte [ebx + 0x10], cl
mov ecx, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esp + 0x60]
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x78]
mov byte [ebx + 0x20], al
mov byte [ebx + 0x18], al
mov eax, dword [ecx + edx*4]
mov dword [edi + esi*2 + 0x6e4c], eax
mov eax, dword [esp + 0x58]
add eax, edx
mov eax, dword [ecx + eax*4]
mov dword [edi + esi*2 + 0x6e6c], eax
mov eax, dword [esp + 0x48]
add eax, edx
mov eax, dword [ecx + eax*4]
mov dword [edi + esi*2 + 0x6e8c], eax
mov eax, dword [esp + 0x40]
add eax, edx
mov eax, dword [ecx + eax*4]
mov dword [edi + esi*2 + 0x6eac], eax
jmp 0xa6eb92
mov byte [ebx + 5], 0xfe
jmp 0xa6eb55
movaps xmmword [edi + esi*2 + 0x6e30], xmm0
mov dword [ebx + 1], 0xfefefefe
jmp 0xa6eb22
xor edx, edx
mov byte [ebx], 0xfe
mov dword [edi + esi*2 + 0x6e2c], edx
jmp 0xa6eae3
mov dword [edi + 0x4964], edx
mov ebx, 1
mov esi, 1
mov dword [edi + 0x4974], edx
mov edx, eax
and edx, 1
mov dword [edi + 0x4978], ebx
mov dword [edi + 0x4984], esi
je 0xa6f990
mov edx, 0xf
mov ebx, 0xf
mov esi, 0xf
mov ecx, 0xf
mov dword [edi + 0x4994], edx
and eax, 4
xor edx, edx
mov dword [edi + 0x496c], ebx
mov dword [edi + 0x499c], esi
mov dword [edi + 0x497c], ecx
jmp 0xa6ed4d
mov edx, dword [edi + 0xcb8]
cmp edx, 1
jne 0xa6ecc3
mov eax, dword [edi + 0x48e4]
mov edx, dword [esp + 0x3c]
and edx, eax
lea eax, [edx + eax*2]
mov edx, eax
shl edx, 7
shl eax, 8
lea edx, [edi + edx + 0x74cc]
lea eax, [edi + eax + 0x70c8]
mov dword [edi + 0x76cc], edx
mov dword [edi + 0x74c8], eax
jmp 0xa6ecd9
xor eax, eax
mov word [edi + esi + 0x6f76], ax
xor eax, eax
mov word [edi + esi + 0x6f86], ax
test byte [edi + 0x4960], 1
jne 0xa6ec11
xor eax, eax
mov word [edi + esi + 0x6f96], ax
xor eax, eax
mov word [edi + esi + 0x6fa6], ax
jmp 0xa6ec34
xor eax, eax
mov dword [edi + esi + 0x6f68], eax
xor eax, eax
mov dword [edi + esi + 0x6f6c], eax
jmp 0xa6ebd6
mov esi, 1
xor edx, edx
jmp 0xa6ec98
mov eax, dword [edi + 0x5ffc]
lea edx, [eax + 0x8f]
add eax, 0x7f
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00a6db30
mov eax, dword [edi + 0x5ffc]
lea edx, [eax + 0x18f]
add eax, 0x17f
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00a6db30
mov eax, dword [edi + 0x6000]
lea edx, [eax + 0x8f]
add eax, 0x7f
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00a6db30
mov eax, dword [edi + 0x6000]
lea edx, [eax + 0x18f]
add eax, 0x17f
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00a6db30
mov eax, dword [edi + 0x3b3c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [eax + 0xa8]
mov eax, dword [eax + 0xd8]
imul edx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], eax
add edx, ecx
mov ebx, edx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
lea eax, [edx + edx*2]
mov edx, dword [edi + eax*4 + 0x8e74]
mov eax, dword [edi + 0x3b38]
add ecx, edx
mov edx, dword [eax + 0xd8]
mov esi, ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x7c]
add ebx, edx
mov eax, ebx
mov dword [edi + 0x6d10], ecx
mov dword [edi + 0x5ff0], ebx
mov ebx, 0x10
mov dword [esp + 8], eax
mov eax, 0x10
mov dword [esp + 0x10], ebx
mov ebx, 0x18
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov eax, dword [edi + 0x5fe4]
mov dword [esp], eax
call dword [edi + 0x923c]
mov eax, dword [edi + 0x5ffc]
mov edx, esi
mov dword [esp + 0x60], ebx
lea ecx, [eax - 0x20]
test cl, 1
jne 0xa6fcaf
test cl, 2
jne 0xa6fc98
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x78]
and eax, 0xfffffffc
mov dword [esp + 0x38], eax
xor eax, eax
mov ebx, dword [edx + eax]
mov dword [ecx + eax], ebx
add eax, 4
cmp eax, dword [esp + 0x38]
jb 0xa6f351
add ecx, eax
add edx, eax
xor eax, eax
test byte [esp + 0x60], 2
mov dword [esp + 0x78], esi
jne 0xa6fc57
test byte [esp + 0x60], 1
jne 0xa6fc4b
mov eax, dword [esp + 0x34]
mov edx, dword [edi + 0x5ffc]
movzx eax, byte [eax - 1]
mov byte [edx - 0x21], al
mov eax, dword [edi + 0x4bb8]
test eax, eax
jne 0xa6f60e
mov eax, dword [edi + 0x6004]
test eax, eax
mov dword [esp + 0x7c], eax
jle 0xa6f409
lea edx, [edi + 0x601c]
mov eax, dword [esp + 0x4c]
xor ebx, ebx
jmp 0xa6f3cc
mov eax, ebx
and eax, 1
mov eax, dword [esp + eax*4 + 0x98]
mov ecx, dword [edi + ebx*4 + 0x3b48]
inc ebx
add edx, 0x30
mov esi, dword [ecx + 0xd8]
add esi, eax
mov dword [edx - 0x30], esi
mov esi, dword [ecx + 0x100]
add esi, eax
mov dword [edx - 0x2c], esi
mov esi, dword [ecx + 0x104]
add esi, eax
mov dword [edx - 0x28], esi
mov esi, dword [ecx + 0x108]
add eax, esi
mov dword [edx - 0x24], eax
cmp ebx, dword [esp + 0x7c]
jne 0xa6f3c0
cmp dword [edi + 0xcb8], 1
je 0xa6fb6d
mov eax, dword [edi + 0x3b3c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x5c]
mov ebx, dword [eax + 0xac]
mov eax, dword [eax + 0xdc]
imul edx, ebx
mov dword [esp + 0x4c], eax
mov eax, ecx
add eax, eax
add eax, ecx
mov ecx, dword [edi + eax*4 + 0x8e78]
add edx, esi
mov eax, dword [edi + 0x3b38]
mov dword [esp + 0x60], edx
mov dword [esp + 0x98], edx
add esi, ecx
mov ecx, dword [eax + 0xdc]
mov dword [esp + 0x9c], edx
mov dword [edi + 0x6d14], ebx
add edx, ecx
mov ecx, 0x10
mov dword [edi + 0x5ff4], edx
mov eax, edx
mov edx, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x5fe8]
mov dword [esp], eax
call dword [edi + 0x923c]
mov eax, dword [edi + 0x6000]
mov edx, esi
mov dword [esp + 0x7c], 0x18
lea ecx, [eax - 0x20]
test cl, 1
jne 0xa6fc7e
test cl, 2
jne 0xa6fc67
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x54], ebx
and eax, 0xfffffffc
mov dword [esp + 0x78], eax
xor eax, eax
mov ebx, dword [edx + eax]
mov dword [ecx + eax], ebx
add eax, 4
cmp eax, dword [esp + 0x78]
jb 0xa6f4d9
add ecx, eax
add edx, eax
mov ebx, dword [esp + 0x54]
xor eax, eax
test byte [esp + 0x7c], 2
jne 0xa6fc3b
test byte [esp + 0x7c], 1
jne 0xa6fc2f
movzx eax, byte [esi - 1]
mov edx, dword [edi + 0x6000]
mov byte [edx - 0x21], al
mov eax, dword [edi + 0x4bb8]
test eax, eax
jne 0xa6f798
mov eax, dword [edi + 0x6004]
test eax, eax
mov dword [esp + 0x7c], eax
jle 0xa6f589
lea edx, [edi + 0x602c]
mov eax, dword [esp + 0x60]
xor ebx, ebx
jmp 0xa6f54c
mov eax, ebx
and eax, 1
mov eax, dword [esp + eax*4 + 0x98]
mov ecx, dword [edi + ebx*4 + 0x3b48]
inc ebx
add edx, 0x30
mov esi, dword [ecx + 0xdc]
add esi, eax
mov dword [edx - 0x30], esi
mov esi, dword [ecx + 0x110]
add esi, eax
mov dword [edx - 0x2c], esi
mov esi, dword [ecx + 0x114]
add esi, eax
mov dword [edx - 0x28], esi
mov esi, dword [ecx + 0x118]
add eax, esi
mov dword [edx - 0x24], eax
cmp dword [esp + 0x7c], ebx
jne 0xa6f540
cmp dword [edi + 0xcb8], 1
jne 0xa6e645
mov esi, dword [edi + 0x6008]
test esi, esi
jle 0xa6e645
lea eax, [edi + 0x662c]
xor edx, edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x78], esi
jmp 0xa6f5cc
mov ecx, edx
and ecx, 1
mov ecx, dword [esp + ecx*4 + 0x98]
mov ebx, dword [edi + edx*4 + 0x3b94]
inc edx
add eax, 0x30
mov esi, dword [ebx + 0xdc]
add esi, ecx
mov dword [eax - 0x30], esi
mov esi, dword [ebx + 0x110]
add esi, ecx
mov dword [eax - 0x2c], esi
mov esi, dword [ebx + 0x114]
add esi, ecx
mov dword [eax - 0x28], esi
mov esi, dword [ebx + 0x118]
add ecx, esi
mov dword [eax - 0x24], ecx
cmp dword [esp + 0x78], edx
jne 0xa6f5c0
jmp 0xa6e645
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov eax, dword [edi + 0x5ffc]
movzx edx, byte [ecx + ebx - 1]
add ecx, esi
mov byte [eax - 1], dl
mov eax, ecx
mov ecx, dword [esp + 0x78]
add eax, ebx
mov edx, dword [edi + 0x5ffc]
mov dword [esp + 0x60], eax
movzx eax, byte [eax - 1]
add ecx, ebx
mov byte [edx + 0x1f], al
mov eax, esi
mov esi, ebx
add eax, eax
mov edx, dword [edi + 0x5ffc]
movzx ebx, byte [eax + ecx - 1]
mov byte [edx + 0x3f], bl
mov edx, dword [esp + 0x7c]
mov ebx, dword [edi + 0x5ffc]
add eax, edx
movzx edx, byte [eax + ecx - 1]
mov byte [ebx + 0x5f], dl
mov ebx, dword [esp + 0x7c]
add eax, ebx
mov ebx, dword [edi + 0x5ffc]
movzx edx, byte [eax + ecx - 1]
mov byte [ebx + 0x7f], dl
mov edx, dword [esp + 0x7c]
mov ebx, dword [edi + 0x5ffc]
add eax, edx
movzx edx, byte [eax + ecx - 1]
mov byte [ebx + 0x9f], dl
mov ebx, dword [esp + 0x7c]
add eax, ebx
mov ebx, dword [edi + 0x5ffc]
movzx edx, byte [eax + ecx - 1]
mov byte [ebx + 0xbf], dl
mov edx, dword [esp + 0x7c]
add eax, edx
movzx edx, byte [eax + ecx - 1]
mov ebx, dword [edi + 0x5ffc]
mov byte [ebx + 0xdf], dl
mov ebx, dword [esp + 0x7c]
lea edx, [ebx + eax]
mov eax, dword [esp + 0x78]
mov ebx, esi
add eax, edx
movzx eax, byte [esi + eax - 1]
mov esi, dword [edi + 0x5ffc]
mov byte [esi + 0xff], al
mov esi, dword [esp + 0x7c]
lea eax, [edx + esi]
mov esi, dword [edi + 0x5ffc]
movzx edx, byte [eax + ecx - 1]
mov byte [esi + 0x11f], dl
mov esi, dword [esp + 0x7c]
add eax, esi
mov esi, dword [edi + 0x5ffc]
movzx edx, byte [eax + ecx - 1]
mov byte [esi + 0x13f], dl
mov edx, dword [esp + 0x7c]
mov esi, dword [edi + 0x5ffc]
add eax, edx
movzx edx, byte [eax + ecx - 1]
mov byte [esi + 0x15f], dl
mov esi, dword [esp + 0x7c]
lea edx, [esi + eax]
mov eax, dword [esp + 0x78]
mov esi, dword [edi + 0x5ffc]
add eax, edx
movzx eax, byte [ebx + eax - 1]
mov byte [esi + 0x17f], al
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
add edx, esi
mov esi, dword [edi + 0x5ffc]
add eax, edx
movzx eax, byte [ebx + eax - 1]
mov byte [esi + 0x19f], al
mov eax, dword [esp + 0x7c]
mov esi, dword [edi + 0x5ffc]
add edx, eax
movzx eax, byte [edx + ecx - 1]
mov byte [esi + 0x1bf], al
mov eax, dword [esp + 0x60]
mov ecx, dword [edi + 0x5ffc]
movzx eax, byte [edx + eax - 1]
mov byte [ecx + 0x1df], al
jmp 0xa6f39f
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
mov eax, dword [edi + 0x6000]
movzx edx, byte [esi + ecx - 1]
mov ecx, esi
mov byte [eax - 1], dl
lea eax, [esi + ebx]
mov esi, dword [esp + 0x60]
mov edx, dword [edi + 0x6000]
add eax, esi
mov dword [esp + 0x7c], eax
movzx eax, byte [eax - 1]
mov byte [edx + 0x1f], al
mov eax, ecx
add eax, esi
mov esi, dword [edi + 0x6000]
lea edx, [ebx + ebx]
movzx ecx, byte [edx + eax - 1]
add edx, ebx
mov byte [esi + 0x3f], cl
movzx ecx, byte [edx + eax - 1]
add edx, ebx
mov esi, dword [edi + 0x6000]
mov byte [esi + 0x5f], cl
movzx ecx, byte [edx + eax - 1]
add edx, ebx
mov esi, dword [edi + 0x6000]
mov byte [esi + 0x7f], cl
movzx ecx, byte [edx + eax - 1]
add edx, ebx
mov esi, dword [edi + 0x6000]
mov byte [esi + 0x9f], cl
movzx ecx, byte [edx + eax - 1]
add edx, ebx
mov esi, dword [edi + 0x6000]
mov byte [esi + 0xbf], cl
movzx ecx, byte [edx + eax - 1]
add edx, ebx
mov esi, dword [edi + 0x6000]
mov byte [esi + 0xdf], cl
movzx ecx, byte [edx + eax - 1]
add edx, ebx
mov esi, dword [edi + 0x6000]
mov byte [esi + 0xff], cl
movzx ecx, byte [edx + eax - 1]
add edx, ebx
mov esi, dword [edi + 0x6000]
mov byte [esi + 0x11f], cl
movzx ecx, byte [edx + eax - 1]
add edx, ebx
mov esi, dword [edi + 0x6000]
mov byte [esi + 0x13f], cl
movzx ecx, byte [edx + eax - 1]
add edx, ebx
mov esi, dword [edi + 0x6000]
mov byte [esi + 0x15f], cl
movzx ecx, byte [edx + eax - 1]
add edx, ebx
mov esi, dword [edi + 0x6000]
mov byte [esi + 0x17f], cl
movzx ecx, byte [edx + eax - 1]
add edx, ebx
mov esi, dword [edi + 0x6000]
mov byte [esi + 0x19f], cl
mov ecx, dword [edi + 0x6000]
movzx eax, byte [edx + eax - 1]
mov byte [ecx + 0x1bf], al
mov eax, dword [esp + 0x7c]
mov ecx, dword [edi + 0x6000]
movzx eax, byte [edx + eax - 1]
mov byte [ecx + 0x1df], al
jmp 0xa6f523
mov esi, dword [edi + 0x6008]
test esi, esi
jle 0xa6e45f
lea eax, [edi + 0x660c]
xor ecx, ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x7c], esi
jmp 0xa6f90c
mov edx, ecx
and edx, 1
mov edx, dword [esp + edx*4 + 0x98]
mov ebx, dword [edi + ecx*4 + 0x3b94]
inc ecx
add eax, 0x30
mov esi, dword [ebx + 0xd4]
add esi, edx
mov dword [eax - 0x30], esi
mov esi, dword [ebx + 0xf0]
add esi, edx
mov dword [eax - 0x2c], esi
mov esi, dword [ebx + 0xf4]
add esi, edx
mov dword [eax - 0x28], esi
mov esi, dword [ebx + 0xf8]
add edx, esi
mov dword [eax - 0x24], edx
cmp ecx, dword [esp + 0x7c]
jne 0xa6f900
jmp 0xa6e45f
mov edx, 6
mov ebx, 6
mov esi, 6
mov ecx, 6
mov dword [edi + 0x4994], edx
and eax, 4
mov edx, 0xa
mov dword [edi + 0x496c], ebx
mov dword [edi + 0x499c], esi
mov dword [edi + 0x497c], ecx
jmp 0xa6ed4d
mov ecx, 6
mov ebx, 6
mov dword [edi + 0x496c], ecx
mov esi, 6
mov ecx, 6
mov dword [edi + 0x499c], ebx
and eax, 4
mov dword [edi + 0x4994], esi
mov dword [edi + 0x497c], ecx
jmp 0xa6ed4d
mov ebx, dword [edi + 0x6008]
test ebx, ebx
jle 0xa6e645
lea edx, [edi + 0x661c]
xor eax, eax
mov ecx, esi
jmp 0xa6f9ec
mov ecx, eax
and ecx, 1
mov ecx, dword [esp + ecx*4 + 0x98]
mov esi, dword [edi + eax*4 + 0x3b94]
inc eax
add edx, 0x30
add ecx, dword [esi + 0xd8]
mov dword [edx - 0x30], ecx
cmp eax, ebx
jne 0xa6f9e0
jmp 0xa6e645
mov edx, dword [edi + 0x48e4]
xor esi, esi
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0x700c], esi
xor esi, esi
mov dword [edi + 0x7024], esi
and ecx, edx
lea edx, [ecx + edx*2]
mov ecx, edx
shl ecx, 7
shl edx, 8
lea ecx, [edi + ecx + 0x74cc]
lea edx, [edi + edx + 0x70c8]
mov dword [edi + 0x76cc], ecx
xor ecx, ecx
mov dword [edi + 0x74c8], edx
xor edx, edx
test ebx, ebx
mov dword [edi + 0x7014], edx
mov dword [edi + 0x701c], ecx
jne 0xa6fbe7
xor edx, edx
xor ecx, ecx
test eax, eax
mov byte [edi + 0x700b], cl
mov byte [edi + 0x701b], dl
je 0xa6fbde
mov eax, dword [edi + 0x4b40]
mov esi, dword [esp + 0x44]
movzx eax, byte [eax + esi]
mov dl, al
and al, 8
and dl, 4
mov byte [edi + 0x7004], dl
mov byte [edi + 0x7006], al
jmp 0xa6ecd9
movzx edx, byte [eax + 0x11]
mov byte [edi + 0x6d83], dl
movzx edx, byte [eax + 0x15]
mov byte [edi + 0x6d8b], dl
movzx edx, byte [eax + 0x21]
mov byte [edi + 0x6dab], dl
movzx eax, byte [eax + 0x25]
mov byte [edi + 0x6db3], al
jmp 0xa6e0af
or dword [esp + 0x78], 8
mov edx, dword [edi + 0xa4]
mov ecx, dword [esp + 0x78]
test edx, edx
mov dword [edi + 0x4960], ecx
je 0xa6faf1
cmp dword [esp + 0x74], 3
ja 0xa6de0c
or dword [edi + 0x49b4], 8
jmp 0xa6de0c
mov edx, dword [edi + 0x5ffc]
lea eax, [edx + 0x187]
add edx, 0x17f
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00a6db30
mov edx, dword [edi + 0x6000]
lea eax, [edx + 0x187]
add edx, 0x17f
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00a6db30
jmp 0xa6e4af
movzx eax, word [ecx]
add edx, 2
add ecx, 2
mov word [edx - 2], ax
sub dword [esp + 0x7c], 2
jmp 0xa6e1ef
movzx edx, byte [ecx]
inc ecx
mov byte [eax - 0x20], dl
lea edx, [eax - 0x1f]
mov eax, 0x17
mov dword [esp + 0x7c], eax
jmp 0xa6e1e6
mov esi, dword [edi + 0x6008]
test esi, esi
jle 0xa6f416
lea eax, [edi + 0x661c]
xor edx, edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x7c], esi
jmp 0xa6fb9c
mov ecx, edx
and ecx, 1
mov ecx, dword [esp + ecx*4 + 0x98]
mov ebx, dword [edi + edx*4 + 0x3b94]
inc edx
add eax, 0x30
mov esi, dword [ebx + 0xd8]
add esi, ecx
mov dword [eax - 0x30], esi
mov esi, dword [ebx + 0x100]
add esi, ecx
mov dword [eax - 0x2c], esi
mov esi, dword [ebx + 0x104]
add esi, ecx
mov dword [eax - 0x28], esi
mov esi, dword [ebx + 0x108]
add ecx, esi
mov dword [eax - 0x24], ecx
cmp edx, dword [esp + 0x7c]
jne 0xa6fb90
jmp 0xa6f416
xor eax, eax
xor edx, edx
jmp 0xa6fa8f
mov ecx, dword [edi + 0x4b40]
mov edx, dword [edi + 0x49d4]
movzx edx, byte [ecx + edx]
mov cl, dl
and dl, 8
and cl, 2
jmp 0xa6fa66
cmp ecx, 3
jbe 0xa6f008
mov edx, dword [edi + 0x49dc]
mov ecx, ebx
mov eax, dword [edi + 0x49e8]
mov dword [esp + 0x44], edx
lea edx, [eax + eax + 1]
lea eax, [eax*4 + 3]
jmp 0xa6f030
movzx edx, byte [edx + eax]
mov byte [ecx + eax], dl
jmp 0xa6f508
movzx eax, word [edx]
mov word [ecx], ax
mov eax, 2
jmp 0xa6f4fd
movzx edx, byte [edx + eax]
mov byte [ecx + eax], dl
jmp 0xa6f380
movzx eax, word [edx]
mov word [ecx], ax
mov eax, 2
jmp 0xa6f375
movzx eax, word [edx]
add ecx, 2
add edx, 2
mov word [ecx - 2], ax
sub dword [esp + 0x7c], 2
jmp 0xa6f4c8
movzx edx, byte [esi]
lea ecx, [eax - 0x1f]
mov byte [eax - 0x20], dl
mov eax, 0x17
lea edx, [esi + 1]
mov dword [esp + 0x7c], eax
jmp 0xa6f4bf
movzx eax, word [edx]
add ecx, 2
add edx, 2
mov word [ecx - 2], ax
sub dword [esp + 0x60], 2
jmp 0xa6f340
mov ebx, dword [esp + 0x34]
lea ecx, [eax - 0x1f]
movzx edx, byte [ebx]
mov byte [eax - 0x20], dl
mov eax, 0x17
lea edx, [ebx + 1]
mov dword [esp + 0x60], eax
jmp 0xa6f337