Function at 0x1002a820
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 0x1009c3dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xe8
mov eax, dword [0x10113900]
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.100338d0
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.10042510
movss dword [ebp - 0x18], xmm0
fld dword [ebp - 0x18]
fstp dword [esp]
movups xmmword [ebp - 0xc0], xmm0
call fcn.10097cee
add esp, 4
test ax, ax
jle 0x1002a8c3
mov byte [esi + 0x24], 1
mov eax, esi
mov dword [esi + 0x20], 3
jmp 0x1002b91b
movups xmm1, xmmword [ebp - 0xc0]
ucomiss xmm1, dword [0x10105d50]
lahf
test ah, 0x44
jp 0x1002a8e6
movss xmm1, dword [0x10105dac]
movups xmmword [ebp - 0xc0], xmm1
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x38]
je 0x1002aa42
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 0x1002a935
mov edx, dword [edx]
cmp edx, ecx
je 0x1002a9a7
jmp 0x1002a938
mov dword [ebp - 0x18], edx
test esi, esi
je 0x1002a950
test ecx, ecx
je 0x1002a950
mov eax, 0x7fffffff
cdq
idiv ecx
cmp esi, eax
jg 0x1002b93b
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 0x1002a997
mov eax, dword [edi]
test eax, eax
je 0x1002a982
push dword [eax - 4]
call fcn.10080ff6
mov edx, dword [ebp - 0x98]
add esp, 4
test edx, edx
jle 0x1002a991
mov ecx, edx
call fcn.10027f80
mov dword [edi], eax
jmp 0x1002a997
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 0x1002aa03
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 0x1002aa03
mov esi, dword [ebp - 0x20]
jmp 0x1002a9e0
push dword [ebp - 0x90]
lea ecx, [ebp - 0x30]
call fcn.10055500
mov edi, dword [ebp - 0x84]
add esp, 4
lea eax, [edi + 0x10c]
push eax
push edi
lea ecx, [edi + 0x50]
call fcn.10033040
lea eax, [edi + 0x10c]
push eax
push edi
lea ecx, [edi + 0xb4]
call fcn.10032d30
jmp 0x1002b061
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.1004cbb0
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 0x1002aad5
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x1002ab5c
test esi, esi
je 0x1002aaef
mov eax, 0x7fffffff
cdq
idiv esi
cmp esi, eax
jg 0x1002b940
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 0x1002ab49
mov eax, dword [ecx + 0x44]
test eax, eax
je 0x1002ab1b
push dword [eax - 4]
call fcn.10080ff6
mov ecx, dword [ebp - 0x84]
add esp, 4
test edi, edi
jle 0x1002ab42
mov ecx, edi
call fcn.10027f80
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 0x1002ab62
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 0x1002ab62
mov ecx, dword [ebp - 0x84]
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x98], eax
mov eax, edx
and eax, 0x80000003
jns 0x1002ab79
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 0x1002accd
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 0x1002ac11
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 0x1002abc3
mov esi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
mov ecx, eax
cmp eax, esi
jge 0x1002ac73
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 0x1002ac20
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x94]
cmp esi, edx
jge 0x1002aca9
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 0x1002ac77
mov eax, dword [ebp - 0x94]
add eax, dword [ebp - 0x1c]
and eax, 0x80000003
jns 0x1002acb8
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 0x1002aba0
mov edi, dword [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
cmp byte [edi + 0x27], 0
je 0x1002adb0
mov edi, dword [edi + 0x34]
test edi, edi
je 0x1002acfb
mov eax, 0x7fffffff
cdq
idiv edi
cmp edi, eax
jg 0x1002b945
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 0x1002ad43
mov eax, dword [edx]
test eax, eax
je 0x1002ad28
push dword [eax - 4]
call fcn.10080ff6
mov edx, dword [ebp - 0x84]
add esp, 4
test esi, esi
jle 0x1002ad3d
mov ecx, esi
call fcn.10027f80
mov edx, dword [ebp - 0x84]
mov dword [edx], eax
jmp 0x1002ad43
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 0x1002adaa
movss xmm1, dword [0x10105dac]
lea edi, [edx*4]
mov dword [ebp - 0x1c], edi
xor eax, eax
test edx, edx
jle 0x1002ad95
mov edi, dword [ebp - 0x84]
cmp eax, esi
jne 0x1002ad7d
movaps xmm0, xmm1
jmp 0x1002ad80
xorps xmm0, xmm0
movss dword [ecx], xmm0
inc eax
mov edx, dword [edi + 4]
add ecx, 4
cmp eax, edx
jl 0x1002ad74
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 0x1002ad68
mov edi, eax
jmp 0x1002adb0
mov edi, dword [ebp - 0x84]
cmp byte [edi + 0x28], 0
je 0x1002ae94
mov edx, dword [ebp - 0x84]
mov edi, dword [edi + 0x3c]
mov esi, dword [edx + 0x34]
test esi, esi
je 0x1002ade4
test edi, edi
je 0x1002ade4
mov eax, 0x7fffffff
cdq
idiv edi
cmp esi, eax
jg 0x1002b945
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 0x1002ae2a
mov eax, dword [edx]
test eax, eax
je 0x1002ae11
push dword [eax - 4]
call fcn.10080ff6
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov edx, dword [ebp - 0x84]
test ecx, ecx
jle 0x1002ae24
call fcn.10027f80
mov edx, dword [ebp - 0x84]
mov dword [edx], eax
jmp 0x1002ae2a
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 0x1002ae8e
lea edi, [edx*4]
mov dword [ebp - 0x1c], edi
xor eax, eax
test edx, edx
jle 0x1002ae79
mov edi, dword [ebp - 0x84]
cmp eax, esi
jne 0x1002ae61
movss xmm0, dword [0x10105dac]
jmp 0x1002ae64
xorps xmm0, xmm0
movss dword [ecx], xmm0
inc eax
mov edx, dword [edi + 4]
add ecx, 4
cmp eax, edx
jl 0x1002ae53
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 0x1002ae47
mov edi, eax
jmp 0x1002ae94
mov edi, dword [ebp - 0x84]
cmp byte [edi + 0x29], 0
je 0x1002af71
mov edi, dword [edi + 0x38]
test edi, edi
je 0x1002aeb5
mov eax, 0x7fffffff
cdq
idiv edi
cmp edi, eax
jg 0x1002b945
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 0x1002af00
mov eax, dword [edx + 0xc]
test eax, eax
je 0x1002aee3
push dword [eax - 4]
call fcn.10080ff6
mov edx, dword [ebp - 0x84]
add esp, 4
test esi, esi
jle 0x1002aef9
mov ecx, esi
call fcn.10027f80
mov edx, dword [ebp - 0x84]
mov dword [edx + 0xc], eax
jmp 0x1002af00
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 0x1002af6b
lea edi, [edx*4]
mov dword [ebp - 0x1c], edi
nop
xor eax, eax
test edx, edx
jle 0x1002af56
mov edi, dword [ebp - 0x84]
nop dword [eax]
cmp eax, esi
jne 0x1002af3e
movss xmm0, dword [0x10105dac]
jmp 0x1002af41
xorps xmm0, xmm0
movss dword [ecx], xmm0
inc eax
mov edx, dword [edi + 0x10]
add ecx, 4
cmp eax, edx
jl 0x1002af30
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 0x1002af20
mov edi, eax
jmp 0x1002af71
mov edi, dword [ebp - 0x84]
cmp byte [edi + 0x2a], 0
je 0x1002b061
mov edx, dword [ebp - 0x84]
mov edi, dword [edi + 0x3c]
mov esi, dword [edx + 0x38]
test esi, esi
je 0x1002afa5
test edi, edi
je 0x1002afa5
mov eax, 0x7fffffff
cdq
idiv edi
cmp esi, eax
jg 0x1002b945
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 0x1002afee
mov eax, dword [edx + 0xc]
test eax, eax
je 0x1002afd3
push dword [eax - 4]
call fcn.10080ff6
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov edx, dword [ebp - 0x84]
test ecx, ecx
jle 0x1002afe7
call fcn.10027f80
mov edx, dword [ebp - 0x84]
mov dword [edx + 0xc], eax
jmp 0x1002afee
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 0x1002b05b
lea edi, [edx*4]
mov dword [ebp - 0x1c], edi
nop dword [eax]
xor eax, eax
test edx, edx
jle 0x1002b046
mov edi, dword [ebp - 0x84]
nop dword [eax]
cmp eax, esi
jne 0x1002b02e
movss xmm0, dword [0x10105dac]
jmp 0x1002b031
xorps xmm0, xmm0
movss dword [ecx], xmm0
inc eax
mov edx, dword [edi + 0x10]
add ecx, 4
cmp eax, edx
jl 0x1002b020
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 0x1002b010
mov edi, eax
jmp 0x1002b061
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 0x1002b0f9
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 0x1002b0b0
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 0x1002b47b
nop dword [eax]
xor edi, edi
mov dword [ebp - 0x90], edi
test esi, esi
jle 0x1002b456
mov ecx, dword [edx + 4]
mov eax, ecx
mov edx, dword [edx]
mulss xmm1, dword [0x10105d6c]
imul eax, edi
maxss xmm1, dword [0x10105d60]
add eax, esi
movss xmm0, dword [edx + eax*4]
call fcn.100019a0
comiss xmm0, xmm1
ja 0x1002b183
imul ecx, esi
add ecx, edi
movss xmm0, dword [edx + ecx*4]
call fcn.100019a0
comiss xmm0, xmm1
jbe 0x1002b439
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.10035090
movss xmm5, dword [ebp - 0x20]
add esp, 0xc
movss xmm0, dword [0x10105dac]
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 0x1002b1e9
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x1002b234
xor eax, eax
test edi, edi
jle 0x1002b234
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 0x1002b1f2
movss xmm0, dword [0x10105dac]
mov ecx, dword [ebp - 0x84]
call fcn.10033490
mov edi, dword [ebp - 0x90]
test al, al
je 0x1002b2bc
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 0x1002b274
ucomiss xmm4, xmm7
lahf
test ah, 0x44
jnp 0x1002b2bc
xor eax, eax
test esi, esi
jle 0x1002b2bc
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 0x1002b280
mov eax, dword [ebp - 0x8c]
movss xmm4, dword [ebp - 0xa4]
movss xmm0, dword [0x10105dac]
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 [0x10106000]
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 0x1002b313
ucomiss xmm5, xmm7
lahf
test ah, 0x44
jnp 0x1002b369
xor eax, eax
test esi, esi
jle 0x1002b369
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 0x1002b320
movss xmm0, dword [0x10105dac]
movss xmm1, dword [0x10106000]
mov ecx, dword [ebp - 0x84]
call fcn.10033470
test al, al
je 0x1002b3ec
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 0x1002b3a7
ucomiss xmm6, xmm7
lahf
test ah, 0x44
jnp 0x1002b3ec
xor eax, eax
test esi, esi
jle 0x1002b3ec
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 0x1002b3b0
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 0x1002b441
movss xmm1, dword [ebp - 0x98]
mov edx, dword [ebp - 0x8c]
inc edi
mov dword [ebp - 0x90], edi
cmp edi, esi
jl 0x1002b140
mov edi, dword [ebp - 0x84]
inc esi
mov dword [ebp - 0x94], esi
mov eax, dword [edi + 0x3c]
cmp esi, eax
jl 0x1002b130
cmp byte [ebp - 0x85], 0
je 0x1002b110
xor edx, edx
mov dword [ebp - 0x18], edx
test eax, eax
jle 0x1002b59c
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.10033490
test al, al
je 0x1002b58f
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1002b58f
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 0x1002b525
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 0x1002b532
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.10053600
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp esi, ecx
jge 0x1002b578
movaps xmm1, xmmword [0x10106000]
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 0x1002b560
mov edx, ecx
lea ecx, [ebp - 0x74]
push edi
call fcn.10053600
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 0x1002b488
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 0x1002b600
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 0x1002b600
movss xmm1, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
jmp 0x1002b5e0
push esi
lea ecx, [ebp - 0x30]
call fcn.10051530
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 0x1002b915
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 0x1002b6b6
movss xmm0, dword [edx]
xor ecx, ecx
lea eax, [ecx + 1]
cmp esi, eax
jle 0x1002b6b6
cmp esi, 4
jle 0x1002b6a2
lea edi, [esi - 3]
movss xmm1, dword [edx + eax*4]
comiss xmm1, xmm0
jbe 0x1002b664
movaps xmm0, xmm1
mov ecx, eax
movss xmm1, dword [edx + eax*4 + 4]
comiss xmm1, xmm0
jbe 0x1002b675
movaps xmm0, xmm1
lea ecx, [eax + 1]
movss xmm1, dword [edx + eax*4 + 8]
comiss xmm1, xmm0
jbe 0x1002b686
movaps xmm0, xmm1
lea ecx, [eax + 2]
movss xmm1, dword [edx + eax*4 + 0xc]
comiss xmm1, xmm0
jbe 0x1002b697
movaps xmm0, xmm1
lea ecx, [eax + 3]
add eax, 4
cmp eax, edi
jl 0x1002b655
cmp eax, esi
jge 0x1002b6b6
movss xmm1, dword [edx + eax*4]
comiss xmm1, xmm0
jbe 0x1002b6b1
movaps xmm0, xmm1
mov ecx, eax
inc eax
cmp eax, esi
jl 0x1002b6a2
mov edi, dword [ebp - 0x84]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1002b90c
test ecx, ecx
je 0x1002b8f2
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.10033490
test al, al
je 0x1002b7fe
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 0x1002b795
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 0x1002b7a2
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.100515e0
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp esi, edx
jge 0x1002b7e3
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 0x1002b7c3
push edi
lea ecx, [ebp - 0xc0]
call fcn.100515e0
mov esi, dword [ebp - 0xa0]
add esp, 4
mov edi, dword [ebp - 0x84]
mov ecx, edi
call fcn.10033470
test al, al
je 0x1002b8f2
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 0x1002b895
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 0x1002b8a2
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.100515e0
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp esi, edx
jge 0x1002b8e0
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 0x1002b8c0
push edi
lea ecx, [ebp - 0x30]
call fcn.100515e0
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 0x1002b625
jmp 0x1002b915
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.1006f8b7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.10002cb0
call fcn.10002cb0
call fcn.10002cb0
int3