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

Disassembly:
sub esp, 0x258
push ebx
push ebp
push esi
push edi
push 0
mov ebp, ecx
push 0
mov dword [esp + 0x2c], ebp
call fcn.1010a3d0
xor ebx, ebx
mov ecx, ebp
cmp dword [esp + 0x26c], 1
setg bl
lea ebx, [ebx*4 + 4]
imul eax, ebx, 0x2c0000
mov dword [esp + 0x64], ebx
add eax, 0x180000
push eax
call fcn.1012fdf0
mov esi, eax
mov ecx, ebp
push str.xtrans_interpolate__
push esi
mov dword [esp + 0x70], esi
call fcn.1012ff00
imul eax, ebx, 0x180000
mov ecx, 6
mov dword [esp + 0x2c], ecx
add eax, esi
mov dword [esp + 0x7c], eax
imul eax, ebx, 0x280000
add eax, 0x180000
add eax, esi
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], eax
jmp 0x1010a735
mov ecx, 6
add eax, 6
xor esi, esi
cdq
idiv ecx
mov dword [esp + 0x4c], esi
add edx, 0x42
lea ecx, [edx + edx*2]
add ecx, ecx
mov dword [esp + 0x34], ecx
nop dword [eax]
lea eax, [esi + 6]
xor edi, edi
cdq
xor ebx, ebx
idiv dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x1c], edi
add edx, ecx
cmp byte [edx + ebp], 1
mov ebp, 0x1029dfd2
mov dword [esp + 0x10], ebp
sete al
mov dword [esp + 0x50], eax
nop dword [eax + eax]
movsx eax, word [ebp - 2]
movsx ecx, word [ebp - 6]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
add eax, 6
mov dword [esp + 0x18], ecx
add eax, ecx
mov ecx, 6
cdq
idiv ecx
movsx eax, word [ebp - 2]
add edx, 0x42
add eax, 6
add eax, esi
lea ecx, [edx + edx*2]
cdq
idiv dword [esp + 0x2c]
lea eax, [ebx + 1]
xor ebx, ebx
add edx, dword [esp + 0x24]
cmp byte [edx + ecx*2], 1
cmovne ebx, eax
mov dword [esp + 0x20], ebx
cmp ebx, 4
jne 0x1010a7e3
mov eax, dword [esp + 0x48]
movzx eax, ax
mov dword [esp + 0x78], eax
movzx eax, si
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x50]
lea eax, [ecx + 1]
cmp ebx, eax
jne 0x1010ab13
movsx edi, word [ebp - 4]
mov eax, ecx
shl eax, 5
movsx ebp, word [ebp]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x28]
movsx edx, word [eax + 0x1029dfea]
movsx ecx, word [eax + 0x1029dfe8]
mov eax, dword [esp + 0x18]
imul eax, ecx
mov ebx, dword [esp + 0x30]
imul edi, edx
imul esi, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x40], ebp
add edi, eax
mov eax, ebp
imul eax, edx
lea ebx, [ebx + ecx]
mov edx, dword [esp + 0x24]
shl ebx, 4
add esi, eax
mov eax, dword [esp + 0x50]
add eax, eax
and eax, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
lea ecx, [ebx + eax]
movzx eax, word [edx + 0x16]
imul eax, edi
shl edi, 9
add edi, esi
add eax, esi
mov esi, dword [esp + 0x28]
mov word [esp + ecx*2 + 0x148], ax
mov eax, dword [esp + 0x14]
mov word [esp + ecx*2 + 0x158], di
movsx edx, word [eax + 0x1029dfee]
movsx ecx, word [eax + 0x1029dfec]
mov eax, dword [esp + 0x10]
imul esi, ecx
movsx edi, word [eax - 4]
mov eax, dword [esp + 0x18]
imul eax, ecx
mov ecx, dword [esp + 0x38]
imul edi, edx
xor ecx, 1
add ecx, ebx
add edi, eax
mov eax, ebp
imul eax, edx
mov edx, dword [esp + 0x24]
add esi, eax
movzx eax, word [edx + 0x16]
imul eax, edi
shl edi, 9
add edi, esi
add eax, esi
mov esi, dword [esp + 0x28]
mov word [esp + ecx*2 + 0x148], ax
mov eax, dword [esp + 0x14]
mov word [esp + ecx*2 + 0x158], di
mov edi, dword [esp + 0x10]
movsx edx, word [eax + 0x1029dff2]
movsx ecx, word [eax + 0x1029dff0]
movsx edi, word [edi - 4]
mov eax, dword [esp + 0x18]
imul eax, ecx
imul edi, edx
imul esi, ecx
mov ecx, dword [esp + 0x38]
xor ecx, 2
add ecx, ebx
add edi, eax
mov eax, ebp
imul eax, edx
mov edx, dword [esp + 0x24]
add esi, eax
movzx eax, word [edx + 0x16]
imul eax, edi
add eax, esi
mov word [esp + ecx*2 + 0x148], ax
mov eax, dword [esp + 0x14]
shl edi, 9
add edi, esi
mov esi, dword [esp + 0x10]
mov word [esp + ecx*2 + 0x158], di
movsx ecx, word [eax + 0x1029dff6]
movsx edx, word [eax + 0x1029dff4]
movsx edi, word [esi - 4]
mov esi, ebp
mov eax, dword [esp + 0x18]
imul eax, edx
imul edi, ecx
imul esi, ecx
mov ecx, dword [esp + 0x38]
xor ecx, 3
add ecx, ebx
add edi, eax
mov eax, dword [esp + 0x28]
imul eax, edx
mov edx, dword [esp + 0x24]
add esi, eax
movzx eax, word [edx + 0x16]
imul eax, edi
shl edi, 9
add edi, esi
add eax, esi
mov esi, dword [esp + 0x10]
mov word [esp + ecx*2 + 0x148], ax
mov eax, dword [esp + 0x14]
mov word [esp + ecx*2 + 0x158], di
movsx edi, word [esi - 4]
mov esi, dword [esp + 0x28]
movsx edx, word [eax + 0x1029dffa]
movsx ecx, word [eax + 0x1029dff8]
mov eax, dword [esp + 0x18]
imul eax, ecx
imul edi, edx
imul esi, ecx
mov ecx, dword [esp + 0x38]
xor ecx, 4
add ecx, ebx
add edi, eax
mov eax, ebp
imul eax, edx
mov edx, dword [esp + 0x24]
add esi, eax
movzx eax, word [edx + 0x16]
imul eax, edi
shl edi, 9
add edi, esi
add eax, esi
mov esi, dword [esp + 0x10]
mov word [esp + ecx*2 + 0x148], ax
mov eax, dword [esp + 0x14]
mov word [esp + ecx*2 + 0x158], di
movsx edi, word [esi - 4]
mov esi, dword [esp + 0x28]
movsx edx, word [eax + 0x1029dffe]
movsx ecx, word [eax + 0x1029dffc]
mov eax, dword [esp + 0x18]
imul eax, ecx
imul edi, edx
imul esi, ecx
mov ecx, dword [esp + 0x38]
xor ecx, 5
add ecx, ebx
add edi, eax
mov eax, ebp
imul eax, edx
mov edx, dword [esp + 0x24]
add esi, eax
movzx eax, word [edx + 0x16]
imul eax, edi
shl edi, 9
add eax, esi
add edi, esi
mov word [esp + ecx*2 + 0x148], ax
mov eax, dword [esp + 0x14]
mov word [esp + ecx*2 + 0x158], di
movsx edx, word [eax + 0x1029e002]
movsx ecx, word [eax + 0x1029e000]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
imul eax, ecx
movsx edi, word [esi - 4]
mov esi, dword [esp + 0x28]
imul edi, edx
imul esi, ecx
imul edx, ebp
mov ebp, dword [esp + 0x24]
add edi, eax
movzx eax, word [ebp + 0x16]
add esi, edx
mov edx, dword [esp + 0x38]
mov ecx, edx
imul eax, edi
xor ecx, 6
add ecx, ebx
shl edi, 9
add edi, esi
xor edx, 7
add edx, ebx
mov ebx, dword [esp + 0x20]
add eax, esi
mov word [esp + ecx*2 + 0x148], ax
mov eax, dword [esp + 0x14]
mov word [esp + ecx*2 + 0x158], di
mov edi, dword [esp + 0x10]
movsx ecx, word [eax + 0x1029e006]
movsx eax, word [eax + 0x1029e004]
movsx esi, word [edi - 4]
mov edi, dword [esp + 0x18]
imul edi, eax
imul esi, ecx
imul ecx, dword [esp + 0x40]
add esi, edi
mov edi, dword [esp + 0x28]
imul edi, eax
add edi, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x10]
movzx eax, word [ecx + 0x16]
imul eax, esi
shl esi, 9
add eax, edi
add esi, edi
mov edi, dword [esp + 0x1c]
mov word [esp + edx*2 + 0x148], ax
mov word [esp + edx*2 + 0x158], si
mov esi, dword [esp + 0x4c]
add ebp, 4
add edi, 2
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], ebp
cmp ebp, 0x1029dfe6
jl 0x1010a780
mov ecx, dword [esp + 0x34]
inc esi
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x4c], esi
cmp esi, 3
jl 0x1010a750
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
add ebx, 3
inc eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x48], eax
cmp ebx, 9
jl 0x1010a730
mov esi, ebp
mov ebx, 2
movzx eax, word [esi + 0x14]
sub eax, ebx
cmp eax, ebx
jle 0x1010ac0c
mov eax, dword [esp + 0x24]
mov edi, 2
mov dword [esp + 0x14], 0
mov esi, 0xffff
movzx ebp, word [eax + 0x16]
lea eax, [ebp - 2]
cmp eax, edi
jle 0x1010abf8
lea ecx, [ebx + 6]
mov dword [esp + 0x10], 8
mov dword [esp + 0x18], ecx
mov eax, ecx
mov ecx, 6
cdq
idiv ecx
mov eax, dword [esp + 0x10]
add edx, 0x42
lea ecx, [edx + edx*2]
cdq
idiv dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add edx, eax
cmp byte [edx + ecx*2], 1
jne 0x1010ac83
mov dword [esp + 0x14], 0
mov esi, 0xffff
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc eax
inc edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
movzx ebp, word [eax + 0x16]
lea eax, [ebp - 2]
cmp edi, eax
jl 0x1010aba5
mov esi, dword [esp + 0x24]
inc ebx
movzx eax, word [esi + 0x14]
sub eax, 2
cmp ebx, eax
jl 0x1010ab75
movzx eax, word [esi + 0x14]
mov ebp, 3
sub eax, 0x13
mov dword [esp + 0x10], ebp
cmp eax, ebp
jle 0x1010c379
nop dword [eax]
nop dword [eax + eax]
movzx ecx, word [esi + 0x16]
mov edx, 3
mov dword [esp + 0x28], edx
lea eax, [ecx - 0x13]
cmp eax, edx
jle 0x1010c360
mov edi, dword [esp + 0x68]
lea ebx, [ebp + 0x200]
lea eax, [edi + 0x180000]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x64]
shl eax, 0x12
mov dword [esp + 0x98], eax
mov eax, 8
cmp ebp, eax
cmovl eax, ebp
mov dword [esp + 0x9c], eax
jmp 0x1010ae44
mov eax, dword [eax + 8]
imul ebp, ebx
add ebp, edi
lea ebp, [eax + ebp*8]
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, 0x55555555
imul edi
sub edx, edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ecx
add eax, ebx
lea ecx, [edi + eax*2]
add ecx, eax
shl ecx, 5
cmp word [esp + 0x14], 0
jne 0x1010ada2
movsx eax, word [esp + ecx + 0x148]
movzx edx, word [ebp + eax*8 + 2]
movzx eax, si
cmp eax, edx
jle 0x1010acdf
mov esi, edx
test edx, edx
jle 0x1010ace9
mov eax, edx
mov dword [esp + 0x14], eax
movsx eax, word [esp + ecx + 0x14a]
movzx edx, word [ebp + eax*8 + 2]
movzx eax, si
cmp eax, edx
jle 0x1010acff
mov esi, edx
movzx eax, word [esp + 0x14]
cmp eax, edx
jge 0x1010ad0e
mov eax, edx
mov dword [esp + 0x14], eax
movsx eax, word [esp + ecx + 0x14c]
movzx edx, word [ebp + eax*8 + 2]
movzx eax, si
cmp eax, edx
jle 0x1010ad24
mov esi, edx
movzx eax, word [esp + 0x14]
cmp eax, edx
jge 0x1010ad33
mov eax, edx
mov dword [esp + 0x14], eax
movsx eax, word [esp + ecx + 0x14e]
movzx edx, word [ebp + eax*8 + 2]
movzx eax, si
cmp eax, edx
jle 0x1010ad49
mov esi, edx
movzx eax, word [esp + 0x14]
cmp eax, edx
jge 0x1010ad58
mov eax, edx
mov dword [esp + 0x14], eax
movsx eax, word [esp + ecx + 0x150]
movzx edx, word [ebp + eax*8 + 2]
movzx eax, si
cmp eax, edx
jle 0x1010ad6e
mov esi, edx
movzx eax, word [esp + 0x14]
cmp eax, edx
jge 0x1010ad7d
mov eax, edx
mov dword [esp + 0x14], eax
movsx eax, word [esp + ecx + 0x152]
movzx ecx, word [ebp + eax*8 + 2]
movzx eax, si
cmp eax, ecx
jle 0x1010ad93
mov esi, ecx
movzx eax, word [esp + 0x14]
cmp eax, ecx
jge 0x1010ada2
mov eax, ecx
mov dword [esp + 0x14], eax
mov ax, word [esp + 0x14]
mov word [ebp + 6], ax
mov eax, dword [esp + 0x78]
movzx ecx, ax
mov eax, ebx
sub eax, ecx
mov word [ebp + 2], si
cdq
mov ecx, 3
idiv ecx
sub edx, 1
je 0x1010ae0b
sub edx, 1
jne 0x1010abdb
mov eax, dword [esp + 0x24]
add edi, 2
add dword [esp + 0x10], 2
mov esi, 0xffff
mov dword [esp + 0x14], edx
movzx eax, word [eax + 0x16]
sub eax, ecx
cmp edi, eax
jge 0x1010abdb
cmp ebx, 2
jle 0x1010abdb
mov ecx, dword [esp + 0x18]
dec ebx
dec ecx
mov dword [esp + 0x18], ecx
jmp 0x1010abdf
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 0x14]
sub eax, 3
cmp ebx, eax
jge 0x1010abdb
mov ecx, dword [esp + 0x18]
inc ebx
mov eax, dword [esp + 0x10]
inc ecx
dec edi
mov dword [esp + 0x18], ecx
dec eax
jmp 0x1010abe3
mov edi, dword [esp + 0x68]
movzx esi, word [esi + 0x14]
lea eax, [edx + 0x200]
add esi, 0xfffffffd
cmp ebx, esi
cmovl esi, ebx
add ecx, 0xfffffffd
cmp eax, ecx
mov dword [esp + 0x14], esi
mov ebx, ebp
cmovl ecx, eax
mov dword [esp + 0x18], ecx
cmp ebp, esi
jge 0x1010aec2
mov ebp, edi
mov dword [esp + 0x50], edi
mov edi, edx
cmp edx, ecx
jge 0x1010aeb3
mov esi, ebp
mov ebp, dword [esp + 0x24]
nop
movzx edx, word [ebp + 0x16]
lea esi, [esi + 6]
mov ecx, dword [ebp + 8]
imul edx, ebx
add edx, edi
inc edi
mov eax, dword [ecx + edx*8]
mov dword [esi - 6], eax
mov ax, word [ecx + edx*8 + 4]
mov ecx, dword [esp + 0x18]
mov word [esi - 2], ax
cmp edi, ecx
jl 0x1010ae80
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
inc ebx
add ebp, 0xc00
mov dword [esp + 0x50], ebp
cmp ebx, esi
jl 0x1010ae72
mov esi, dword [esp + 0x8c]
mov edi, 3
mov ebp, dword [esp + 0x68]
push 0x180000
push ebp
push esi
call fcn.101f8da0
add esp, 0xc
add esi, 0x180000
sub edi, 1
jne 0x1010aed2
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
cmp ebx, edx
jge 0x1010b195
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
nop dword [eax + eax]
mov ebp, eax
cmp eax, ecx
jge 0x1010b188
lea eax, [ebx + 6]
mov esi, dword [esp + 0x24]
cdq
mov edi, 6
idiv edi
add edx, 0x42
lea ecx, [edx + edx*2]
add ecx, ecx
mov dword [esp + 0x20], ecx
lea eax, [ebp + 6]
cdq
idiv edi
add edx, ecx
movsx eax, byte [edx + esi]
mov dword [esp + 0x48], eax
cmp eax, 1
je 0x1010b171
movzx ecx, word [esi + 0x16]
mov eax, dword [esi + 8]
imul ecx, ebx
add ecx, ebp
lea esi, [eax + ecx*8]
mov eax, 0x55555556
imul ebx
mov dword [esp + 0x38], esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, 0x55555555
imul ebp
sub edx, ebp
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ecx
add eax, ebx
lea ebx, [eax*2]
add ebx, ebp
add ebx, eax
shl ebx, 5
movsx edi, word [esp + ebx + 0x14a]
movsx edx, word [esp + ebx + 0x148]
movzx eax, word [esi + edi*8 + 2]
add edi, edi
movzx ecx, word [esi + edx*8 + 2]
add edx, edx
add ecx, eax
mov eax, dword [esp + 0x38]
imul esi, ecx, 0xae
movzx ecx, word [eax + edx*8 + 2]
movzx eax, word [eax + edi*8 + 2]
add ecx, eax
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x38]
imul eax, ecx, 0x2e
mov ecx, edx
sub esi, eax
mov dword [esp + 0x108], esi
movsx esi, word [esp + ebx + 0x14c]
lea eax, [esi*4]
sub ecx, eax
movzx eax, word [edi + ecx*2]
movzx ecx, word [edi + edx*2]
sub ecx, eax
movsx eax, word [esp + ebx + 0x14e]
imul edx, ecx, 0x5c
movzx ecx, word [edi + esi*8 + 2]
movsx esi, word [esp + ebx + 0x150]
movzx eax, word [edi + eax*8 + 2]
imul eax, eax, 0xdf
add edx, eax
mov eax, ecx
shl eax, 5
add eax, ecx
mov ecx, dword [esp + 0x38]
add edx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10c], edx
lea edx, [esi + esi*2]
shl edx, 2
movzx edi, word [edi + eax*2]
sub eax, edx
add edi, edi
movzx eax, word [ecx + eax*2]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x48]
add eax, edx
mov edx, dword [esp + 0x38]
movzx eax, word [edx + eax*2]
sub ecx, eax
mov edx, ecx
shl edx, 5
add edx, ecx
mov ecx, esi
shl ecx, 4
mov eax, dword [esp + 0x38]
sub eax, ecx
movzx eax, word [eax + 2]
imul eax, eax, 0x5c
add edx, eax
mov eax, dword [esp + 0x38]
movzx eax, word [eax + esi*8 + 2]
movsx esi, word [esp + ebx + 0x152]
mov ebx, dword [esp + 0x38]
imul eax, eax, 0xa4
lea ecx, [esi + esi*2]
shl ecx, 2
add edx, eax
mov dword [esp + 0x110], edx
mov edx, dword [esp + 0x48]
mov eax, edx
sub eax, ecx
movzx eax, word [ebx + eax*2]
sub edi, eax
lea eax, [ecx + edx]
movzx eax, word [ebx + eax*2]
mov ecx, esi
sub edi, eax
shl ecx, 4
mov eax, ebx
mov edx, edi
sub eax, ecx
shl edx, 5
add edx, edi
xor edi, edi
movzx eax, word [eax + 2]
imul eax, eax, 0x5c
add edx, eax
movzx eax, word [ebx + esi*8 + 2]
imul eax, eax, 0xa4
add edx, eax
mov eax, dword [esp + 0x78]
movzx ecx, ax
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x114], edx
cdq
mov ecx, 3
idiv ecx
mov eax, edx
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x40], eax
nop dword [eax + eax]
mov ecx, dword [esp + edi*4 + 0x108]
movzx esi, word [ebx + 6]
movzx edx, word [ebx + 2]
mov eax, esi
sar ecx, 8
cmp ecx, esi
cmovl eax, ecx
cmp edx, eax
jg 0x1010b134
cmp ecx, esi
mov edx, esi
cmovl edx, ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
xor eax, edi
shl eax, 9
inc edi
sub eax, dword [esp + 0x10]
add eax, dword [esp + 0x1c]
shl eax, 9
sub eax, dword [esp + 0x28]
add eax, ebp
lea eax, [eax + eax*2]
mov word [ecx + eax*2 + 2], dx
cmp edi, 4
jl 0x1010b110
mov ebx, dword [esp + 0x1c]
mov edi, 6
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
inc ebp
cmp ebp, dword [esp + 0x18]
jl 0x1010af35
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc ebx
mov dword [esp + 0x1c], ebx
cmp ebx, edx
jl 0x1010af10
mov ebx, dword [esp + 0x68]
xor edi, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x26c], edi
jle 0x1010bc7f
mov eax, dword [esp + 0x78]
lea ebp, [edx - 2]
mov ecx, dword [esp + 0x10]
movzx esi, ax
mov eax, 0x55555556
sub ecx, esi
mov dword [esp + 0x48], ebp
add ecx, 4
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x10]
lea eax, [esi + ecx*2]
add eax, ecx
mov dword [esp + 0x70], eax
cmp edi, 1
jne 0x1010b209
push 0x600000
push dword [esp + 0x6c]
add ebx, 0x600000
push ebx
mov dword [esp + 0x44], ebx
call fcn.101f8da0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x1010b211
test edi, edi
je 0x1010b407
lea ebx, [edx + 2]
mov dword [esp + 0x30], ebx
cmp ebx, ebp
jge 0x1010b407
mov edx, dword [esp + 0x28]
lea ecx, [ebx + 6]
mov eax, dword [esp + 0x18]
add edx, 2
add eax, 0xfffffffe
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], ecx
nop dword [eax]
mov edi, edx
cmp edi, eax
jge 0x1010b3f1
mov eax, ecx
mov ebp, dword [esp + 0x24]
cdq
mov esi, 6
idiv esi
lea eax, [edi + 6]
add edx, 0x42
mov dword [esp + 0x58], eax
lea ecx, [edx + edx*2]
add ecx, ecx
mov dword [esp + 0x34], ecx
nop dword [eax + eax]
cdq
idiv esi
add edx, ecx
movsx eax, byte [edx + ebp]
mov dword [esp + 0x50], eax
cmp eax, 1
je 0x1010b3cd
movzx eax, word [ebp + 0x16]
imul eax, ebx
add eax, edi
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 8]
mov ebp, 3
mov dword [esp + 0x1c], eax
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [eax + eax*2]
mov eax, 0x55555555
imul edi
sub edx, edi
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
add ecx, ebx
lea eax, [edi + ecx*2]
add eax, ecx
lea ecx, [esp + 0x158]
shl eax, 5
add ecx, eax
mov eax, ebx
mov ebx, dword [esp + 0x78]
movzx edx, bx
mov ebx, ebp
sub eax, edx
mov dword [esp + 0x20], ecx
cdq
idiv ebx
mov ebx, edx
neg ebx
sbb ebx, ebx
inc ebx
movsx ecx, word [ecx + ebp*2]
lea eax, [ebp - 2]
xor eax, ebx
mov edx, dword [esp + 0x38]
shl eax, 9
sub eax, dword [esp + 0x10]
add eax, dword [esp + 0x30]
lea esi, [ecx + ecx*2]
shl eax, 9
add esi, esi
sub eax, dword [esp + 0x28]
add eax, edi
lea eax, [eax + eax*2]
lea edx, [edx + eax*2]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], edx
lea eax, [eax + ecx*2]
add eax, ecx
lea ecx, [ecx + ecx*2]
shl ecx, 2
movzx eax, word [edx + eax*2]
movzx edx, word [esi + edx + 2]
sub edx, eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
movzx eax, word [eax + 2]
lea ecx, [eax + edx*2]
mov edx, dword [esp + 0x50]
mov eax, edx
sub eax, esi
mov esi, dword [esp + 0x2c]
movzx eax, word [esi + eax*2]
sub ecx, eax
movzx eax, word [esi + edx*2]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
lea eax, [eax + eax*2]
add ecx, eax
mov eax, dword [esp + 0x4c]
movzx eax, word [edx + eax*8 + 6]
mov dword [esp + 0x6c], eax
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0x6c]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x4c]
cmp ecx, eax
cmovl eax, ecx
movzx edx, word [esi + edx*8 + 2]
cmp edx, eax
jg 0x1010b3a6
mov edx, dword [esp + 0x6c]
cmp ecx, edx
cmovl edx, ecx
mov esi, dword [esp + 0x2c]
inc ebp
mov ecx, dword [esp + 0x20]
mov word [esi + 2], dx
cmp ebp, 6
jl 0x1010b2f2
mov ebx, dword [esp + 0x30]
mov esi, 6
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x58]
inc edi
inc eax
mov dword [esp + 0x58], eax
cmp edi, dword [esp + 0x5c]
jl 0x1010b270
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x48]
inc ebx
inc ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], ecx
cmp ebx, ebp
jl 0x1010b240
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x70], ebp
jge 0x1010b70e
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x28]
movzx esi, ax
mov eax, 0x55555556
sub ecx, esi
add ecx, 4
imul ecx
mov ecx, dword [esp + 0x48]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ebp, [esi + eax*2]
mov esi, dword [esp + 0x18]
add ebp, eax
add esi, 0xfffffffe
mov eax, dword [esp + 0x70]
mov edi, eax
sub edi, dword [esp + 0x10]
sub ecx, eax
dec ecx
shl edi, 9
sub edi, dword [esp + 0x28]
lea ebx, [eax + 6]
mov dword [esp + 0x50], ebp
mov eax, 0xaaaaaaab
mov dword [esp + 0x2c], esi
mul ecx
mov dword [esp + 0x4c], ebx
mov eax, edx
mov dword [esp + 0x30], edi
shr eax, 1
inc eax
mov dword [esp + 0x44], eax
nop dword [eax]
cmp ebp, esi
jge 0x1010b6ec
mov eax, ebx
mov ecx, 6
cdq
lea ebx, [ebp + 7]
idiv ecx
mov ecx, dword [esp + 0x38]
lea eax, [edi + ebp]
lea eax, [eax + eax*2]
mov dword [esp + 0x58], ebx
add edx, 0x42
lea ebp, [ecx + eax*2]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x50]
mov eax, 0xaaaaaaab
dec ecx
mov dword [esp + 0x5c], ebp
lea esi, [edx + edx*2]
mul ecx
add esi, esi
mov ecx, edx
mov dword [esp + 0x80], esi
shr ecx, 1
inc ecx
mov dword [esp + 0x6c], ecx
mov eax, ebx
mov ecx, 6
cdq
xorps xmm0, xmm0
idiv ecx
mov eax, dword [esp + 0x24]
add edx, esi
movq qword [esp + 0xb0], xmm0
movups xmmword [esp + 0xa0], xmm0
xor ebx, ebx
movsx edi, byte [edx + eax]
mov eax, 1
mov dword [esp + 0x1c], eax
movzx esi, word [ebp + 2]
lea ecx, [eax + eax*2]
add ecx, ecx
mov eax, ebp
sub eax, ecx
add esi, esi
mov edx, esi
movzx ecx, word [ecx + ebp + 2]
movzx eax, word [eax + 2]
sub edx, ecx
sub edx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
lea ecx, [eax + eax*2]
mov eax, edi
sub eax, ecx
movzx eax, word [ebp + eax*2]
mov dword [esp + 0x54], eax
lea eax, [ecx + edi]
movzx ecx, word [ebp + eax*2]
lea eax, [ebx + edi*8]
mov dword [esp + 0x20], ecx
add ecx, dword [esp + 0x54]
add ecx, edx
mov dword [esp + eax*4 + 0xe8], ecx
cmp ebx, 1
jle 0x1010b591
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x20]
sub eax, dword [esp + 0x34]
add eax, dword [esp + 0x3c]
imul eax, eax
imul edx, edx
add eax, edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + ebx*4 + 0xa0]
movss dword [esp + ebx*4 + 0xa0], xmm0
mov edx, dword [esp + 0x1c]
mov eax, ebp
add edx, edx
xor edi, 2
lea ecx, [edx + edx*2]
add ecx, ecx
sub eax, ecx
movzx ecx, word [ecx + ebp + 2]
movzx eax, word [eax + 2]
sub esi, ecx
sub esi, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
mov eax, edi
lea ecx, [edx + edx*2]
sub eax, ecx
movzx edx, word [ebp + eax*2]
lea eax, [ecx + edi]
movzx eax, word [ebp + eax*2]
mov dword [esp + 0x20], eax
lea ecx, [eax + edx]
add ecx, esi
lea eax, [ebx + edi*8]
mov dword [esp + eax*4 + 0xe8], ecx
cmp ebx, 1
jle 0x1010b613
sub edx, dword [esp + 0x20]
sub edx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
add eax, edx
imul esi, esi
imul eax, eax
add eax, esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + ebx*4 + 0xa0]
movss dword [esp + ebx*4 + 0xa0], xmm0
xor edi, 2
cmp ebx, 1
jle 0x1010b64f
test bl, 1
je 0x1010b64f
movss xmm0, dword [esp + ebx*4 + 0xa0]
comiss xmm0, dword [esp + ebx*4 + 0x9c]
jbe 0x1010b64f
mov eax, dword [esp + ebx*4 + 0xe4]
mov dword [esp + ebx*4 + 0xe8], eax
mov eax, dword [esp + ebx*4 + 0x124]
mov dword [esp + ebx*4 + 0x128], eax
cmp ebx, 2
jl 0x1010b659
test bl, 1
je 0x1010b696
lea esi, [esp + 0xe8]
xor ecx, ecx
lea esi, [esi + ebx*4]
mov eax, dword [esi]
cmp eax, 0x1fffe
jge 0x1010b67d
cdq
sub eax, edx
mov edx, 0
sar eax, 1
cmovs eax, edx
jmp 0x1010b682
mov eax, 0xffff
mov word [ebp + ecx*4], ax
add esi, 0x40
inc ecx
cmp ecx, 2
jl 0x1010b665
add ebp, 0x180000
mov eax, dword [esp + 0x1c]
inc ebx
xor eax, 0x201
xor edi, 2
mov dword [esp + 0x1c], eax
cmp ebx, 6
jl 0x1010b505
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
add ebp, 0x12
mov esi, dword [esp + 0x80]
add ebx, 3
sub dword [esp + 0x6c], 1
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
jne 0x1010b4d2
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x2c]
add edi, 0x600
add ebx, 3
sub eax, 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], eax
jne 0x1010b480
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea ebp, [edx + 3]
add eax, 0xfffffffd
cmp ebp, eax
jge 0x1010b9ab
mov esi, dword [esp + 0x78]
mov edi, ebp
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
movzx edx, si
add eax, 0xfffffffd
mov esi, ebp
mov dword [esp + 0x4c], eax
sub esi, dword [esp + 0x10]
lea ecx, [ebx + 3]
shl esi, 9
sub edi, edx
sub esi, ebx
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0x14]
lea edx, [ebp + 6]
add ebx, 0xfffffffd
mov dword [esp + 0x30], edi
sub ebx, ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], ebx
nop dword [eax + eax]
mov dword [esp + 0x6c], ecx
cmp ecx, eax
jge 0x1010b982
mov eax, edx
mov ebp, 6
cdq
idiv ebp
lea eax, [ecx + 6]
add edx, 0x42
mov dword [esp + 0x50], eax
lea ebx, [edx + edx*2]
add ebx, ebx
mov dword [esp + 0x74], ebx
nop dword [eax]
cdq
idiv ebp
mov eax, dword [esp + 0x24]
add edx, ebx
mov ebx, 2
movsx eax, byte [edx + eax]
sub ebx, eax
mov dword [esp + 0x54], ebx
cmp ebx, 1
je 0x1010b95a
lea eax, [esi + ecx]
mov ecx, dword [esp + 0x38]
lea eax, [eax + eax*2]
lea ebp, [ecx + eax*2]
mov eax, edi
cdq
mov ecx, 3
idiv ecx
mov dword [esp + 0x1c], ebp
neg edx
sbb edi, edi
and edi, 0x1ff
inc edi
mov eax, edi
mov dword [esp + 0x44], edi
xor eax, 0x201
xor ecx, ecx
mov dword [esp + 0x5c], ecx
lea edx, [eax + eax*2]
mov dword [esp + 0x58], edx
nop
cmp ecx, 1
jg 0x1010b8c4
mov eax, edi
xor eax, ecx
test al, 1
jne 0x1010b8c4
movzx ebx, word [ebp + 2]
lea ecx, [edx + edx*2]
add ecx, ecx
mov dword [esp + 0x2c], ebx
mov edx, ebx
mov eax, ebp
sub eax, ecx
movzx eax, word [eax + 2]
sub ebx, eax
mov eax, ebx
mov dword [esp + 0x90], ebx
sar eax, 0x1f
mov ebx, edx
mov dword [esp + 0x80], eax
movzx eax, word [ecx + ebp + 2]
lea ecx, [edi + edi*2]
sub ebx, eax
add ecx, ecx
mov eax, ebp
mov edi, edx
sub eax, ecx
mov esi, ebx
sar esi, 0x1f
mov dword [esp + 0x94], esi
xor esi, ebx
mov ebx, dword [esp + 0x54]
movzx eax, word [eax + 2]
sub edi, eax
mov eax, dword [esp + 0x1c]
mov ebp, edi
sar ebp, 0x1f
movzx eax, word [ecx + eax + 2]
sub edx, eax
mov eax, dword [esp + 0x80]
xor eax, dword [esp + 0x90]
add esi, eax
mov dword [esp + 0x2c], edx
sub esi, dword [esp + 0x94]
mov eax, ebp
sub esi, dword [esp + 0x80]
xor eax, edi
mov edi, dword [esp + 0x44]
add esi, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x58]
sub ecx, edx
sub ecx, ebp
mov ebp, dword [esp + 0x1c]
cmp ecx, esi
jge 0x1010b8c6
mov eax, edi
lea ecx, [eax + eax*2]
lea esi, [eax + eax*2]
mov eax, ebx
sub eax, ecx
add esi, esi
movzx edx, word [ebp + eax*2]
lea eax, [ebx + ecx]
movzx eax, word [ebp + eax*2]
add edx, eax
mov eax, ebp
sub eax, esi
movzx eax, word [eax + 2]
sub edx, eax
movzx eax, word [esi + ebp + 2]
sub edx, eax
movzx eax, word [ebp + 2]
lea ecx, [edx + eax*2]
cmp ecx, 0x1fffe
jge 0x1010b91f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
jns 0x1010b90e
xor eax, eax
jmp 0x1010b924
cmp ecx, 0x1fffe
jge 0x1010b91f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x1010b924
mov eax, 0xffff
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
inc ecx
mov word [ebp + ebx*2], ax
add ebp, 0x180000
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x1c], ebp
cmp ecx, 4
jl 0x1010b800
mov ecx, dword [esp + 0x6c]
mov ebp, 6
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
inc ecx
mov ebx, dword [esp + 0x74]
inc eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x50], eax
cmp ecx, dword [esp + 0x4c]
jl 0x1010b7a0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
inc edx
add esi, 0x200
mov dword [esp + 0x3c], edx
inc edi
mov dword [esp + 0x34], esi
sub ebx, 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], ebx
jne 0x1010b770
mov edx, dword [esp + 0x10]
lea ebp, [edx + 2]
mov dword [esp + 0x54], ebp
cmp ebp, dword [esp + 0x48]
jge 0x1010bc5d
mov ebx, dword [esp + 0x78]
mov esi, ebp
movzx ecx, bx
sub esi, edx
mov ebx, dword [esp + 0x28]
mov eax, ebp
sub eax, ecx
shl esi, 9
mov ecx, dword [esp + 0x48]
sub esi, ebx
mov dword [esp + 0x5c], eax
mov edi, 3
mov dword [esp + 0x58], esi
cdq
idiv edi
test edx, edx
je 0x1010bc39
mov eax, dword [esp + 0x18]
add ebx, 2
add eax, 0xfffffffe
cmp ebx, eax
jge 0x1010bc35
mov eax, dword [esp + 0x84]
mov ecx, ebx
movzx eax, ax
sub ecx, eax
mov dword [esp + 0x44], ecx
mov eax, ecx
cdq
idiv edi
test edx, edx
je 0x1010bc1c
mov ecx, dword [esp + 0x38]
lea eax, [esi + ebx]
lea eax, [eax + eax*2]
lea edi, [ecx + eax*2]
mov eax, 0x55555556
imul ebp
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [eax + eax*2]
mov eax, 0x55555555
imul ebx
sub edx, ebx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [esp + 0x158]
sub ecx, esi
add ecx, ebp
lea eax, [ebx + ecx*2]
add eax, ecx
shl eax, 5
add edx, eax
xor eax, eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x3c], eax
movzx ecx, word [edx + eax*2 + 2]
movzx eax, word [edx + eax*2]
mov dword [esp + 0x20], ecx
movsx ecx, cx
movsx edx, ax
mov dword [esp + 0x34], eax
lea eax, [edx + ecx]
test eax, eax
je 0x1010bb4f
lea eax, [edx + edx*2]
movzx esi, word [edi + eax*2 + 2]
lea eax, [ecx + ecx*2]
movzx eax, word [edi + eax*2 + 2]
neg esi
add esi, esi
sub esi, eax
movzx eax, word [edi + 2]
lea eax, [eax + eax*2]
add esi, eax
mov eax, dword [esp + 0x34]
movzx ecx, ax
xor ebp, ebp
mov eax, dword [esp + 0x20]
movzx eax, ax
cwde
lea eax, [eax + eax*2]
lea edx, [edi + eax*2]
movsx eax, cx
mov dword [esp + 0x1c], edx
lea eax, [eax + eax*2]
lea eax, [edi + eax*2]
mov dword [esp + 0x20], eax
nop dword [eax]
movzx ecx, word [eax]
movzx eax, word [edx]
add eax, esi
lea ecx, [eax + ecx*2]
cmp ecx, 0x2fffd
jge 0x1010bb27
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
jns 0x1010bb0b
xor eax, eax
jmp 0x1010bb2c
cmp ecx, 0x2fffd
jge 0x1010bb27
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
jmp 0x1010bb2c
mov eax, 0xffff
mov word [edi + ebp*2], ax
add edx, 4
mov eax, dword [esp + 0x20]
add ebp, 2
add eax, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
cmp ebp, 4
jl 0x1010bae0
jmp 0x1010bbec
movzx esi, word [edi + 2]
lea eax, [ecx + ecx*2]
movzx eax, word [edi + eax*2 + 2]
add esi, esi
sub esi, eax
lea eax, [edx + edx*2]
movzx eax, word [edi + eax*2 + 2]
sub esi, eax
mov eax, dword [esp + 0x20]
movzx ecx, ax
xor ebp, ebp
mov eax, dword [esp + 0x34]
movzx eax, ax
cwde
lea eax, [eax + eax*2]
lea edx, [edi + eax*2]
movsx eax, cx
mov dword [esp + 0x1c], edx
lea eax, [eax + eax*2]
lea eax, [edi + eax*2]
mov dword [esp + 0x20], eax
movzx ecx, word [edx]
movzx eax, word [eax]
add ecx, esi
add ecx, eax
cmp ecx, 0x1fffe
jge 0x1010bbc9
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
jns 0x1010bbb4
xor eax, eax
jmp 0x1010bbce
cmp ecx, 0x1fffe
jge 0x1010bbc9
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
jmp 0x1010bbce
mov eax, 0xffff
mov word [edi + ebp*2], ax
add edx, 4
mov eax, dword [esp + 0x20]
add ebp, 2
add eax, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
cmp ebp, 4
jl 0x1010bb91
mov eax, dword [esp + 0x3c]
add edi, 0x180000
mov edx, dword [esp + 0x60]
add eax, 2
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x64]
jl 0x1010ba70
mov ecx, dword [esp + 0x44]
mov edi, 3
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
inc ebx
inc ecx
add eax, 0xfffffffe
mov dword [esp + 0x44], ecx
cmp ebx, eax
jl 0x1010ba14
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x5c]
inc ebp
inc eax
mov dword [esp + 0x54], ebp
add esi, 0x200
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], esi
cmp ebp, ecx
jl 0x1010b9e5
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
inc edi
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x40], edi
cmp edi, dword [esp + 0x26c]
jl 0x1010b1e2
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x10]
xor ebx, ebx
mov esi, dword [esp + 0x18]
sub esi, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x14], edx
lea eax, [edx - 2]
mov dword [esp + 0x18], esi
lea ecx, [edx - 3]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x70], eax
mov edx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], edi
jmp 0x1010bcb5
mov esi, dword [esp + 0x18]
mov ebp, 2
mov dword [esp + 0x40], ebp
cmp eax, ebp
jle 0x1010bd3a
mov ecx, dword [esp + 0x7c]
lea edx, [esi - 2]
add ecx, 0x180c
mov dword [esp + 0x60], edx
mov dword [esp + 0x20], ecx
cmp edx, 2
jle 0x1010bd1f
mov esi, dword [esp + 0x68]
lea eax, [edi + ebp]
mov ebp, dword [esp + 0x24]
lea ebx, [edx - 2]
imul eax, eax, 0xc00
add esi, 0xc
mov edi, ecx
add esi, eax
push edi
push esi
mov ecx, ebp
call fcn.1010a3d0
add edi, 6
add esi, 6
sub ebx, 1
jne 0x1010bcf7
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x70]
inc ebp
add ecx, 0xc00
mov dword [esp + 0x40], ebp
mov dword [esp + 0x20], ecx
cmp ebp, eax
jl 0x1010bcd7
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x4c]
mov eax, ebx
and eax, 3
movsx ecx, word [eax*2 + 0x1029e028]
mov eax, 3
mov dword [esp + 0x74], ecx
mov dword [esp + 0x3c], eax
cmp edx, eax
jle 0x1010be94
mov esi, dword [esp + 0x18]
mov ebx, 0x2400
add esi, 0xfffffffd
mov dword [esp + 0x44], ebx
mov dword [esp + 0x60], esi
cmp esi, 3
jle 0x1010be75
mov ebp, dword [esp + 0x7c]
lea edx, [ecx + ecx*2]
add eax, edi
add edx, edx
shl eax, 0xb
add eax, 0x18000c
mov dword [esp + 0x34], edx
add eax, ebp
lea ecx, [ebp + 0x12]
mov dword [esp + 0x40], eax
add ebp, 0x12
lea eax, [edx + ebx]
add ecx, eax
mov eax, ebx
sub eax, edx
mov dword [esp + 0x2c], ecx
add ebp, eax
lea eax, [esi - 3]
mov dword [esp + 0x20], eax
movsx ebx, word [edx + ebp]
lea ebp, [ebp + 6]
movsx edi, word [edx + ebp - 2]
add ebx, ebx
movsx eax, word [ebp - 6]
add edi, edi
sub ebx, eax
movsx eax, word [ecx]
sub ebx, eax
movsx eax, word [ebp - 2]
sub edi, eax
imul esi, ebx, 0x1f4
movsx eax, word [ecx + 4]
sub edi, eax
imul ebx, ebx
mov eax, 0xe1fc780f
imul esi
add edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, dword [esp + 0x34]
imul edi, edi
movsx ecx, word [eax + ebp - 4]
movsx eax, word [ebp - 4]
add ecx, ecx
sub ecx, eax
mov eax, dword [esp + 0x2c]
movsx eax, word [eax + 2]
sub ecx, eax
mov eax, 0x8d3dcb09
imul esi
add edx, esi
sar edx, 7
add ecx, edx
mov eax, edx
shr eax, 0x1f
add eax, ecx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
imul eax, eax
add ecx, 6
mov dword [esp + 0x2c], ecx
add eax, edi
add eax, ebx
movd xmm0, eax
mov eax, dword [esp + 0x40]
cvtdq2ps xmm0, xmm0
movss dword [eax], xmm0
add eax, 4
sub dword [esp + 0x20], 1
mov dword [esp + 0x40], eax
jne 0x1010bdb2
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
inc eax
add ebx, 0xc00
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ebx
cmp eax, edx
jl 0x1010bd70
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x64]
inc ebx
mov eax, dword [esp + 0x70]
add edi, 0x200
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x1c], edi
cmp ebx, esi
jl 0x1010bcb1
push dword [esp + 0x98]
mov ebx, dword [esp + 0x8c]
push 0
push ebx
call fcn.101f9320
mov edx, dword [esp + 0x20]
mov edi, 4
add esp, 0xc
mov dword [esp + 0x2c], edi
lea eax, [edx - 4]
mov dword [esp + 0x3c], eax
cmp eax, edi
jle 0x1010c08b
mov eax, dword [esp + 0x18]
lea ebp, [ebx + 0x804]
mov edx, dword [esp + 0x7c]
add eax, 0xfffffffc
mov ecx, dword [esp + 0x3c]
add edx, 0x382010
mov dword [esp + 0x70], edx
mov dword [esp + 0x44], ebp
nop dword [eax + eax]
mov ebx, 4
mov dword [esp + 0x40], ebx
cmp eax, ebx
jle 0x1010c066
lea ecx, [esi - 4]
mov dword [esp + 0x34], ebp
shr ecx, 2
mov esi, ebp
inc ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x60], ecx
mov ebp, edx
nop dword [eax + eax]
movss xmm1, dword [0x102abb88]
lea edx, [ecx*4]
mov eax, ebp
movss xmm0, dword [eax - 0x200000]
lea eax, [eax + 0x400000]
minss xmm0, xmm1
movss xmm1, dword [eax - 0x500000]
minss xmm1, xmm0
movss xmm0, dword [eax - 0x400000]
minss xmm0, xmm1
movss xmm1, dword [eax - 0x300000]
minss xmm1, xmm0
sub ecx, 1
jne 0x1010bf51
mov ecx, dword [esp + 0x64]
cmp edx, ecx
jge 0x1010bfc6
mov eax, edx
shl eax, 9
add eax, edi
shl eax, 9
add eax, ebx
mov ebx, dword [esp + 0x7c]
add ebx, 0x180000
sub ecx, edx
lea eax, [ebx + eax*4]
nop
movss xmm0, dword [eax]
lea eax, [eax + 0x100000]
minss xmm0, xmm1
movaps xmm1, xmm0
sub ecx, 1
jne 0x1010bfb0
mulss xmm1, dword [0x103d7f3c]
lea edi, [ebp - 0x200804]
mov ebp, dword [esp + 0x64]
mov ecx, esi
nop word [eax + eax]
mov edx, edi
mov ebx, 3
nop word [eax + eax]
mov eax, edx
mov esi, 3
comiss xmm1, dword [eax]
jb 0x1010bffe
inc byte [ecx]
add eax, 4
sub esi, 1
jne 0x1010bff7
add edx, 0x800
sub ebx, 1
jne 0x1010bff0
add edi, 0x100000
add ecx, 0x40000
sub ebp, 1
jne 0x1010bfe0
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
inc ebx
mov esi, dword [esp + 0x34]
add ebp, 4
mov eax, dword [esp + 0x18]
inc esi
mov edi, dword [esp + 0x2c]
add eax, 0xfffffffc
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x34], esi
cmp ebx, eax
jl 0x1010bf40
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x64]
inc edi
add ebp, 0x200
add edx, 0x800
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x70], edx
cmp edi, ecx
jl 0x1010bf10
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
movzx eax, word [esi + 0x14]
sub eax, ebp
cmp eax, 0x204
jge 0x1010c0a3
lea edx, [eax + 2]
movzx eax, word [esi + 0x16]
mov ecx, dword [esp + 0x28]
sub eax, ecx
cmp eax, 0x204
jge 0x1010c0bd
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x1010c0c1
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x9c]
add edx, 0xfffffff8
cmp edi, edx
jge 0x1010c33d
mov ebx, dword [esp + 0x10]
mov ebp, 8
cmp ecx, ebp
cmovl ebp, ecx
mov ecx, edi
shl ecx, 9
add ebx, edi
add eax, 0xfffffff8
mov dword [esp + 0x74], ebp
sub edx, edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], edx
nop dword [eax]
mov dword [esp + 0x20], ebp
cmp ebp, eax
jge 0x1010c319
mov edx, dword [esp + 0x68]
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x88]
add ecx, 0xfffffbfe
add ecx, eax
lea eax, [eax + eax*2]
lea eax, [eax + 2]
mov dword [esp + 0x34], ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x2c], eax
nop dword [eax]
nop word [eax + eax]
xor edx, edx
mov ebx, ecx
nop dword [eax]
nop dword [eax + eax]
mov dword [esp + edx*4 + 0xc8], 0
xor ecx, ecx
mov edi, ebx
mov dword [esp + 0x40], 5
nop word [eax + eax]
mov esi, edi
mov ebp, 5
movsx eax, byte [esi]
inc esi
add ecx, eax
sub ebp, 1
jne 0x1010c177
add edi, 0x200
sub dword [esp + 0x40], 1
jne 0x1010c170
mov dword [esp + edx*4 + 0xc8], ecx
add ebx, 0x40000
inc edx
cmp edx, dword [esp + 0x64]
jl 0x1010c150
mov edx, dword [esp + 0x64]
xor eax, eax
lea ebx, [edx - 4]
test ebx, ebx
jle 0x1010c1e5
mov ecx, dword [esp + eax*4 + 0xd8]
mov edx, dword [esp + eax*4 + 0xc8]
cmp edx, ecx
jge 0x1010c1cf
mov dword [esp + eax*4 + 0xc8], 0
jmp 0x1010c1dc
jle 0x1010c1dc
mov dword [esp + eax*4 + 0xd8], 0
inc eax
cmp eax, ebx
jl 0x1010c1b0
mov edx, dword [esp + 0x64]
movzx eax, word [esp + 0xc8]
mov ecx, 1
mov dword [esp + 0x14], eax
mov si, ax
nop dword [eax]
movzx eax, si
cmp eax, dword [esp + ecx*4 + 0xc8]
jge 0x1010c21b
movzx eax, word [esp + ecx*4 + 0xc8]
mov dword [esp + 0x14], eax
mov si, ax
inc ecx
cmp ecx, edx
jl 0x1010c200
mov ecx, dword [esp + 0x2c]
mov ax, si
shr ax, 3
xorps xmm0, xmm0
sub si, ax
xor edx, edx
movups xmmword [esp + 0xb8], xmm0
mov edi, dword [esp + 0xc0]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xb8]
movzx eax, si
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x60], eax
nop
cmp dword [esp + edx*4 + 0xc8], eax
jl 0x1010c27f
movzx eax, word [ecx - 4]
add ebp, eax
movzx eax, word [ecx - 2]
add ebx, eax
movzx eax, word [ecx]
add edi, eax
mov eax, dword [esp + 0x60]
inc esi
inc edx
add ecx, 0x180000
cmp edx, dword [esp + 0x64]
jl 0x1010c260
mov eax, ebp
mov ecx, dword [esp + 0x24]
cdq
idiv esi
movzx edx, word [ecx + 0x16]
imul edx, dword [esp + 0x30]
mov ecx, dword [ecx + 8]
mov ebp, dword [esp + 0x20]
add dword [esp + 0x2c], 6
add edx, dword [esp + 0x28]
add edx, ebp
mov word [ecx + edx*8], ax
mov eax, ebx
cdq
idiv esi
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
movzx edx, word [ecx + 0x16]
mov ecx, dword [ecx + 8]
imul edx, ebx
add edx, dword [esp + 0x28]
add edx, ebp
mov word [ecx + edx*8 + 2], ax
mov eax, edi
cdq
idiv esi
mov esi, dword [esp + 0x24]
movzx edx, word [esi + 0x16]
mov ecx, dword [esi + 8]
imul edx, ebx
add edx, dword [esp + 0x28]
add edx, ebp
inc ebp
mov dword [esp + 0x20], ebp
mov word [ecx + edx*8 + 4], ax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
inc ecx
add eax, 0xfffffff8
mov dword [esp + 0x34], ecx
cmp ebp, eax
jl 0x1010c140
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x74]
inc ebx
add ecx, 0x200
mov dword [esp + 0x30], ebx
sub edx, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], edx
jne 0x1010c100
mov ebp, dword [esp + 0x10]
movzx ecx, word [esi + 0x16]
lea ebx, [ebp + 0x200]
mov edx, dword [esp + 0x28]
add edx, 0x1f0
mov dword [esp + 0x28], edx
lea eax, [ecx - 0x13]
cmp edx, eax
jl 0x1010ae40
movzx eax, word [esi + 0x14]
add ebp, 0x1f0
sub eax, 0x13
mov dword [esp + 0x10], ebp
cmp ebp, eax
jl 0x1010ac30
push dword [esp + 0x68]
mov ecx, esi
call fcn.1012fed0
push 8
mov ecx, esi
call fcn.10109250
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret 4