Function at 0x100295c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a229d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xe8
mov eax, dword [0x100f3900]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x84], esi
mov edi, dword [ebx + 8]
push ecx
push dword [edi + 8]
push dword [edi + 4]
call fcn.10032550
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x54]
push eax
mov dword [ebp - 0x7c], edi
call fcn.10041190
movss dword [ebp - 0x18], xmm0
fld dword [ebp - 0x18]
fstp dword [esp]
movups xmmword [ebp - 0xc0], xmm0
call fcn.1009e82e
add esp, 4
test ax, ax
jle 0x10029663
mov byte [esi + 0x24], 1
mov eax, esi
mov dword [esi + 0x20], 3
jmp 0x1002a6bb
movups xmm1, xmmword [ebp - 0xc0]
ucomiss xmm1, dword [0x100e70c0]
lahf
test ah, 0x44
jp 0x10029686
movss xmm1, dword [0x100e711c]
movups xmmword [ebp - 0xc0], xmm1
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x38]
je 0x100297e2
mov esi, dword [edi + 4]
mov ecx, dword [ebx + 8]
mov edi, dword [ebp - 0x84]
add edi, 0x10c
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x58], eax
lea edx, [edi + 8]
mov eax, dword [edi + 4]
mov dword [ebp - 0x54], esi
movss dword [ebp - 0x50], xmm1
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x18], edx
cmp eax, esi
jne 0x100296d5
mov edx, dword [edx]
cmp edx, ecx
je 0x10029747
jmp 0x100296d8
mov dword [ebp - 0x18], edx
test esi, esi
je 0x100296f0
test ecx, ecx
je 0x100296f0
mov eax, 0x7fffffff
cdq
idiv ecx
cmp esi, eax
jg 0x1002a6db
mov eax, dword [ebp - 0x18]
mov edx, esi
imul edx, ecx
mov eax, dword [eax]
imul eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], edx
cmp edx, eax
je 0x10029737
mov eax, dword [edi]
test eax, eax
je 0x10029722
push dword [eax - 4]
call fcn.10086b56
mov edx, dword [ebp - 0x98]
add esp, 4
test edx, edx
jle 0x10029731
mov ecx, edx
call fcn.10026d20
mov dword [edi], eax
jmp 0x10029737
mov dword [edi], 0
mov eax, dword [ebp - 0x94]
mov edx, eax
mov dword [edi + 8], eax
mov eax, esi
mov dword [edi + 4], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
imul eax, edx
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x85]
mov dword [ebp - 0x28], ecx
xor ecx, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x90], eax
cdq
and edx, 3
mov dword [ebp - 0x24], edi
add edx, eax
and edx, 0xfffffffc
test edx, edx
jle 0x100297a3
nop
mov eax, dword [ebp - 0x58]
movss xmm0, dword [ebp - 0x50]
shufps xmm0, xmm0, 0
movups xmm1, xmmword [eax + ecx*4]
divps xmm1, xmm0
movups xmmword [esi + ecx*4], xmm1
add ecx, 4
cmp ecx, edx
jge 0x100297a3
mov esi, dword [ebp - 0x20]
jmp 0x10029780
push dword [ebp - 0x90]
lea ecx, [ebp - 0x30]
call fcn.100541a0
mov edi, dword [ebp - 0x84]
add esp, 4
lea eax, [edi + 0x10c]
push eax
push edi
lea ecx, [edi + 0x50]
call fcn.10031cc0
lea eax, [edi + 0x10c]
push eax
push edi
lea ecx, [edi + 0xb4]
call fcn.100319b0
jmp 0x10029e01
mov esi, dword [esi + 0x3c]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], edi
movups xmm0, xmmword [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xd8], eax
movq xmm0, qword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x28]
push eax
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xcc], esi
movss dword [ebp - 0xc8], xmm1
call fcn.1004b840
mov eax, dword [ebp - 0x84]
mov dword [ebp - 4], 0
mov edx, dword [eax + 0x48]
lea ecx, [eax + 0x4c]
mov dword [ebp - 0x8c], edx
cmp edx, esi
jne 0x10029875
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x100298fc
test esi, esi
je 0x1002988f
mov eax, 0x7fffffff
cdq
idiv esi
cmp esi, eax
jg 0x1002a6e0
mov edx, dword [ebp - 0x8c]
mov eax, dword [ecx]
mov edi, esi
mov ecx, dword [ebp - 0x84]
imul edi, esi
imul eax, edx
cmp edi, eax
je 0x100298e9
mov eax, dword [ecx + 0x44]
test eax, eax
je 0x100298bb
push dword [eax - 4]
call fcn.10086b56
mov ecx, dword [ebp - 0x84]
add esp, 4
test edi, edi
jle 0x100298e2
mov ecx, edi
call fcn.10026d20
mov ecx, dword [ebp - 0x84]
mov edx, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x8c], edx
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x48], esi
mov dword [ecx + 0x4c], esi
jmp 0x10029902
mov dword [ecx + 0x44], 0
mov edx, esi
mov dword [ecx + 0x48], esi
mov dword [ecx + 0x4c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x8c], edx
jmp 0x10029902
mov ecx, dword [ebp - 0x84]
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x98], eax
mov eax, edx
and eax, 0x80000003
jns 0x10029919
dec eax
or eax, 0xfffffffc
inc eax
neg eax
xor edi, edi
and eax, 3
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x18], eax
jle 0x10029a6d
nop dword [eax]
nop dword [eax + eax]
mov esi, edx
mov dword [ebp - 0x90], 0
sub esi, eax
and esi, 0xfffffffc
add esi, eax
mov dword [ebp - 0xa0], esi
test eax, eax
jle 0x100299b1
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
imul ecx, edi
add ecx, dword [ebp - 0x90]
movss xmm0, dword [eax + ecx*4]
mov eax, edx
divss xmm0, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x98]
imul eax, edi
add eax, ecx
inc ecx
mov dword [ebp - 0x90], ecx
movss dword [edx + eax*4], xmm0
mov edx, dword [ebp - 0x8c]
cmp ecx, esi
jl 0x10029963
mov esi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
mov ecx, eax
cmp eax, esi
jge 0x10029a13
nop dword [eax]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x28]
imul edx, edi
shufps xmm0, xmm0, 0
add edx, ecx
mov ecx, dword [ebp - 0x8c]
imul ecx, edi
movups xmm1, xmmword [eax + edx*4]
mov eax, dword [ebp - 0x98]
add ecx, dword [ebp - 0x90]
divps xmm1, xmm0
movups xmmword [eax + ecx*4], xmm1
mov ecx, dword [ebp - 0x90]
add ecx, 4
mov dword [ebp - 0x90], ecx
cmp ecx, esi
jl 0x100299c0
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x94]
cmp esi, edx
jge 0x10029a49
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
imul ecx, edi
add ecx, esi
movss xmm0, dword [eax + ecx*4]
mov eax, edx
divss xmm0, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x98]
imul eax, edi
add eax, esi
inc esi
movss dword [ecx + eax*4], xmm0
cmp esi, edx
jl 0x10029a17
mov eax, dword [ebp - 0x94]
add eax, dword [ebp - 0x1c]
and eax, 0x80000003
jns 0x10029a58
dec eax
or eax, 0xfffffffc
inc eax
cmp edx, eax
cmovl eax, edx
inc edi
mov dword [ebp - 0x94], eax
cmp edi, dword [ebp - 0x18]
jl 0x10029940
mov edi, dword [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
cmp byte [edi + 0x27], 0
je 0x10029b50
mov edi, dword [edi + 0x34]
test edi, edi
je 0x10029a9b
mov eax, 0x7fffffff
cdq
idiv edi
cmp edi, eax
jg 0x1002a6e5
mov edx, dword [ebp - 0x84]
mov esi, edi
imul esi, edi
mov eax, dword [edx + 8]
imul eax, dword [edx + 4]
cmp esi, eax
je 0x10029ae3
mov eax, dword [edx]
test eax, eax
je 0x10029ac8
push dword [eax - 4]
call fcn.10086b56
mov edx, dword [ebp - 0x84]
add esp, 4
test esi, esi
jle 0x10029add
mov ecx, esi
call fcn.10026d20
mov edx, dword [ebp - 0x84]
mov dword [edx], eax
jmp 0x10029ae3
mov dword [edx], 0
mov dword [edx + 4], edi
xor esi, esi
mov dword [edx + 8], edi
mov ecx, dword [edx]
mov edx, edi
mov dword [ebp - 0x18], ecx
test edi, edi
jle 0x10029b4a
movss xmm1, dword [0x100e711c]
lea edi, [edx*4]
mov dword [ebp - 0x1c], edi
xor eax, eax
test edx, edx
jle 0x10029b35
mov edi, dword [ebp - 0x84]
cmp eax, esi
jne 0x10029b1d
movaps xmm0, xmm1
jmp 0x10029b20
xorps xmm0, xmm0
movss dword [ecx], xmm0
inc eax
mov edx, dword [edi + 4]
add ecx, 4
cmp eax, edx
jl 0x10029b14
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x84]
inc esi
add ecx, edi
mov dword [ebp - 0x18], ecx
cmp esi, dword [eax + 8]
jl 0x10029b08
mov edi, eax
jmp 0x10029b50
mov edi, dword [ebp - 0x84]
cmp byte [edi + 0x28], 0
je 0x10029c34
mov edx, dword [ebp - 0x84]
mov edi, dword [edi + 0x3c]
mov esi, dword [edx + 0x34]
test esi, esi
je 0x10029b84
test edi, edi
je 0x10029b84
mov eax, 0x7fffffff
cdq
idiv edi
cmp esi, eax
jg 0x1002a6e5
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 8]
mov ecx, edi
imul eax, dword [edx + 4]
imul ecx, esi
mov dword [ebp - 0x1c], ecx
cmp ecx, eax
je 0x10029bca
mov eax, dword [edx]
test eax, eax
je 0x10029bb1
push dword [eax - 4]
call fcn.10086b56
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov edx, dword [ebp - 0x84]
test ecx, ecx
jle 0x10029bc4
call fcn.10026d20
mov edx, dword [ebp - 0x84]
mov dword [edx], eax
jmp 0x10029bca
mov dword [edx], 0
mov dword [edx + 4], esi
mov dword [edx + 8], edi
mov ecx, dword [edx]
mov edx, esi
xor esi, esi
mov dword [ebp - 0x18], ecx
test edi, edi
jle 0x10029c2e
lea edi, [edx*4]
mov dword [ebp - 0x1c], edi
xor eax, eax
test edx, edx
jle 0x10029c19
mov edi, dword [ebp - 0x84]
cmp eax, esi
jne 0x10029c01
movss xmm0, dword [0x100e711c]
jmp 0x10029c04
xorps xmm0, xmm0
movss dword [ecx], xmm0
inc eax
mov edx, dword [edi + 4]
add ecx, 4
cmp eax, edx
jl 0x10029bf3
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x84]
inc esi
add ecx, edi
mov dword [ebp - 0x18], ecx
cmp esi, dword [eax + 8]
jl 0x10029be7
mov edi, eax
jmp 0x10029c34
mov edi, dword [ebp - 0x84]
cmp byte [edi + 0x29], 0
je 0x10029d11
mov edi, dword [edi + 0x38]
test edi, edi
je 0x10029c55
mov eax, 0x7fffffff
cdq
idiv edi
cmp edi, eax
jg 0x1002a6e5
mov edx, dword [ebp - 0x84]
mov esi, edi
imul esi, edi
mov eax, dword [edx + 0x14]
imul eax, dword [edx + 0x10]
cmp esi, eax
je 0x10029ca0
mov eax, dword [edx + 0xc]
test eax, eax
je 0x10029c83
push dword [eax - 4]
call fcn.10086b56
mov edx, dword [ebp - 0x84]
add esp, 4
test esi, esi
jle 0x10029c99
mov ecx, esi
call fcn.10026d20
mov edx, dword [ebp - 0x84]
mov dword [edx + 0xc], eax
jmp 0x10029ca0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], edi
xor esi, esi
mov dword [edx + 0x14], edi
mov ecx, dword [edx + 0xc]
mov edx, edi
mov dword [ebp - 0x18], ecx
test edi, edi
jle 0x10029d0b
lea edi, [edx*4]
mov dword [ebp - 0x1c], edi
nop
xor eax, eax
test edx, edx
jle 0x10029cf6
mov edi, dword [ebp - 0x84]
nop dword [eax]
cmp eax, esi
jne 0x10029cde
movss xmm0, dword [0x100e711c]
jmp 0x10029ce1
xorps xmm0, xmm0
movss dword [ecx], xmm0
inc eax
mov edx, dword [edi + 0x10]
add ecx, 4
cmp eax, edx
jl 0x10029cd0
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x84]
inc esi
add ecx, edi
mov dword [ebp - 0x18], ecx
cmp esi, dword [eax + 0x14]
jl 0x10029cc0
mov edi, eax
jmp 0x10029d11
mov edi, dword [ebp - 0x84]
cmp byte [edi + 0x2a], 0
je 0x10029e01
mov edx, dword [ebp - 0x84]
mov edi, dword [edi + 0x3c]
mov esi, dword [edx + 0x38]
test esi, esi
je 0x10029d45
test edi, edi
je 0x10029d45
mov eax, 0x7fffffff
cdq
idiv edi
cmp esi, eax
jg 0x1002a6e5
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x10]
mov ecx, edi
imul eax, dword [edx + 0x14]
imul ecx, esi
mov dword [ebp - 0x1c], ecx
cmp ecx, eax
je 0x10029d8e
mov eax, dword [edx + 0xc]
test eax, eax
je 0x10029d73
push dword [eax - 4]
call fcn.10086b56
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov edx, dword [ebp - 0x84]
test ecx, ecx
jle 0x10029d87
call fcn.10026d20
mov edx, dword [ebp - 0x84]
mov dword [edx + 0xc], eax
jmp 0x10029d8e
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], edi
mov ecx, dword [edx + 0xc]
mov edx, esi
xor esi, esi
mov dword [ebp - 0x18], ecx
test edi, edi
jle 0x10029dfb
lea edi, [edx*4]
mov dword [ebp - 0x1c], edi
nop dword [eax]
xor eax, eax
test edx, edx
jle 0x10029de6
mov edi, dword [ebp - 0x84]
nop dword [eax]
cmp eax, esi
jne 0x10029dce
movss xmm0, dword [0x100e711c]
jmp 0x10029dd1
xorps xmm0, xmm0
movss dword [ecx], xmm0
inc eax
mov edx, dword [edi + 0x10]
add ecx, 4
cmp eax, edx
jl 0x10029dc0
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x84]
inc esi
add ecx, edi
mov dword [ebp - 0x18], ecx
cmp esi, dword [eax + 0x14]
jl 0x10029db0
mov edi, eax
jmp 0x10029e01
mov edi, dword [ebp - 0x84]
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
movss xmm0, dword [eax]
call fcn.100019a0
movaps xmm1, xmm0
mov eax, edx
movss dword [ebp - 0x18], xmm1
mov esi, 1
cmp dword [edi + 0x4c], edx
movss dword [ebp - 0x98], xmm1
cmovl eax, dword [edi + 0x4c]
cmp eax, esi
jle 0x10029e99
mov ecx, dword [ebp - 0x84]
lea edi, [edx*4 + 4]
mov eax, dword [ecx + 0x44]
add eax, 4
lea edx, [eax + edx*4]
nop dword [eax + eax]
movss xmm0, dword [edx]
call fcn.100019a0
comiss xmm0, xmm1
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
movss dword [ebp - 0x1c], xmm0
cmovbe eax, ecx
inc esi
add edx, edi
movss xmm1, dword [eax]
mov eax, dword [ebp - 0x84]
movss dword [ebp - 0x18], xmm1
mov ecx, dword [eax + 0x4c]
mov eax, dword [eax + 0x48]
cmp ecx, eax
cmovl eax, ecx
cmp esi, eax
jl 0x10029e50
mov edi, dword [ebp - 0x84]
movss dword [ebp - 0x98], xmm1
lea edx, [edi + 0x44]
mov dword [ebp - 0x8c], edx
nop dword [eax]
nop word [eax + eax]
mov eax, dword [edi + 0x3c]
mov esi, 1
mov byte [ebp - 0x85], 1
mov dword [ebp - 0x94], esi
cmp eax, esi
jle 0x1002a21b
nop dword [eax]
xor edi, edi
mov dword [ebp - 0x90], edi
test esi, esi
jle 0x1002a1f6
mov ecx, dword [edx + 4]
mov eax, ecx
mov edx, dword [edx]
mulss xmm1, dword [0x100e70dc]
imul eax, edi
maxss xmm1, dword [0x100e70d0]
add eax, esi
movss xmm0, dword [edx + eax*4]
call fcn.100019a0
comiss xmm0, xmm1
ja 0x10029f23
imul ecx, esi
add ecx, edi
movss xmm0, dword [edx + ecx*4]
call fcn.100019a0
comiss xmm0, xmm1
jbe 0x1002a1d9
lea eax, [ebp - 0xa4]
mov byte [ebp - 0x85], 0
push eax
lea eax, [ebp - 0x20]
mov edx, esi
push eax
push edi
mov edi, dword [ebp - 0x8c]
mov ecx, edi
call fcn.10033d10
movss xmm5, dword [ebp - 0x20]
add esp, 0xc
movss xmm0, dword [0x100e711c]
xorps xmm7, xmm7
mov eax, dword [edi]
mov edx, dword [ebp - 0x90]
mov edi, dword [edi + 8]
movss xmm4, dword [ebp - 0x1c]
ucomiss xmm5, xmm0
lea ecx, [eax + esi*4]
mov esi, dword [ebp - 0x8c]
lea edx, [eax + edx*4]
mov esi, dword [esi + 4]
lahf
test ah, 0x44
jp 0x10029f89
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x10029fd4
xor eax, eax
test edi, edi
jle 0x10029fd4
shl esi, 2
movss xmm2, dword [edx]
movaps xmm1, xmm5
movss xmm3, dword [ecx]
movaps xmm0, xmm2
mulss xmm0, xmm4
inc eax
mulss xmm1, xmm3
mulss xmm3, xmm4
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm2
subss xmm0, xmm3
movss dword [ecx], xmm1
add ecx, esi
movss dword [edx], xmm0
add edx, esi
cmp eax, edi
jl 0x10029f92
movss xmm0, dword [0x100e711c]
mov ecx, dword [ebp - 0x84]
call fcn.10032110
mov edi, dword [ebp - 0x90]
test al, al
je 0x1002a05c
mov esi, dword [ecx + 4]
mov eax, esi
imul eax, dword [ebp - 0x94]
mov ecx, dword [ecx]
lea edx, [ecx + eax*4]
mov eax, esi
imul eax, edi
ucomiss xmm5, xmm0
lea ecx, [ecx + eax*4]
lahf
test ah, 0x44
jp 0x1002a014
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x1002a05c
xor eax, eax
test esi, esi
jle 0x1002a05c
nop word [eax + eax]
movss xmm2, dword [ecx]
movaps xmm1, xmm5
movss xmm3, dword [edx]
movaps xmm0, xmm2
mulss xmm0, xmm4
inc eax
mulss xmm1, xmm3
mulss xmm3, xmm4
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm2
subss xmm0, xmm3
movss dword [edx], xmm1
add edx, 4
movss dword [ecx], xmm0
add ecx, 4
cmp eax, esi
jl 0x1002a020
mov eax, dword [ebp - 0x8c]
movss xmm4, dword [ebp - 0xa4]
movss xmm0, dword [0x100e711c]
movss xmm6, dword [ebp - 0xa0]
mov ecx, dword [eax]
movaps xmm5, xmm6
mov esi, dword [eax + 4]
mov eax, esi
imul eax, dword [ebp - 0x94]
movss xmm1, dword [0x100e7360]
xorps xmm5, xmm1
lea edx, [ecx + eax*4]
mov eax, esi
imul eax, edi
ucomiss xmm4, xmm0
lea ecx, [ecx + eax*4]
lahf
test ah, 0x44
jp 0x1002a0b3
ucomiss xmm5, xmm7
lahf
test ah, 0x44
jnp 0x1002a109
xor eax, eax
test esi, esi
jle 0x1002a109
nop dword [eax]
movss xmm3, dword [edx]
inc eax
movss xmm2, dword [ecx]
movaps xmm0, xmm3
movaps xmm1, xmm2
mulss xmm0, xmm4
mulss xmm1, xmm5
mulss xmm2, xmm4
mulss xmm3, xmm5
addss xmm1, xmm0
subss xmm2, xmm3
movss dword [edx], xmm1
add edx, 4
movss dword [ecx], xmm2
add ecx, 4
cmp eax, esi
jl 0x1002a0c0
movss xmm0, dword [0x100e711c]
movss xmm1, dword [0x100e7360]
mov ecx, dword [ebp - 0x84]
call fcn.100320f0
test al, al
je 0x1002a18c
mov esi, dword [ecx + 0x10]
xorps xmm6, xmm1
mov ecx, dword [ecx + 0xc]
mov eax, esi
imul eax, dword [ebp - 0x94]
lea edx, [ecx + eax*4]
mov eax, esi
imul eax, edi
ucomiss xmm4, xmm0
lea ecx, [ecx + eax*4]
lahf
test ah, 0x44
jp 0x1002a147
ucomiss xmm6, xmm7
lahf
test ah, 0x44
jnp 0x1002a18c
xor eax, eax
test esi, esi
jle 0x1002a18c
nop dword [eax]
movss xmm2, dword [ecx]
movaps xmm1, xmm4
movss xmm3, dword [edx]
movaps xmm0, xmm2
mulss xmm0, xmm6
inc eax
mulss xmm1, xmm3
mulss xmm3, xmm6
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm2
subss xmm0, xmm3
movss dword [edx], xmm1
add edx, 4
movss dword [ecx], xmm0
add ecx, 4
cmp eax, esi
jl 0x1002a150
mov esi, dword [ebp - 0x8c]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [eax*4 + 4]
mov eax, edx
imul eax, edi
movss xmm0, dword [eax + ecx]
call fcn.100019a0
mov esi, dword [ebp - 0x94]
movaps xmm1, xmm0
imul edx, esi
movss xmm0, dword [edx + ecx]
call fcn.100019a0
maxss xmm1, xmm0
maxss xmm1, dword [ebp - 0x98]
movss dword [ebp - 0x98], xmm1
jmp 0x1002a1e1
movss xmm1, dword [ebp - 0x98]
mov edx, dword [ebp - 0x8c]
inc edi
mov dword [ebp - 0x90], edi
cmp edi, esi
jl 0x10029ee0
mov edi, dword [ebp - 0x84]
inc esi
mov dword [ebp - 0x94], esi
mov eax, dword [edi + 0x3c]
cmp esi, eax
jl 0x10029ed0
cmp byte [ebp - 0x85], 0
je 0x10029eb0
xor edx, edx
mov dword [ebp - 0x18], edx
test eax, eax
jle 0x1002a33c
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x44]
inc ecx
imul ecx, edx
movss xmm1, dword [eax + ecx*4]
movaps xmm0, xmm1
call fcn.100019a0
mov eax, dword [edi + 0x18]
mov ecx, edi
movss dword [eax + edx*4], xmm0
call fcn.10032110
test al, al
je 0x1002a32f
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1002a32f
mov edi, dword [edi + 4]
mov ecx, edi
mov esi, dword [ebp - 0x84]
imul ecx, edx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], edi
mov eax, dword [esi]
mov esi, edi
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x24], edi
lea eax, [eax + ecx*4]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x74], ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x85]
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x68], ecx
test al, 3
jne 0x1002a2c5
shr eax, 2
neg eax
and eax, 3
cmp eax, edi
cmovl esi, eax
mov eax, edi
sub eax, esi
mov eax, eax
test eax, eax
jns 0x1002a2d2
add eax, 3
sar eax, 2
lea eax, [esi + eax*4]
xor edx, edx
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x1c], eax
call fcn.100522a0
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp esi, ecx
jge 0x1002a318
movaps xmm1, xmmword [0x100e7360]
nop word [eax + eax]
mov eax, dword [ebp - 0x2c]
movups xmm0, xmmword [eax + esi*4]
mov eax, dword [ebp - 0x48]
xorps xmm0, xmm1
movups xmmword [eax + esi*4], xmm0
add esi, 4
cmp esi, ecx
jl 0x1002a300
mov edx, ecx
lea ecx, [ebp - 0x74]
push edi
call fcn.100522a0
mov edx, dword [ebp - 0x18]
add esp, 4
mov edi, dword [ebp - 0x84]
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [edi + 0x3c]
jl 0x1002a228
mov ecx, dword [edi + 0x18]
lea edx, [ebp - 0x18]
mov esi, dword [edi + 0x1c]
lea eax, [edi + 0x18]
movups xmm1, xmmword [ebp - 0xc0]
mov dword [ebp - 0x30], edx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x85]
mov dword [ebp - 0x24], eax
mov eax, esi
mov dword [ebp - 0x28], edx
cdq
and edx, 3
movss dword [ebp - 0x20], xmm1
add edx, eax
mov dword [ebp - 0x18], ecx
and edx, 0xfffffffc
xor eax, eax
test edx, edx
jle 0x1002a3a0
nop dword [eax]
movups xmm0, xmmword [ecx + eax*4]
shufps xmm1, xmm1, 0
mulps xmm0, xmm1
movups xmmword [ecx + eax*4], xmm0
add eax, 4
cmp eax, edx
jge 0x1002a3a0
movss xmm1, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
jmp 0x1002a380
push esi
lea ecx, [ebp - 0x30]
call fcn.100501d0
mov esi, dword [edi + 0x3c]
xor eax, eax
add esp, 4
mov dword [edi + 0x30], esi
mov dword [ebp - 0x8c], eax
test esi, esi
jle 0x1002a6b5
xorps xmm2, xmm2
mov ecx, dword [edi + 0x1c]
sub esi, eax
mov eax, dword [edi + 0x18]
sub ecx, esi
movaps xmm0, xmm2
lea edx, [eax + ecx*4]
or ecx, 0xffffffff
test esi, esi
je 0x1002a456
movss xmm0, dword [edx]
xor ecx, ecx
lea eax, [ecx + 1]
cmp esi, eax
jle 0x1002a456
cmp esi, 4
jle 0x1002a442
lea edi, [esi - 3]
movss xmm1, dword [edx + eax*4]
comiss xmm1, xmm0
jbe 0x1002a404
movaps xmm0, xmm1
mov ecx, eax
movss xmm1, dword [edx + eax*4 + 4]
comiss xmm1, xmm0
jbe 0x1002a415
movaps xmm0, xmm1
lea ecx, [eax + 1]
movss xmm1, dword [edx + eax*4 + 8]
comiss xmm1, xmm0
jbe 0x1002a426
movaps xmm0, xmm1
lea ecx, [eax + 2]
movss xmm1, dword [edx + eax*4 + 0xc]
comiss xmm1, xmm0
jbe 0x1002a437
movaps xmm0, xmm1
lea ecx, [eax + 3]
add eax, 4
cmp eax, edi
jl 0x1002a3f5
cmp eax, esi
jge 0x1002a456
movss xmm1, dword [edx + eax*4]
comiss xmm1, xmm0
jbe 0x1002a451
movaps xmm0, xmm1
mov ecx, eax
inc eax
cmp eax, esi
jl 0x1002a442
mov edi, dword [ebp - 0x84]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1002a6ac
test ecx, ecx
je 0x1002a692
mov edx, dword [ebp - 0x8c]
lea esi, [ecx + edx]
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0xa0], esi
mov eax, dword [ecx + esi*4]
movss xmm0, dword [ecx + edx*4]
mov dword [ecx + edx*4], eax
movss dword [ecx + esi*4], xmm0
mov ecx, edi
call fcn.10032110
test al, al
je 0x1002a59e
mov edi, dword [edi + 4]
mov eax, ecx
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xcc], 0
mov ecx, dword [eax]
mov eax, edi
imul eax, esi
mov esi, edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x78], edi
lea edx, [ecx + eax*4]
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xd0], eax
mov eax, edi
imul eax, dword [ebp - 0x8c]
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0x80], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x85]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xb4], eax
test dl, 3
jne 0x1002a535
shr edx, 2
neg edx
and edx, 3
cmp edx, edi
cmovl esi, edx
mov eax, edi
sub eax, esi
mov eax, eax
test eax, eax
jns 0x1002a542
add eax, 3
sar eax, 2
lea eax, [esi + eax*4]
xor edx, edx
push esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x1c], eax
call fcn.10050280
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp esi, edx
jge 0x1002a583
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x54]
movups xmm0, xmmword [eax + esi*4]
movups xmm1, xmmword [ecx + esi*4]
movups xmmword [ecx + esi*4], xmm0
mov eax, dword [ebp - 0x80]
movups xmmword [eax + esi*4], xmm1
add esi, 4
cmp esi, edx
jl 0x1002a563
push edi
lea ecx, [ebp - 0xc0]
call fcn.10050280
mov esi, dword [ebp - 0xa0]
add esp, 4
mov edi, dword [ebp - 0x84]
mov ecx, edi
call fcn.100320f0
test al, al
je 0x1002a692
mov edx, dword [edi + 0xc]
lea ecx, [edi + 0xc]
mov edi, dword [ecx + 4]
mov eax, edi
imul eax, esi
mov dword [ebp - 0xd0], ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x99]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xc8], esi
mov esi, edi
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xcc], 0
lea eax, [edx + eax*4]
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xdc], eax
mov eax, edi
imul eax, dword [ebp - 0x8c]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x24], ecx
lea eax, [edx + eax*4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
test al, 3
jne 0x1002a635
shr eax, 2
neg eax
and eax, 3
cmp eax, edi
cmovl esi, eax
mov eax, edi
sub eax, esi
mov eax, eax
test eax, eax
jns 0x1002a642
add eax, 3
sar eax, 2
lea eax, [esi + eax*4]
xor edx, edx
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], eax
call fcn.10050280
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp esi, edx
jge 0x1002a680
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x70]
movups xmm0, xmmword [eax + esi*4]
movups xmm1, xmmword [ecx + esi*4]
movups xmmword [ecx + esi*4], xmm0
mov eax, dword [ebp - 0x48]
movups xmmword [eax + esi*4], xmm1
add esi, 4
cmp esi, edx
jl 0x1002a660
push edi
lea ecx, [ebp - 0x30]
call fcn.10050280
mov edi, dword [ebp - 0x84]
add esp, 4
mov eax, dword [ebp - 0x8c]
mov esi, dword [edi + 0x3c]
inc eax
mov dword [ebp - 0x8c], eax
cmp eax, esi
jl 0x1002a3c5
jmp 0x1002a6b5
mov eax, dword [ebp - 0x8c]
mov dword [edi + 0x30], eax
mov byte [edi + 0x24], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10075417
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.10002c00
call fcn.10002c00
call fcn.10002c00
int3