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

Disassembly:
sub esp, 0x260
push ebx
mov ebx, ecx
mov eax, 0x200
xorps xmm0, xmm0
mov dword [esp + 0x44], ebx
movups xmmword [esp + 0x8c], xmm0
cmp word [ebx + 0x16], ax
jb 0x10131c89
cmp word [ebx + 0x14], ax
jb 0x10131c89
push ebp
push esi
mov ecx, 6
xor ebp, ebp
push edi
mov dword [esp + 0x1c], ecx
jmp 0x1012fbc6
mov ecx, 6
lea eax, [ebp + 6]
cdq
idiv ecx
mov ecx, 6
add edx, 0x44
mov esi, ecx
lea edi, [edx + edx*2]
add edi, edi
nop dword [eax + eax]
mov eax, ecx
inc ecx
cdq
idiv dword [esp + 0x1c]
add edx, edi
movsx eax, byte [edx + ebx]
inc dword [esp + eax*4 + 0x98]
sub esi, 1
jne 0x1012fbe0
inc ebp
cmp ebp, 6
jl 0x1012fbc1
mov eax, dword [esp + 0x98]
add eax, 0xfffffffa
cmp eax, 4
ja 0x10131c72
mov eax, dword [esp + 0x9c]
add eax, 0xfffffff0
cmp eax, 8
ja 0x10131c72
mov eax, dword [esp + 0xa0]
add eax, 0xfffffffa
cmp eax, 4
ja 0x10131c72
cmp dword [esp + 0xa4], esi
jne 0x10131c72
mov eax, 0x7fbc7fbc
lea edi, [esp + 0x150]
mov ecx, 0x48
rep stosd dword es:[edi], eax
push esi
push esi
mov ecx, ebx
call fcn.1012f8a0
xor eax, eax
mov ecx, ebx
cmp dword [esp + 0x274], 1
setg al
lea eax, [eax*4 + 4]
mov dword [esp + 0x60], eax
imul eax, eax, 0x2c0000
add eax, 0x180000
push eax
call fcn.10168c80
mov ebp, eax
mov ecx, ebx
push str.xtrans_interpolate__
push ebp
mov dword [esp + 0x78], ebp
call fcn.10168d40
imul eax, dword [esp + 0x60], 0x280000
imul ecx, dword [esp + 0x60], 0x180000
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
add eax, 0x180000
mov dword [esp + 0x20], esi
add eax, ebp
add ecx, ebp
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
add eax, 6
mov ecx, 6
cdq
xor esi, esi
idiv ecx
mov dword [esp + 0x18], esi
add edx, 0x44
lea ecx, [edx + edx*2]
add ecx, ecx
mov dword [esp + 0x38], ecx
nop
lea eax, [esi + 6]
xor edi, edi
cdq
xor ebp, ebp
idiv dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x5c], edi
add edx, ecx
cmp byte [edx + ebx], 1
sete al
mov dword [esp + 0x3c], eax
mov eax, 0x102b449a
mov dword [esp + 0x34], eax
nop dword [eax + eax]
movsx ecx, word [eax - 6]
movsx eax, word [eax - 2]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
add eax, 6
mov dword [esp + 0x2c], ecx
add eax, ecx
mov ecx, 6
cdq
idiv ecx
mov eax, dword [esp + 0x58]
add edx, 0x44
add eax, 6
add eax, esi
lea ecx, [edx + edx*2]
cdq
idiv dword [esp + 0x1c]
lea eax, [ebp + 1]
xor ebp, ebp
add edx, ebx
cmp byte [edx + ecx*2], 1
cmovne ebp, eax
mov dword [esp + 0x44], ebp
cmp ebp, 4
jne 0x1012fd91
mov eax, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x7c], eax
movzx eax, si
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + 1]
cmp ebp, eax
jne 0x1013025b
mov ebx, dword [esp + 0x34]
mov edi, ecx
shl edi, 5
mov dword [esp + 0x54], edi
movsx eax, word [ebx - 4]
movsx esi, word [edi + 0x102b44b2]
movsx ecx, word [edi + 0x102b44b0]
mov edx, esi
imul edx, eax
mov eax, ecx
imul eax, dword [esp + 0x2c]
imul ecx, dword [esp + 0x58]
movsx ebp, word [ebx]
imul esi, ebp
mov ebx, dword [esp + 0x14]
add edx, eax
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
add esi, ecx
cmp edx, eax
cmovl eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp edx, eax
cmovg eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
cmp edx, eax
cmovl eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
cmp edx, eax
cmovg eax, edx
add ebx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
add eax, eax
shl ebx, 4
and eax, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x84], ebx
lea ecx, [eax + ebx]
movzx eax, word [edi + 0x16]
mov edi, dword [esp + 0x54]
imul eax, edx
shl edx, 9
add edx, esi
add eax, esi
movsx esi, word [edi + 0x102b44b6]
mov word [esp + ecx*2 + 0x150], ax
mov word [esp + ecx*2 + 0x160], dx
mov edx, esi
movsx ecx, word [edi + 0x102b44b4]
mov edi, dword [esp + 0x34]
imul esi, ebp
movsx eax, word [edi - 4]
imul edx, eax
mov eax, ecx
imul eax, dword [esp + 0x2c]
imul ecx, dword [esp + 0x58]
add edx, eax
mov eax, dword [esp + 0x10]
add esi, ecx
cmp edx, eax
mov ecx, dword [esp + 0x40]
cmovl eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp edx, eax
cmovg eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
cmp edx, eax
cmovl eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
cmp edx, eax
cmovg eax, edx
xor ecx, 1
mov dword [esp + 0x20], eax
add ecx, ebx
mov edi, dword [esp + 0x50]
movzx eax, word [edi + 0x16]
imul eax, edx
mov edi, dword [esp + 0x54]
shl edx, 9
add edx, esi
add eax, esi
movsx esi, word [edi + 0x102b44b8]
mov word [esp + ecx*2 + 0x150], ax
mov word [esp + ecx*2 + 0x160], dx
movsx ecx, word [edi + 0x102b44ba]
mov edi, dword [esp + 0x34]
mov edx, ecx
imul ecx, ebp
movsx eax, word [edi - 4]
imul edx, eax
mov eax, esi
imul eax, dword [esp + 0x2c]
imul esi, dword [esp + 0x58]
mov edi, dword [esp + 0x50]
add edx, eax
mov eax, dword [esp + 0x10]
add esi, ecx
cmp edx, eax
mov ecx, dword [esp + 0x40]
cmovl eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp edx, eax
cmovg eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
cmp edx, eax
cmovl eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
cmp edx, eax
cmovg eax, edx
xor ecx, 2
mov dword [esp + 0x20], eax
add ecx, ebx
movzx eax, word [edi + 0x16]
mov edi, dword [esp + 0x54]
imul eax, edx
shl edx, 9
add edx, esi
add eax, esi
movsx esi, word [edi + 0x102b44bc]
mov word [esp + ecx*2 + 0x150], ax
mov word [esp + ecx*2 + 0x160], dx
movsx ecx, word [edi + 0x102b44be]
mov edi, dword [esp + 0x34]
mov edx, ecx
imul ecx, ebp
movsx eax, word [edi - 4]
imul edx, eax
mov eax, esi
imul eax, dword [esp + 0x2c]
imul esi, dword [esp + 0x58]
mov edi, dword [esp + 0x50]
add edx, eax
mov eax, dword [esp + 0x10]
add esi, ecx
cmp edx, eax
mov ecx, dword [esp + 0x40]
cmovl eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp edx, eax
cmovg eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
cmp edx, eax
cmovl eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
cmp edx, eax
cmovg eax, edx
xor ecx, 3
mov dword [esp + 0x20], eax
add ecx, ebx
movzx eax, word [edi + 0x16]
imul eax, edx
mov edi, dword [esp + 0x54]
shl edx, 9
add edx, esi
add eax, esi
movsx esi, word [edi + 0x102b44c0]
mov word [esp + ecx*2 + 0x150], ax
mov word [esp + ecx*2 + 0x160], dx
movsx ecx, word [edi + 0x102b44c2]
mov edi, dword [esp + 0x34]
mov edx, ecx
imul ecx, ebp
movsx eax, word [edi - 4]
imul edx, eax
mov eax, esi
imul eax, dword [esp + 0x2c]
imul esi, dword [esp + 0x58]
mov edi, dword [esp + 0x50]
add edx, eax
mov eax, dword [esp + 0x10]
add esi, ecx
cmp edx, eax
mov ecx, dword [esp + 0x40]
cmovl eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp edx, eax
cmovg eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
cmp edx, eax
cmovl eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
cmp edx, eax
cmovg eax, edx
xor ecx, 4
mov dword [esp + 0x20], eax
add ecx, ebx
movzx eax, word [edi + 0x16]
mov edi, dword [esp + 0x54]
imul eax, edx
shl edx, 9
add edx, esi
add eax, esi
movsx esi, word [edi + 0x102b44c4]
mov word [esp + ecx*2 + 0x150], ax
mov word [esp + ecx*2 + 0x160], dx
movsx ecx, word [edi + 0x102b44c6]
mov edi, dword [esp + 0x34]
mov edx, ecx
imul ecx, ebp
movsx eax, word [edi - 4]
imul edx, eax
mov eax, esi
imul eax, dword [esp + 0x2c]
imul esi, dword [esp + 0x58]
mov edi, dword [esp + 0x50]
add edx, eax
mov eax, dword [esp + 0x10]
add esi, ecx
cmp edx, eax
mov ecx, dword [esp + 0x40]
cmovl eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp edx, eax
cmovg eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
cmp edx, eax
cmovl eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
cmp edx, eax
cmovg eax, edx
xor ecx, 5
mov dword [esp + 0x20], eax
add ecx, ebx
movzx eax, word [edi + 0x16]
imul eax, edx
mov edi, dword [esp + 0x54]
shl edx, 9
add edx, esi
add eax, esi
mov esi, dword [esp + 0x34]
mov word [esp + ecx*2 + 0x150], ax
mov word [esp + ecx*2 + 0x160], dx
movsx ecx, word [edi + 0x102b44c8]
movsx edx, word [edi + 0x102b44ca]
movsx eax, word [esi - 4]
mov edi, edx
imul edi, eax
mov eax, dword [esp + 0x2c]
imul eax, ecx
mov esi, dword [esp + 0x58]
imul esi, ecx
imul edx, ebp
add edi, eax
mov eax, dword [esp + 0x10]
add esi, edx
cmp edi, eax
mov edx, dword [esp + 0x40]
mov ecx, edx
cmovl eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp edi, eax
cmovg eax, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
cmp edi, eax
cmovl eax, edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
cmp edi, eax
cmovg eax, edi
xor ecx, 6
add ecx, ebx
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x50]
movzx eax, word [ebx + 0x16]
mov ebx, dword [esp + 0x34]
imul eax, edi
shl edi, 9
add edi, esi
add eax, esi
movsx esi, word [ebx - 4]
mov ebx, dword [esp + 0x2c]
mov word [esp + ecx*2 + 0x150], ax
mov eax, dword [esp + 0x54]
mov word [esp + ecx*2 + 0x160], di
mov edi, dword [esp + 0x58]
movsx ecx, word [eax + 0x102b44ce]
movsx eax, word [eax + 0x102b44cc]
imul esi, ecx
imul ebp, ecx
mov ecx, dword [esp + 0x10]
imul ebx, eax
imul edi, eax
mov eax, dword [esp + 0x24]
add esi, ebx
mov ebx, dword [esp + 0x50]
add edi, ebp
cmp esi, ecx
cmovl ecx, esi
cmp esi, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
cmovg eax, esi
cmp esi, ecx
mov dword [esp + 0x24], eax
movzx eax, word [ebx + 0x16]
cmovl ecx, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
cmp esi, ecx
cmovg ecx, esi
xor edx, 7
add edx, dword [esp + 0x84]
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0x44]
imul eax, esi
shl esi, 9
add eax, edi
add esi, edi
mov edi, dword [esp + 0x5c]
mov word [esp + edx*2 + 0x150], ax
mov word [esp + edx*2 + 0x160], si
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
add edi, 2
add eax, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x34], eax
cmp eax, 0x102b44ae
jl 0x1012fd30
mov ecx, dword [esp + 0x38]
inc esi
mov dword [esp + 0x18], esi
cmp esi, 3
jl 0x1012fd00
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
add edi, 3
inc eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], eax
cmp edi, 9
jl 0x1012fce1
movzx eax, word [ebx + 0x16]
lea ecx, [esp + 0x150]
mov dword [esp + 0x40], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x28], ecx
nop
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], ecx
nop dword [eax]
mov ebp, dword [esp + 0x20]
xor edx, edx
movzx edi, ax
inc ebp
mov eax, edi
imul eax, dword [esp + 0x24]
add ebp, eax
movsx esi, word [ecx]
cmp esi, ebp
jg 0x10131c5b
mov ebx, dword [esp + 0x30]
mov eax, edi
imul eax, dword [esp + 0x10]
dec ebx
add eax, ebx
mov ebx, dword [esp + 0x50]
cmp esi, eax
jl 0x10131c5b
inc edx
add ecx, 2
cmp edx, 8
jl 0x101302f3
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
inc esi
mov eax, dword [esp + 0x14]
add ecx, 0x10
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], ecx
cmp esi, 2
jl 0x101302e0
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
inc edx
add ecx, 0x20
mov dword [esp + 0x5c], edx
mov dword [esp + 0x28], ecx
cmp edx, 3
jl 0x101302d0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
inc edx
add ecx, 0x60
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ecx
cmp edx, 3
jl 0x101302c2
movzx eax, word [ebx + 0x14]
mov ebp, 2
sub eax, ebp
mov dword [esp + 0x18], 0
cmp eax, ebp
jle 0x10130433
movzx ecx, word [ebx + 0x16]
nop word [eax + eax]
movzx eax, cx
mov edi, 2
mov dword [esp + 0x3c], eax
mov esi, 0xffff
add eax, 0xfffffffe
mov dword [esp + 0x10], 0
cmp eax, edi
jle 0x10130423
lea edx, [ebp + 6]
mov dword [esp + 0x34], 8
mov dword [esp + 0x2c], edx
nop
mov eax, edx
mov ecx, 6
cdq
idiv ecx
mov eax, dword [esp + 0x34]
add edx, 0x44
lea ecx, [edx + edx*2]
cdq
idiv dword [esp + 0x1c]
add edx, ebx
cmp byte [edx + ecx*2], 1
jne 0x101304a0
mov dword [esp + 0x10], 0
mov esi, 0xffff
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
inc eax
inc edi
mov dword [esp + 0x34], eax
movzx eax, word [ebx + 0x16]
mov dword [esp + 0x3c], eax
add eax, 0xfffffffe
cmp edi, eax
jl 0x101303d0
movzx ecx, word [ebx + 0x16]
movzx eax, word [ebx + 0x14]
inc ebp
sub eax, 2
cmp ebp, eax
jl 0x101303a0
movzx eax, word [ebx + 0x14]
mov esi, 3
sub eax, 0x13
mov dword [esp + 0x30], esi
cmp eax, esi
jle 0x10131c1d
nop dword [eax + eax]
movzx ecx, word [ebx + 0x16]
mov edx, 3
mov dword [esp + 0x24], edx
lea eax, [ecx - 0x13]
cmp eax, edx
jle 0x10131c04
mov edi, dword [esp + 0x70]
lea ebp, [esi + 0x200]
lea eax, [edi + 0x180000]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x60]
shl eax, 0x12
mov dword [esp + 0x78], eax
mov eax, 8
cmp esi, eax
cmovl eax, esi
mov dword [esp + 0x84], eax
jmp 0x101306c8
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebx + 8]
imul ecx, ebp
add ecx, edi
lea eax, [eax + ecx*8]
mov dword [esp + 0x3c], eax
mov eax, 0x55555556
imul ebp
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
mov edx, dword [esp + 0x3c]
sub eax, ecx
add eax, ebp
lea ecx, [edi + eax*2]
add ecx, eax
shl ecx, 5
cmp word [esp + 0x10], 0
jne 0x1013061f
movsx eax, word [esp + ecx + 0x150]
movzx eax, word [edx + eax*8 + 2]
mov dword [esp + 0x14], eax
movzx eax, si
cmp eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
jle 0x10130513
movzx esi, ax
test eax, eax
jle 0x1013051e
movzx eax, ax
mov dword [esp + 0x10], eax
movsx eax, word [esp + ecx + 0x152]
movzx eax, word [edx + eax*8 + 2]
mov dword [esp + 0x28], eax
movzx eax, si
cmp eax, dword [esp + 0x28]
jle 0x1013053f
mov eax, dword [esp + 0x28]
movzx esi, ax
movzx eax, word [esp + 0x10]
cmp eax, dword [esp + 0x28]
jge 0x10130555
mov eax, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x10], eax
movsx eax, word [esp + ecx + 0x154]
movzx eax, word [edx + eax*8 + 2]
mov dword [esp + 0x28], eax
movzx eax, si
cmp eax, dword [esp + 0x28]
jle 0x10130576
mov eax, dword [esp + 0x28]
movzx esi, ax
movzx eax, word [esp + 0x10]
cmp eax, dword [esp + 0x28]
jge 0x1013058c
mov eax, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x10], eax
movsx eax, word [esp + ecx + 0x156]
movzx eax, word [edx + eax*8 + 2]
mov dword [esp + 0x28], eax
movzx eax, si
cmp eax, dword [esp + 0x28]
jle 0x101305ad
mov eax, dword [esp + 0x28]
movzx esi, ax
movzx eax, word [esp + 0x10]
cmp eax, dword [esp + 0x28]
jge 0x101305c3
mov eax, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x10], eax
movsx eax, word [esp + ecx + 0x158]
movzx eax, word [edx + eax*8 + 2]
mov dword [esp + 0x28], eax
movzx eax, si
cmp eax, dword [esp + 0x28]
jle 0x101305e4
mov eax, dword [esp + 0x28]
movzx esi, ax
movzx eax, word [esp + 0x10]
cmp eax, dword [esp + 0x28]
jge 0x101305fa
mov eax, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x10], eax
movsx eax, word [esp + ecx + 0x15a]
movzx ecx, word [edx + eax*8 + 2]
movzx eax, si
cmp eax, ecx
jle 0x10130610
mov esi, ecx
movzx eax, word [esp + 0x10]
cmp eax, ecx
jge 0x1013061f
mov eax, ecx
mov dword [esp + 0x10], eax
mov ax, word [esp + 0x10]
mov word [edx + 6], ax
mov eax, dword [esp + 0x7c]
movzx ecx, ax
mov eax, ebp
sub eax, ecx
mov word [edx + 2], si
cdq
mov ecx, 3
idiv ecx
sub edx, 1
je 0x101306a0
sub edx, 1
jne 0x10130402
movzx eax, word [ebx + 0x16]
add edi, 2
add dword [esp + 0x34], 2
add eax, 0xfffffffd
mov dword [esp + 0x10], edx
mov esi, 0xffff
cmp edi, eax
jge 0x10130402
cmp ebp, 2
jle 0x10130402
movzx eax, word [ebx + 0x16]
dec ebp
movzx ecx, word [ebx + 0x14]
mov edx, dword [esp + 0x2c]
imul ecx, eax
dec edx
mov eax, dword [esp + 0x18]
inc dword [esp + 0x18]
mov dword [esp + 0x2c], edx
cmp eax, ecx
jle 0x10130406
jmp 0x10131c3e
movzx eax, word [ebx + 0x14]
sub eax, 3
cmp ebp, eax
jge 0x10130402
mov edx, dword [esp + 0x2c]
inc ebp
mov eax, dword [esp + 0x34]
inc edx
dec edi
mov dword [esp + 0x2c], edx
dec eax
jmp 0x1013040a
mov edi, dword [esp + 0x70]
movzx eax, word [ebx + 0x14]
add eax, 0xfffffffd
cmp ebp, eax
cmovl eax, ebp
add ecx, 0xfffffffd
mov dword [esp + 0x10], eax
mov ebp, esi
lea eax, [edx + 0x200]
cmp eax, ecx
cmovl ecx, eax
mov dword [esp + 0x20], ecx
cmp esi, dword [esp + 0x10]
jge 0x10130751
mov esi, dword [esp + 0x10]
mov eax, edi
mov dword [esp + 0x3c], eax
nop dword [eax]
mov edi, edx
cmp edx, ecx
jge 0x10130743
mov esi, eax
nop dword [eax + eax]
movzx edx, word [ebx + 0x16]
lea esi, [esi + 6]
mov ecx, dword [ebx + 8]
imul edx, ebp
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 + 0x20]
mov word [esi - 2], ax
cmp edi, ecx
jl 0x10130710
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
inc ebp
add eax, 0xc00
mov dword [esp + 0x3c], eax
cmp ebp, esi
jl 0x10130700
mov esi, dword [esp + 0xa8]
mov edi, 3
mov ebx, dword [esp + 0x70]
push 0x180000
push ebx
push esi
call fcn.1026e3e0
add esp, 0xc
add esi, 0x180000
sub edi, 1
jne 0x10130761
mov ebp, dword [esp + 0x30]
mov edi, ebp
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x18], edi
cmp ebp, edx
jge 0x10130a0f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
nop dword [eax]
mov dword [esp + 0x14], eax
mov esi, eax
cmp eax, ecx
jge 0x101309fe
lea eax, [edi + 6]
mov ebp, 6
cdq
idiv ebp
add edx, 0x44
lea ecx, [edx + edx*2]
add ecx, ecx
mov dword [esp + 0x38], ecx
lea eax, [esi + 6]
cdq
idiv ebp
add edx, ecx
movsx eax, byte [edx + ebx]
mov dword [esp + 0x1c], eax
cmp eax, 1
je 0x101309e3
movzx ecx, word [ebx + 0x16]
mov eax, dword [ebx + 8]
imul ecx, edi
add ecx, esi
lea ebp, [eax + ecx*8]
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, 0x55555555
imul esi
sub edx, esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ecx
add eax, edi
lea ebx, [esi + eax*2]
add ebx, eax
shl ebx, 5
movsx edi, word [esp + ebx + 0x152]
movsx edx, word [esp + ebx + 0x150]
movzx eax, word [ebp + edi*8 + 2]
add edi, edi
movzx ecx, word [ebp + edx*8 + 2]
add edx, edx
add ecx, eax
imul esi, ecx, 0xae
movzx eax, word [ebp + edi*8 + 2]
movzx ecx, word [ebp + edx*8 + 2]
add ecx, eax
mov edi, dword [esp + 0x1c]
imul eax, ecx, 0x2e
mov ecx, edi
sub esi, eax
mov dword [esp + 0x110], esi
movsx esi, word [esp + ebx + 0x154]
lea eax, [esi*4]
sub ecx, eax
movzx eax, word [ebp + ecx*2]
movzx ecx, word [ebp + edi*2]
sub ecx, eax
movzx edi, word [ebp + edi*2]
movsx eax, word [esp + ebx + 0x156]
add edi, edi
imul edx, ecx, 0x5c
movzx ecx, word [ebp + esi*8 + 2]
movsx esi, word [esp + ebx + 0x158]
movzx eax, word [ebp + eax*8 + 2]
imul eax, eax, 0xdf
add edx, eax
mov eax, ecx
shl eax, 5
add eax, ecx
mov ecx, edi
add edx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x114], edx
lea edx, [esi + esi*2]
shl edx, 2
add eax, edx
movzx eax, word [ebp + eax*2]
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub eax, edx
movzx eax, word [ebp + eax*2]
sub ecx, eax
mov eax, ebp
mov edx, ecx
shl edx, 5
add edx, ecx
mov ecx, esi
shl ecx, 4
sub eax, ecx
movzx eax, word [eax + 2]
imul eax, eax, 0x5c
add edx, eax
movzx eax, word [ebp + esi*8 + 2]
movsx esi, word [esp + ebx + 0x15a]
imul eax, eax, 0xa4
mov ebx, dword [esp + 0x14]
lea ecx, [esi + esi*2]
shl ecx, 2
add edx, eax
mov dword [esp + 0x118], edx
mov edx, dword [esp + 0x1c]
lea eax, [ecx + edx]
sub edx, ecx
movzx eax, word [ebp + eax*2]
mov ecx, esi
sub edi, eax
shl ecx, 4
movzx eax, word [ebp + edx*2]
sub edi, eax
mov eax, ebp
sub eax, ecx
mov edx, edi
shl edx, 5
add edx, edi
movzx eax, word [eax + 2]
imul eax, eax, 0x5c
add edx, eax
movzx eax, word [ebp + esi*8 + 2]
imul eax, eax, 0xa4
xor esi, esi
add edx, eax
mov eax, dword [esp + 0x7c]
movzx ecx, ax
mov eax, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x11c], edx
cdq
mov ecx, 3
idiv ecx
mov eax, edx
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x44], eax
mov ecx, dword [esp + esi*4 + 0x110]
movzx edi, word [ebp + 6]
movzx edx, word [ebp + 2]
mov eax, edi
sar ecx, 8
cmp ecx, edi
cmovl eax, ecx
cmp edx, eax
jg 0x101309a4
cmp ecx, edi
mov edx, edi
cmovl edx, ecx
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x18]
xor eax, esi
mov ecx, dword [esp + 0x70]
inc esi
shl eax, 9
sub eax, dword [esp + 0x30]
add eax, edi
shl eax, 9
sub eax, dword [esp + 0x24]
add eax, ebx
lea eax, [eax + eax*2]
mov word [ecx + eax*2 + 2], dx
cmp esi, 4
jl 0x10130980
mov ebx, dword [esp + 0x50]
mov ebp, 6
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
inc esi
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x20]
jl 0x101307c5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
inc edi
mov dword [esp + 0x18], edi
cmp edi, edx
jl 0x101307a0
mov ebp, dword [esp + 0x30]
cmp dword [esp + 0x274], 0
mov esi, dword [esp + 0x70]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x40], esi
jle 0x1013150f
lea eax, [ebp + 2]
mov ecx, ebp
mov dword [esp + 0x44], eax
lea eax, [edx - 2]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
movzx edi, ax
mov eax, 0x55555556
sub ecx, edi
add ecx, 4
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [edi + ecx*2]
add eax, ecx
add ebp, 3
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb4], ebp
jmp 0x10130a74
mov ebx, dword [esp + 0x50]
cmp eax, 1
jne 0x10130a97
push 0x600000
push dword [esp + 0x74]
add esi, 0x600000
push esi
mov dword [esp + 0x4c], esi
call fcn.1026e3e0
add esp, 0xc
jmp 0x10130a9f
test eax, eax
je 0x10130c8f
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x18], ebp
cmp ebp, dword [esp + 0x54]
jge 0x10130c8f
mov edx, dword [esp + 0x24]
lea ecx, [ebp + 6]
mov eax, dword [esp + 0x20]
add edx, 2
mov esi, dword [esp + 0x54]
add eax, 0xfffffffe
mov dword [esp + 0x64], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], ecx
mov edi, edx
cmp edi, eax
jge 0x10130c7d
mov eax, ecx
mov esi, 6
cdq
idiv esi
lea eax, [edi + 6]
add edx, 0x44
mov dword [esp + 0x28], eax
lea ecx, [edx + edx*2]
add ecx, ecx
mov dword [esp + 0x48], ecx
nop dword [eax]
cdq
idiv esi
add edx, ecx
movsx eax, byte [edx + ebx]
mov dword [esp + 0x3c], eax
cmp eax, 1
je 0x10130c59
movzx eax, word [ebx + 0x16]
imul eax, ebp
add eax, edi
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
mov eax, 0x55555556
imul ebp
mov ebx, dword [esp + 0x7c]
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
movzx edx, bx
sub ecx, esi
lea esi, [esp + 0x160]
add ecx, ebp
lea eax, [edi + ecx*2]
add eax, ecx
mov ecx, 3
shl eax, 5
mov ebx, ecx
add esi, eax
mov dword [esp + 0x1c], ecx
mov eax, ebp
mov dword [esp + 0x4c], esi
sub eax, edx
cdq
idiv ebx
mov ebx, edx
neg ebx
sbb ebx, ebx
inc ebx
mov edx, dword [esp + 0x40]
lea eax, [ecx - 2]
xor eax, ebx
movsx ecx, word [esi + ecx*2]
shl eax, 9
sub eax, dword [esp + 0x30]
add eax, ebp
shl eax, 9
lea esi, [ecx + ecx*2]
sub eax, dword [esp + 0x24]
add esi, esi
add eax, edi
lea eax, [eax + eax*2]
lea ebp, [edx + eax*2]
mov eax, dword [esp + 0x3c]
movzx edx, word [esi + ebp + 2]
lea eax, [eax + ecx*2]
add eax, ecx
lea ecx, [ecx + ecx*2]
shl ecx, 2
movzx eax, word [ebp + eax*2]
sub edx, eax
mov eax, ebp
sub eax, ecx
movzx eax, word [eax + 2]
lea ecx, [eax + edx*2]
mov edx, dword [esp + 0x3c]
mov eax, edx
sub eax, esi
mov esi, dword [esp + 0x38]
movzx eax, word [ebp + eax*2]
sub ecx, eax
movzx eax, word [ebp + edx*2]
lea eax, [eax + eax*2]
add ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0x14]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movzx edx, word [eax + esi*8 + 6]
cmp ecx, edx
mov eax, edx
mov edx, dword [esp + 0x14]
cmovl eax, ecx
movzx edx, word [edx + esi*8 + 2]
cmp edx, eax
jg 0x10130c2e
mov edx, dword [esp + 0x14]
movzx eax, word [edx + esi*8 + 6]
cmp ecx, eax
mov edx, eax
cmovl edx, ecx
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x4c]
inc ecx
mov word [ebp + 2], dx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
cmp ecx, 6
jl 0x10130b86
mov ebx, dword [esp + 0x50]
mov esi, 6
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
inc edi
inc eax
mov dword [esp + 0x28], eax
cmp edi, dword [esp + 0x2c]
jl 0x10130b00
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x54]
inc ebp
inc ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x58], ecx
cmp ebp, esi
jl 0x10130ad2
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x54]
jge 0x10130fa0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x24]
movzx esi, ax
mov eax, 0x55555556
sub ecx, esi
add ecx, 4
imul ecx
mov ecx, dword [esp + 0x54]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [esi + eax*2]
add esi, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffffe
mov dword [esp + 0x58], esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
sub ecx, eax
mov ebp, eax
dec ecx
sub ebp, dword [esp + 0x30]
shl ebp, 9
sub ebp, dword [esp + 0x24]
lea edi, [eax + 6]
mov eax, 0xaaaaaaab
mov dword [esp + 0x68], edi
mul ecx
mov ecx, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x74], ebp
shr eax, 1
inc eax
mov dword [esp + 0x64], eax
nop dword [eax]
cmp esi, ecx
jge 0x10130f7e
mov eax, edi
mov ecx, 6
cdq
add esi, 7
idiv ecx
mov ecx, dword [esp + 0x40]
add edx, 0x44
mov dword [esp + 0x28], esi
lea edi, [edx + edx*2]
mov edx, dword [esp + 0x58]
add edi, edi
mov dword [esp + 0x8c], edi
lea eax, [edx + ebp]
lea eax, [eax + eax*2]
lea ebp, [ecx + eax*2]
mov ecx, dword [esp + 0x14]
sub ecx, edx
mov dword [esp + 0x18], ebp
dec ecx
mov eax, 0xaaaaaaab
mul ecx
mov ecx, edx
shr ecx, 1
inc ecx
mov dword [esp + 0x2c], ecx
mov eax, esi
mov ecx, 6
cdq
xorps xmm0, xmm0
idiv ecx
mov eax, 1
movq qword [esp + 0xc8], xmm0
add edx, edi
mov dword [esp + 0x1c], eax
movups xmmword [esp + 0xb8], xmm0
movsx edi, byte [edx + ebx]
xor ebx, ebx
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 + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
lea ecx, [eax + eax*2]
mov eax, edi
sub eax, ecx
movzx eax, word [ebp + eax*2]
mov dword [esp + 0x3c], eax
lea eax, [ecx + edi]
movzx ecx, word [ebp + eax*2]
lea eax, [ebx + edi*8]
mov dword [esp + 0x38], ecx
add ecx, dword [esp + 0x3c]
add ecx, edx
mov dword [esp + eax*4 + 0xf0], ecx
cmp ebx, 1
jle 0x10130e1f
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
sub eax, dword [esp + 0x4c]
add eax, dword [esp + 0x48]
imul eax, eax
imul edx, edx
add eax, edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + ebx*4 + 0xb8]
movss dword [esp + ebx*4 + 0xb8], 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 + 0x4c], eax
mov dword [esp + 0x48], 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 + 0x38], eax
lea ecx, [eax + edx]
add ecx, esi
lea eax, [ebx + edi*8]
mov dword [esp + eax*4 + 0xf0], ecx
cmp ebx, 1
jle 0x10130ea1
sub edx, dword [esp + 0x38]
sub edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
add eax, edx
imul esi, esi
imul eax, eax
add eax, esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + ebx*4 + 0xb8]
movss dword [esp + ebx*4 + 0xb8], xmm0
xor edi, 2
cmp ebx, 1
jle 0x10130edd
test bl, 1
je 0x10130edd
movss xmm0, dword [esp + ebx*4 + 0xb8]
comiss xmm0, dword [esp + ebx*4 + 0xb4]
jbe 0x10130edd
mov eax, dword [esp + ebx*4 + 0xec]
mov dword [esp + ebx*4 + 0xf0], eax
mov eax, dword [esp + ebx*4 + 0x12c]
mov dword [esp + ebx*4 + 0x130], eax
cmp ebx, 2
jl 0x10130ee7
test bl, 1
je 0x10130f24
lea esi, [esp + 0xf0]
xor ecx, ecx
lea esi, [esi + ebx*4]
mov eax, dword [esi]
cmp eax, 0x1fffe
jge 0x10130f0b
cdq
sub eax, edx
mov edx, 0
sar eax, 1
cmovs eax, edx
jmp 0x10130f10
mov eax, 0xffff
mov word [ebp + ecx*4], ax
add esi, 0x40
inc ecx
cmp ecx, 2
jl 0x10130ef3
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 0x10130d93
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
add ebp, 0x12
mov ebx, dword [esp + 0x50]
add esi, 3
sub dword [esp + 0x2c], 1
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], esi
jne 0x10130d64
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x50]
add ebp, 0x600
add edi, 3
mov dword [esp + 0x74], ebp
sub eax, 1
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], eax
jne 0x10130d10
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0xb4]
add eax, 0xfffffffd
cmp ebp, eax
jge 0x1013123a
mov esi, dword [esp + 0x7c]
mov edi, ebp
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
movzx edx, si
add eax, 0xfffffffd
mov esi, ebp
mov dword [esp + 0x58], eax
sub esi, dword [esp + 0x30]
lea ecx, [ebx + 3]
shl esi, 9
sub edi, edx
sub esi, ebx
mov dword [esp + 0x6c], ecx
mov ebx, dword [esp + 0x10]
lea edx, [ebp + 6]
add ebx, 0xfffffffd
mov dword [esp + 0x18], edi
sub ebx, ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], ebx
nop
mov dword [esp + 0x28], ecx
cmp ecx, eax
jge 0x10131215
mov eax, edx
mov ebp, 6
cdq
idiv ebp
lea eax, [ecx + 6]
add edx, 0x44
mov dword [esp + 0x2c], eax
lea ebx, [edx + edx*2]
add ebx, ebx
mov dword [esp + 0x90], ebx
nop dword [eax]
cdq
idiv ebp
mov eax, dword [esp + 0x50]
add edx, ebx
mov ebx, 2
movsx eax, byte [edx + eax]
sub ebx, eax
mov dword [esp + 0x68], ebx
cmp ebx, 1
je 0x101311ea
lea eax, [esi + ecx]
mov ecx, dword [esp + 0x40]
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 + 0x64], edi
xor eax, 0x201
xor ecx, ecx
mov dword [esp + 0x74], ecx
lea edx, [eax + eax*2]
mov dword [esp + 0x3c], edx
nop
cmp ecx, 1
jg 0x10131154
mov eax, edi
xor eax, ecx
test al, 1
jne 0x10131154
movzx ebx, word [ebp + 2]
lea ecx, [edx + edx*2]
add ecx, ecx
mov dword [esp + 0x14], ebx
mov edx, ebx
mov eax, ebp
sub eax, ecx
movzx eax, word [eax + 2]
sub ebx, eax
mov eax, ebx
mov dword [esp + 0xac], ebx
sar eax, 0x1f
mov ebx, edx
mov dword [esp + 0x8c], 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 + 0xb0], esi
xor esi, ebx
mov ebx, dword [esp + 0x68]
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 + 0x8c]
xor eax, dword [esp + 0xac]
add esi, eax
mov dword [esp + 0x14], edx
sub esi, dword [esp + 0xb0]
mov eax, ebp
sub esi, dword [esp + 0x8c]
xor eax, edi
mov edi, dword [esp + 0x64]
add esi, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x3c]
sub ecx, edx
sub ecx, ebp
mov ebp, dword [esp + 0x1c]
cmp ecx, esi
jge 0x10131156
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, [ecx + ebx]
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 0x101311af
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
jns 0x1013119e
xor eax, eax
jmp 0x101311b4
cmp ecx, 0x1fffe
jge 0x101311af
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x101311b4
mov eax, 0xffff
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
inc ecx
mov word [ebp + ebx*2], ax
add ebp, 0x180000
mov dword [esp + 0x74], ecx
mov dword [esp + 0x1c], ebp
cmp ecx, 4
jl 0x10131090
mov ecx, dword [esp + 0x28]
mov ebp, 6
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
inc ecx
mov ebx, dword [esp + 0x90]
inc eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
cmp ecx, dword [esp + 0x58]
jl 0x10131030
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x6c]
inc edx
add esi, 0x200
mov dword [esp + 0x48], edx
inc edi
mov dword [esp + 0x4c], esi
sub ebx, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], ebx
jne 0x10131000
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x64], ebp
cmp ebp, dword [esp + 0x54]
jge 0x101314f1
mov edx, dword [esp + 0x7c]
mov esi, ebp
sub esi, dword [esp + 0x30]
mov eax, ebp
movzx ecx, dx
mov edi, 3
sub eax, ecx
shl esi, 9
mov ecx, dword [esp + 0x24]
sub esi, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], esi
cdq
idiv edi
test edx, edx
je 0x101314cf
mov eax, dword [esp + 0x20]
lea ebx, [ecx + 2]
add eax, 0xfffffffe
mov dword [esp + 0x4c], ebx
cmp ebx, eax
jge 0x101314cf
mov eax, dword [esp + 0x94]
mov ecx, ebx
movzx eax, ax
sub ecx, eax
mov dword [esp + 0x48], ecx
mov eax, ecx
cdq
idiv edi
test edx, edx
je 0x101314b2
mov ecx, dword [esp + 0x40]
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
sub ecx, esi
add ecx, ebp
lea eax, [ebx + ecx*2]
add eax, ecx
lea ecx, [esp + 0x160]
shl eax, 5
add ecx, eax
xor ebp, ebp
mov dword [esp + 0x2c], ecx
nop
movzx eax, word [ecx + ebp*2 + 2]
mov ebx, dword [esp + 0x2c]
movsx edx, ax
movzx eax, word [ecx + ebp*2]
movsx ecx, ax
lea eax, [ecx + edx]
test eax, eax
lea eax, [ecx + ecx*2]
je 0x101313df
movzx ecx, word [edi + eax*2 + 2]
movzx eax, word [edi + 2]
add ecx, ecx
lea esi, [eax + eax*2]
sub esi, ecx
lea eax, [edx + edx*2]
movzx eax, word [edi + eax*2 + 2]
mov ecx, ebx
sub esi, eax
xor edx, edx
movzx eax, word [ebx + ebp*2 + 2]
cwde
movzx ecx, word [ecx + ebp*2]
mov dword [esp + 0x1c], edx
lea eax, [eax + eax*2]
lea eax, [edi + eax*2]
mov dword [esp + 0x14], eax
movsx eax, cx
lea eax, [eax + eax*2]
lea ecx, [edi + eax*2]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
movzx eax, word [eax]
movzx ecx, word [ecx]
add eax, esi
lea ecx, [eax + ecx*2]
cmp ecx, 0x2fffd
jge 0x101313af
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
jns 0x10131393
xor eax, eax
jmp 0x101313b4
cmp ecx, 0x2fffd
jge 0x101313af
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
jmp 0x101313b4
mov eax, 0xffff
mov ecx, dword [esp + 0x38]
mov word [edi + edx*2], ax
add ecx, 4
mov eax, dword [esp + 0x14]
add edx, 2
add eax, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], eax
cmp edx, 4
jl 0x10131368
jmp 0x10131486
movzx eax, word [edi + eax*2 + 2]
movzx esi, word [edi + 2]
mov ecx, dword [esp + 0x2c]
add esi, esi
sub esi, eax
lea eax, [edx + edx*2]
movzx eax, word [edi + eax*2 + 2]
sub esi, eax
xor edx, edx
movzx eax, word [ebx + ebp*2]
movzx ecx, word [ecx + ebp*2 + 2]
cwde
mov dword [esp + 0x1c], edx
lea eax, [eax + eax*2]
lea eax, [edi + eax*2]
mov dword [esp + 0x18], eax
movsx eax, cx
lea eax, [eax + eax*2]
lea eax, [edi + eax*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
mov eax, dword [esp + 0x14]
add ecx, esi
movzx eax, word [eax]
add ecx, eax
cmp ecx, 0x1fffe
jge 0x10131461
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
jns 0x1013144c
xor eax, eax
jmp 0x10131466
cmp ecx, 0x1fffe
jge 0x10131461
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
jmp 0x10131466
mov eax, 0xffff
add dword [esp + 0x14], 4
mov word [edi + edx*2], ax
add edx, 2
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
cmp edx, 4
jl 0x10131425
mov ecx, dword [esp + 0x2c]
add ebp, 2
add edi, 0x180000
cmp ebp, dword [esp + 0x60]
jl 0x10131300
mov ebx, dword [esp + 0x4c]
mov edi, 3
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
inc ebx
inc ecx
mov dword [esp + 0x4c], ebx
add eax, 0xfffffffe
mov dword [esp + 0x48], ecx
cmp ebx, eax
jl 0x101312a6
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x68]
inc ebp
inc eax
mov dword [esp + 0x64], ebp
add esi, 0x200
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], esi
cmp ebp, dword [esp + 0x54]
jl 0x10131273
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x40]
inc eax
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x274]
jl 0x10130a70
mov edx, dword [esp + 0x10]
sub edx, dword [esp + 0x30]
xor ebx, ebx
mov edi, dword [esp + 0x20]
sub edi, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x10], edx
lea eax, [edx - 2]
mov dword [esp + 0x20], edi
lea ecx, [edx - 3]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], eax
mov edx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
nop
mov ebp, 2
cmp eax, ebp
jle 0x101315c1
mov ecx, dword [esp + 0x80]
lea edx, [edi - 2]
add ecx, 0x180c
mov dword [esp + 0x6c], edx
mov dword [esp + 0x44], ecx
cmp edx, 2
jle 0x101315a6
lea eax, [esi + ebp]
mov edi, ecx
mov esi, dword [esp + 0x70]
lea ebx, [edx - 2]
imul eax, eax, 0xc00
add esi, 0xc
add esi, eax
nop dword [eax]
mov ecx, dword [esp + 0x50]
push edi
push esi
call fcn.1012f8a0
add edi, 6
add esi, 6
sub ebx, 1
jne 0x10131580
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
inc ebp
add ecx, 0xc00
mov dword [esp + 0x44], ecx
cmp ebp, eax
jl 0x10131561
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x20]
mov eax, ebx
and eax, 3
movsx ecx, word [eax*2 + 0x102b44f0]
mov eax, 3
mov dword [esp + 0x90], ecx
mov dword [esp + 0x48], eax
cmp edx, eax
jle 0x10131725
add edi, 0xfffffffd
mov ebx, 0x2400
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], ebx
cmp edi, 3
jle 0x10131706
mov ebp, dword [esp + 0x80]
lea edx, [ecx + ecx*2]
add eax, esi
add edx, edx
shl eax, 0xb
add eax, 0x18000c
mov dword [esp + 0x4c], edx
add eax, ebp
lea ecx, [ebp + 0x12]
mov dword [esp + 0x44], eax
add ebp, 0x12
lea eax, [edx + ebx]
add ecx, eax
mov eax, ebx
sub eax, edx
mov dword [esp + 0x14], ecx
add ebp, eax
lea eax, [edi - 3]
mov dword [esp + 0x38], eax
nop dword [eax + 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 + 0x4c]
imul edi, edi
movsx ecx, word [eax + ebp - 4]
movsx eax, word [ebp - 4]
add ecx, ecx
sub ecx, eax
mov eax, dword [esp + 0x14]
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 + 0x4c]
mov ecx, dword [esp + 0x14]
imul eax, eax
add ecx, 6
mov dword [esp + 0x14], ecx
add eax, edi
add eax, ebx
movd xmm0, eax
mov eax, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
movss dword [eax], xmm0
add eax, 4
sub dword [esp + 0x38], 1
mov dword [esp + 0x44], eax
jne 0x10131640
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc eax
add ebx, 0xc00
mov dword [esp + 0x48], eax
mov dword [esp + 0x64], ebx
cmp eax, edx
jl 0x101315f6
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
inc ebx
mov eax, dword [esp + 0x68]
add esi, 0x200
mov edi, dword [esp + 0x20]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x1c], esi
cmp ebx, ebp
jl 0x10131540
push dword [esp + 0x78]
mov ebx, dword [esp + 0x8c]
push 0
push ebx
call fcn.1026e960
mov ecx, dword [esp + 0x1c]
mov esi, 4
add esp, 0xc
mov dword [esp + 0x14], esi
lea eax, [ecx - 4]
mov dword [esp + 0x4c], eax
cmp eax, esi
jle 0x10131911
mov edx, dword [esp + 0x80]
mov eax, edi
mov ecx, dword [esp + 0x4c]
lea edi, [ebx + 0x800]
add eax, 0xfffffffc
mov dword [esp + 0x18], edi
add edx, 0x382010
mov dword [esp + 0x48], edx
nop
mov ebx, 4
mov dword [esp + 0x44], ebx
cmp eax, ebx
jle 0x101318ec
lea ecx, [ebp - 4]
mov dword [esp + 0x38], edx
shr ecx, 2
mov ebp, edx
inc ecx
mov dword [esp + 0x6c], ecx
nop dword [eax]
nop word [eax + eax]
movss xmm1, dword [0x102c7e9c]
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 0x101317e1
mov ecx, dword [esp + 0x60]
cmp edx, ecx
jge 0x1013185c
mov eax, edx
shl eax, 9
add eax, esi
mov esi, dword [esp + 0x80]
shl eax, 9
add esi, 0x180000
add eax, ebx
sub ecx, edx
lea eax, [esi + eax*4]
movss xmm0, dword [eax]
lea eax, [eax + 0x100000]
minss xmm0, xmm1
movaps xmm1, xmm0
sub ecx, 1
jne 0x10131842
mov ecx, dword [esp + 0x60]
mulss xmm1, dword [0x103f96d4]
lea esi, [ebp - 0x200804]
lea eax, [edi + ebx]
mov ebp, ecx
nop
mov edx, esi
mov ebx, 3
nop word [eax + eax]
mov ecx, edx
mov edi, 3
comiss xmm1, dword [ecx]
jb 0x1013188e
inc byte [eax]
add ecx, 4
sub edi, 1
jne 0x10131887
add edx, 0x800
sub ebx, 1
jne 0x10131880
add esi, 0x100000
add eax, 0x40000
sub ebp, 1
jne 0x10131870
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x38]
inc ebx
mov eax, dword [esp + 0x20]
add ebp, 4
mov esi, dword [esp + 0x14]
add eax, 0xfffffffc
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebp
cmp ebx, eax
jl 0x101317d0
mov ebp, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
inc esi
add edx, 0x800
add edi, 0x200
mov dword [esp + 0x14], esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x18], edi
cmp esi, ecx
jl 0x101317a0
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x50]
movzx eax, word [ebx + 0x14]
sub eax, dword [esp + 0x30]
cmp eax, 0x204
jge 0x10131927
lea ecx, [eax + 2]
movzx eax, word [ebx + 0x16]
mov edx, dword [esp + 0x24]
sub eax, edx
cmp eax, 0x204
jge 0x10131941
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x10131945
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x84]
lea esi, [ecx - 8]
cmp edi, esi
jge 0x10131be1
mov ecx, 8
cmp edx, ecx
cmovl ecx, edx
lea edx, [eax - 8]
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x84]
shl edi, 9
sub esi, dword [esp + 0x84]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], esi
nop dword [eax]
mov dword [esp + 0x18], ecx
cmp ecx, edx
jge 0x10131bbd
mov esi, dword [esp + 0x88]
lea eax, [edi + ecx]
add esi, 0xfffffbfe
lea eax, [eax + eax*2]
add esi, edi
lea eax, [eax + 2]
add esi, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x38], esi
lea eax, [ecx + eax*2]
mov dword [esp + 0x5c], eax
nop word [eax + eax]
xor edx, edx
mov ebp, esi
nop dword [eax]
nop dword [eax + eax]
mov dword [esp + edx*4 + 0xd0], 0
xor ecx, ecx
mov edi, ebp
mov dword [esp + 0x44], 5
nop word [eax + eax]
mov esi, edi
mov ebx, 5
movsx eax, byte [esi]
inc esi
add ecx, eax
sub ebx, 1
jne 0x10131a07
add edi, 0x200
sub dword [esp + 0x44], 1
jne 0x10131a00
mov dword [esp + edx*4 + 0xd0], ecx
add ebp, 0x40000
inc edx
cmp edx, dword [esp + 0x60]
jl 0x101319e0
mov edx, dword [esp + 0x60]
xor eax, eax
mov ebx, dword [esp + 0x50]
lea ebp, [edx - 4]
test ebp, ebp
jle 0x10131a85
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [esp + eax*4 + 0xe0]
mov edx, dword [esp + eax*4 + 0xd0]
cmp edx, ecx
jge 0x10131a6f
mov dword [esp + eax*4 + 0xd0], 0
jmp 0x10131a7c
jle 0x10131a7c
mov dword [esp + eax*4 + 0xe0], 0
inc eax
cmp eax, ebp
jl 0x10131a50
mov edx, dword [esp + 0x60]
movzx eax, word [esp + 0xd0]
mov ecx, 1
mov dword [esp + 0x10], eax
mov si, ax
nop dword [eax]
movzx eax, si
cmp eax, dword [esp + ecx*4 + 0xd0]
jge 0x10131abb
movzx eax, word [esp + ecx*4 + 0xd0]
mov dword [esp + 0x10], eax
mov si, ax
inc ecx
cmp ecx, edx
jl 0x10131aa0
mov ecx, dword [esp + 0x5c]
mov ax, si
shr ax, 3
xorps xmm0, xmm0
sub si, ax
xor edx, edx
movzx eax, si
movups xmmword [esp + 0x98], xmm0
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
mov ebp, dword [esp + 0x9c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
cmp dword [esp + edx*4 + 0xd0], eax
jl 0x10131b27
movzx eax, word [ecx - 4]
add dword [esp + 0x14], eax
movzx eax, word [ecx - 2]
add ebp, eax
movzx eax, word [ecx]
add edi, eax
mov eax, dword [esp + 0x44]
inc esi
inc edx
add ecx, 0x180000
cmp edx, dword [esp + 0x60]
jl 0x10131b06
mov eax, dword [esp + 0x14]
cdq
idiv esi
movzx edx, word [ebx + 0x16]
imul edx, dword [esp + 0x40]
mov ecx, dword [ebx + 8]
add dword [esp + 0x5c], 6
add edx, dword [esp + 0x24]
add edx, dword [esp + 0x18]
mov word [ecx + edx*8], ax
mov eax, ebp
cdq
idiv esi
movzx edx, word [ebx + 0x16]
imul edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x18]
mov ecx, dword [ebx + 8]
add edx, dword [esp + 0x24]
add edx, ebp
mov word [ecx + edx*8 + 2], ax
mov eax, edi
cdq
idiv esi
movzx edx, word [ebx + 0x16]
imul edx, dword [esp + 0x40]
mov ecx, dword [ebx + 8]
mov esi, dword [esp + 0x38]
inc esi
mov dword [esp + 0x38], esi
add edx, dword [esp + 0x24]
add edx, ebp
inc ebp
mov dword [esp + 0x18], ebp
mov word [ecx + edx*8 + 4], ax
mov edx, dword [esp + 0x20]
add edx, 0xfffffff8
cmp ebp, edx
jl 0x101319d0
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x6c]
inc eax
add edi, 0x200
mov dword [esp + 0x40], eax
sub esi, 1
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], esi
jne 0x10131990
mov edx, dword [esp + 0x24]
movzx ecx, word [ebx + 0x16]
add edx, 0x1f0
mov esi, dword [esp + 0x30]
mov dword [esp + 0x24], edx
lea eax, [ecx - 0x13]
lea ebp, [esi + 0x200]
cmp edx, eax
jl 0x101306c4
movzx eax, word [ebx + 0x14]
add esi, 0x1f0
sub eax, 0x13
mov dword [esp + 0x30], esi
cmp esi, eax
jl 0x10130450
push dword [esp + 0x70]
mov ecx, ebx
call fcn.10168d30
push 8
mov ecx, ebx
call fcn.1012e240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret 4
push 0x10404af8
lea eax, [esp + 0x8c]
mov dword [esp + 0x8c], 5
push eax
call fcn.1026eb3b
push 0x10404af8
lea eax, [esp + 0x7c]
mov dword [esp + 0x7c], 5
push eax
call fcn.1026eb3b
push 0x10404af8
lea eax, [esp + 0x7c]
mov dword [esp + 0x7c], 5
push eax
call fcn.1026eb3b
push 0x10404af8
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 5
push eax
call fcn.1026eb3b
int3