Function at 0x102b0970
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1032ea6d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd0
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x74], edi
cmp byte [0x1060f238], 0
jne 0x102b0c67
mov eax, dword fs:[0x2c]
mov esi, 0x106105b8
mov ecx, dword [0x104c14e0]
mov dword [ebp - 0x4c], eax
mov eax, dword [eax + ecx*4]
add eax, 4
add edi, 0x130
mov dword [ebp - 0x6c], eax
mov ecx, edi
call fcn.10034d00
mov ecx, dword [ebp - 0x6c]
mov eax, dword [0x10610aec]
cmp eax, dword [ecx]
jle 0x102b0a9e
push 0x10610aec
call fcn.102bba07
add esp, 4
cmp dword [0x10610aec], 0xffffffff
jne 0x102b0a9e
push 0x514
push 0
push 0x106105b0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x41
mov eax, 0x106105b8
nop word [eax + eax]
mov dword [eax - 8], 0
lea eax, [eax + 0x14]
mov dword [eax - 0x10], 0
mov dword [eax - 0x14], 0
mov dword [eax - 0x18], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x102b0a40
xorps xmm0, xmm0
push 0x10330610
movups xmmword [0x10610ac4], xmm0
movups xmmword [0x10610ad4], xmm0
movq qword [0x10610ae4], xmm0
call fcn.102bbda4
add esp, 4
push 0x10610aec
call fcn.102bb9b6
add esp, 4
mov dword [esi - 8], 0
add edi, 0x24dc
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi - 4], 0
mov dword [esi + 8], 0
add esi, 0x14
cmp esi, 0x10610ab8
jl 0x102b09e8
mov eax, dword [0x104c14e0]
mov esi, dword [ebp - 0x4c]
mov esi, dword [esi + eax*4]
mov eax, dword [0x10610aec]
cmp eax, dword [esi + 4]
jle 0x102b0b93
push 0x10610aec
call fcn.102bba07
mov eax, dword [0x10610aec]
add esp, 4
cmp eax, 0xffffffff
jne 0x102b0b93
push 0x514
push 0
push 0x106105b0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x41
mov eax, 0x106105b8
nop word [eax + eax]
mov dword [eax - 8], 0
lea eax, [eax + 0x14]
mov dword [eax - 0x10], 0
mov dword [eax - 0x14], 0
mov dword [eax - 0x18], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x102b0b30
xorps xmm0, xmm0
push 0x10330610
movups xmmword [0x10610ac4], xmm0
movups xmmword [0x10610ad4], xmm0
movq qword [0x10610ae4], xmm0
call fcn.102bbda4
add esp, 4
push 0x10610aec
call fcn.102bb9b6
mov eax, dword [0x10610aec]
add esp, 4
mov dword [0x10610ad0], 0
cmp eax, dword [esi + 4]
jle 0x102b0c3f
push 0x10610aec
call fcn.102bba07
add esp, 4
cmp dword [0x10610aec], 0xffffffff
jne 0x102b0c3f
push 0x514
push 0
push 0x106105b0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x41
mov eax, 0x106105b8
mov dword [eax - 8], 0
lea eax, [eax + 0x14]
mov dword [eax - 0x10], 0
mov dword [eax - 0x14], 0
mov dword [eax - 0x18], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x102b0be1
xorps xmm0, xmm0
push 0x10330610
movups xmmword [0x10610ac4], xmm0
movups xmmword [0x10610ad4], xmm0
movq qword [0x10610ae4], xmm0
call fcn.102bbda4
add esp, 4
push 0x10610aec
call fcn.102bb9b6
add esp, 4
mov dword [0x10610ae4], 0
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.102bb91c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [0x1060fc24]
cmp eax, dword [0x1060fc28]
je 0x102b0c79
mov dword [0x1060fc28], eax
mov eax, dword [0x104c14e0]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], eax
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10610aec]
cmp eax, dword [ecx + 4]
jle 0x102b0d31
push 0x10610aec
call fcn.102bba07
add esp, 4
cmp dword [0x10610aec], 0xffffffff
jne 0x102b0d31
push 0x514
push 0
push 0x106105b0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x41
mov eax, 0x106105b8
mov dword [eax - 8], 0
lea eax, [eax + 0x14]
mov dword [eax - 0x10], 0
mov dword [eax - 0x14], 0
mov dword [eax - 0x18], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x102b0cd3
xorps xmm0, xmm0
push 0x10330610
movups xmmword [0x10610ac4], xmm0
movups xmmword [0x10610ad4], xmm0
movq qword [0x10610ae4], xmm0
call fcn.102bbda4
add esp, 4
push 0x10610aec
call fcn.102bb9b6
add esp, 4
mov ecx, 0x106105b0
call fcn.1002d690
cmp dword [0x1060b258], 0
je 0x102b0c49
mov eax, dword [0x1060b254]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x102b0c49
cmp byte [0x104bea30], 0
jne 0x102b0dd1
mov byte [0x104bea30], 1
xor edi, edi
nop word [eax + eax]
xor edx, edx
mov eax, edi
xor eax, dword [0x104bea40]
xor edx, dword [0x104bea44]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x64], eax
mov esi, dword [ebp - 0x64]
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
shr ecx, 7
xor esi, eax
xor edx, ecx
mov dword [ebp - 0x64], esi
mov ecx, esi
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [edi + 0x104bea31]
xor cl, byte [ebp - 0x64]
mov byte [edi + 0x104bea31], cl
inc edi
cmp edi, 0xf
jb 0x102b0d70
mov edi, dword [ebp - 0x74]
push ecx
push 0x104bea3f
push 0x104bea31
lea ecx, [ebp - 0x44]
call fcn.1001a620
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov ecx, dword [0x1060b258]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [ebp - 0x6c]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10019dd0
mov ecx, dword [0x1060b274]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
call edx
xor esi, esi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x60], esi
test eax, eax
jle 0x102b0c49
mov eax, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov dword [ebp - 0x64], eax
mov ecx, dword [0x1060b274]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
mov dword [ebp - 0x48], ecx
cmp esi, 0x40
jge 0x102b1a8e
mov eax, dword [0x1060b5e0]
imul esi, esi, 0x24dc
mov dword [ebp - 0x50], esi
mov byte [esi + edi + 0x16c], 0
mov byte [esi + edi + 0x164], 0
cmp dword [eax + 0xaa8], 0
je 0x102b1a8e
test ecx, ecx
je 0x102b1a8e
mov eax, dword [ecx + 8]
add ecx, 8
mov dword [ebp - 0x5c], ecx
mov eax, dword [eax + 8]
call eax
mov ecx, dword [eax + 0x14]
mov eax, dword [0x1060b30c]
cmp ecx, dword [eax + 0x9c]
jne 0x102b1a8e
mov eax, dword [0x1060b5e0]
cmp dword [eax + 0xaa8], 0
je 0x102b1a8e
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [eax + 0x14]
mov eax, dword [0x1060b30c]
cmp ecx, dword [eax + 0x9c]
jne 0x102b1a8e
mov eax, dword [0x1060b5e0]
mov ecx, dword [eax + 0xaa8]
mov eax, dword [ebp - 0x48]
cmp eax, ecx
je 0x102b1a8e
push ecx
mov ecx, eax
call fcn.100c6430
test al, al
je 0x102b1a8e
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0x25f], 0
jne 0x102b1a8e
lea ecx, [eax + 8]
mov dword [esi + edi + 0x130], eax
mov byte [esi + edi + 0x16c], 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov eax, dword [eax + 0x14]
mov dword [esi + edi + 0x2608], eax
cmp byte [0x1060f23a], 0
je 0x102b1418
mov eax, dword [ebp - 0x48]
mov byte [esi + edi + 0x178], 0
mov ecx, dword [eax + 0x104]
mov dword [ebp - 0x70], ecx
lea ecx, [eax + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x54], ecx
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp - 0x80]
movq xmm0, qword [eax]
movq qword [ebp - 0xbc], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x5c]
add eax, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x102b10ee
mov ecx, dword [ebp - 0x4c]
mov eax, dword [0x10610aec]
cmp eax, dword [ecx]
jle 0x102b103e
push 0x10610aec
call fcn.102bba07
add esp, 4
cmp dword [0x10610aec], 0xffffffff
jne 0x102b103e
push 0x514
push 0
push 0x106105b0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x41
mov eax, 0x106105b8
nop
mov dword [eax - 8], 0
lea eax, [eax + 0x14]
mov dword [eax - 0x10], 0
mov dword [eax - 0x14], 0
mov dword [eax - 0x18], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x102b0fe0
xorps xmm0, xmm0
push 0x10330610
movups xmmword [0x10610ac4], xmm0
movups xmmword [0x10610ad4], xmm0
movq qword [0x10610ae4], xmm0
call fcn.102bbda4
add esp, 4
push 0x10610aec
call fcn.102bb9b6
add esp, 4
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov esi, eax
mov eax, dword [0x1060b290]
lea ecx, [esi + esi*4]
movups xmm1, xmmword [ecx*4 + 0x106105b0]
mov ecx, dword [ecx*4 + 0x106105c0]
mov dword [ebp - 0xcc], ecx
movups xmmword [ebp - 0xdc], xmm1
movss xmm0, dword [eax]
mov eax, dword [ebp - 0x48]
subss xmm0, xmm1
mov dword [eax + 0x104], ecx
lea ecx, [ebp - 0xd8]
andps xmm0, xmmword [0x1041f450]
comiss xmm0, dword [0x1041ef28]
push ecx
mov ecx, eax
mov byte [eax + 0x93d], 1
setbe byte [ebp - 0x65]
call fcn.100c3180
call dword [ebp - 0x64]
movd xmm0, eax
mov eax, dword [0x1060b5e0]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1041ec58]
movss dword [eax + esi*4 + 0x7428], xmm0
mov esi, dword [ebp - 0x50]
mov al, byte [ebp - 0x65]
mov byte [esi + edi + 0x178], al
test al, al
jne 0x102b10e3
mov byte [esi + edi + 0x16c], al
jmp 0x102b1a8e
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4c], eax
jmp 0x102b121f
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 0x100]
mov ecx, dword [ebp - 0x60]
mov dword [edi + ecx*4 + 0x2c], eax
mov ecx, dword [ebp - 0x4c]
mov eax, dword [0x10610aec]
cmp eax, dword [ecx]
jle 0x102b11a4
push 0x10610aec
call fcn.102bba07
add esp, 4
cmp dword [0x10610aec], 0xffffffff
jne 0x102b11a4
push 0x514
push 0
push 0x106105b0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x41
mov eax, 0x106105b8
mov dword [eax - 8], 0
lea eax, [eax + 0x14]
mov dword [eax - 0x10], 0
mov dword [eax - 0x14], 0
mov dword [eax - 0x18], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x102b1146
xorps xmm0, xmm0
push 0x10330610
movups xmmword [0x10610ac4], xmm0
movups xmmword [0x10610ad4], xmm0
movq qword [0x10610ae4], xmm0
call fcn.102bbda4
add esp, 4
push 0x10610aec
call fcn.102bb9b6
add esp, 4
mov eax, dword [ebp - 0x60]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x48]
movq xmm0, qword [eax + 0x138]
mov ecx, dword [eax + 0x104]
mov eax, dword [eax + 0x140]
mov dword [ebp - 0x84], eax
mov eax, dword [0x1060b290]
movq qword [ebp - 0x8c], xmm0
movss xmm0, dword [ebp - 0x8c]
mov eax, dword [eax]
mov dword [edx*4 + 0x106105b0], eax
movss dword [edx*4 + 0x106105b4], xmm0
movss xmm0, dword [ebp - 0x88]
movss dword [edx*4 + 0x106105b8], xmm0
movss xmm0, dword [ebp - 0x84]
movss dword [edx*4 + 0x106105bc], xmm0
mov dword [edx*4 + 0x106105c0], ecx
mov ecx, dword [ebp - 0x60]
mov eax, ecx
mov dword [ebp - 0x4c], ecx
mov ecx, 0xb
add eax, ecx
cmp dword [ebp - 0x6c], 0
mov ecx, eax
je 0x102b12a3
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x50]
add edx, 0xffffffec
je 0x102b12a3
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x102b12a0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
add eax, 0xb
mov dword [ebp - 0x58], eax
mov eax, dword [0x1060b5e0]
push dword [eax + 0xaa8]
call fcn.100c6430
test al, al
je 0x102b12a0
mov eax, dword [ebp - 0x4c]
add eax, 0xb
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0x93d], 0
je 0x102b12a0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x6c]
lea eax, [ecx + 0xb]
mov dword [ebp - 0x58], eax
imul eax, ecx, 0x174
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax + edx + 0x188]
mov dword [edi + ecx*4], eax
jmp 0x102b12a3
mov ecx, dword [ebp - 0x58]
cmp dword [edi + ecx*4], 0
jne 0x102b12e2
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x102b1a8e
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x70]
mov dword [eax + 0x104], ecx
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, eax
call fcn.100c3180
mov byte [esi + edi + 0x16c], 0
jmp 0x102b1a8e
cmp byte [esi + edi + 0x178], 0
je 0x102b1372
mov ecx, dword [ebp - 0x5c]
mov edi, dword [0x1060b5e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov esi, eax
call dword [ebp - 0x64]
movss xmm0, dword [edi + esi*4 + 0x7428]
addss xmm0, dword [0x1041eea8]
mov edi, dword [ebp - 0x74]
mov esi, dword [ebp - 0x50]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1041ec58]
comiss xmm1, xmm0
jb 0x102b1353
movss xmm0, dword [esi + edi + 0x1d8]
comiss xmm0, dword [0x1041ec1c]
jbe 0x102b1353
subss xmm0, dword [0x1041edc4]
movss dword [esi + edi + 0x1d8], xmm0
movss xmm0, dword [0x1041edc4]
comiss xmm0, dword [esi + edi + 0x1d8]
jb 0x102b13b5
mov byte [esi + edi + 0x16c], 0
jmp 0x102b1a8e
mov dword [esi + edi + 0x1d8], 0x437f0000
call dword [ebp - 0x64]
mov ecx, dword [ebp - 0x5c]
mov esi, dword [0x1060b5e0]
movd xmm0, eax
mov eax, dword [ecx]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x28]
mulss xmm0, dword [0x1041ec58]
movss dword [ebp - 0x70], xmm0
call eax
movss xmm0, dword [ebp - 0x70]
movss dword [esi + eax*4 + 0x7428], xmm0
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea edx, [edi + 0x1ac]
movss xmm1, dword [0x1041f054]
add edx, esi
mov dword [ebp - 0x70], 0x437f0000
mov dword [ebp - 0x4c], edx
mov ecx, dword [eax]
mov dword [ebp - 0x54], 0
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x54]
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
lea edx, [edi + 0x1d8]
add edx, esi
lea eax, [ebp - 0x70]
movss xmm0, dword [edx]
comiss xmm0, dword [0x1041ec1c]
cmovae ecx, edx
comiss xmm1, xmm0
cmovae eax, ecx
mov eax, dword [eax]
mov dword [edx], eax
jmp 0x102b1471
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov byte [esi + edi + 0x178], al
test al, al
jne 0x102b1a51
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0x25f], 0
jne 0x102b1a51
lea ecx, [eax + 4]
mov dword [esi + edi + 0x1d8], 0x437f0000
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea edx, [edi + 0x1ac]
add edx, esi
mov dword [ebp - 0x4c], edx
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x48]
call fcn.100cc130
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x102b148c
mov byte [esi + edi + 0x16c], al
jmp 0x102b1a8e
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
movq xmm0, qword [eax + 0x138]
mov eax, dword [eax + 0x140]
movq qword [ebp - 0xc8], xmm0
mov dword [ebp - 0xc0], eax
call fcn.10127130
test al, al
je 0x102b150d
mov eax, dword [0x1060b5e0]
movd xmm0, dword [eax + 0xc60]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x98]
jbe 0x102b150d
movd xmm0, dword [eax + 0xc64]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [ebp - 0x94]
jbe 0x102b150d
lea eax, [edi + 0x1ac]
mov cl, 1
add eax, esi
jmp 0x102b1512
mov eax, dword [ebp - 0x4c]
xor cl, cl
movq xmm0, qword [eax]
lea edx, [edi + 0x1dc]
mov eax, dword [eax + 8]
sub esp, 0xc
mov byte [esi + edi + 0x165], cl
add edx, esi
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [edi + 0x1e8]
mov ecx, dword [ebp - 0x48]
add eax, esi
push eax
lea eax, [edi + 0x1e4]
add eax, esi
push eax
lea eax, [edi + 0x1e0]
add eax, esi
push eax
call fcn.1029eb10
add esp, 0x18
xor al, 1
mov byte [esi + edi + 0x164], al
jne 0x102b1a8e
mov eax, dword [0x1060b5e0]
mov eax, dword [eax + 0xaa8]
test eax, eax
je 0x102b16c2
cmp byte [eax + 0x25f], 0
jne 0x102b16c2
movq xmm0, qword [eax + 0x138]
xorps xmm4, xmm4
mov ecx, dword [ebp - 0x48]
mov eax, dword [eax + 0x140]
movq qword [ebp - 0xa4], xmm0
movss xmm1, dword [ebp - 0xa4]
movq xmm0, qword [ecx + 0x138]
movss xmm2, dword [ebp - 0xa0]
movq qword [ebp - 0xb0], xmm0
subss xmm2, dword [ebp - 0xac]
subss xmm1, dword [ebp - 0xb0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ecx + 0x140]
movss xmm0, dword [ebp - 0x9c]
mulss xmm2, xmm2
mov dword [ebp - 0xa8], eax
subss xmm0, dword [ebp - 0xa8]
mulss xmm1, xmm1
movss xmm3, dword [0x1041f150]
addss xmm2, xmm1
mulss xmm0, xmm0
movss xmm1, dword [0x1041f114]
addss xmm2, xmm0
sqrtss xmm4, xmm2
andps xmm3, xmm4
movaps xmm0, xmm4
xorps xmm0, xmm3
movaps xmm2, xmm4
cmpltss xmm0, xmm1
andps xmm1, xmm0
orps xmm1, xmm3
addss xmm2, xmm1
subss xmm2, xmm1
movss xmm1, dword [0x1041edc4]
movaps xmm0, xmm2
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm1
subss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esi + edi + 0x160], eax
call fcn.100cc130
test eax, eax
je 0x102b16cd
mov ecx, eax
call fcn.100ce1f0
cmp eax, 0x1f
jne 0x102b16cd
movd xmm0, dword [esi + edi + 0x160]
movss xmm1, dword [0x1041f0a4]
cvtdq2ps xmm0, xmm0
mov dword [esi + edi + 0x168], 0
comiss xmm1, xmm0
jb 0x102b16d8
movss xmm1, dword [0x1041f050]
comiss xmm1, xmm0
mov dword [esi + edi + 0x168], 1
jb 0x102b16d8
mov dword [esi + edi + 0x168], 2
jmp 0x102b16d8
mov dword [esi + edi + 0x160], 0xffffffff
mov dword [esi + edi + 0x168], 0xffffffff
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
push eax
call fcn.100ca9f0
lea ecx, [edi + 0x17c]
mov dword [ebp - 0x54], eax
add ecx, esi
cmp ecx, eax
je 0x102b1725
call fcn.10019dd0
mov eax, dword [ebp - 0x54]
movups xmm0, xmmword [eax]
movups xmmword [esi + edi + 0x17c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + edi + 0x18c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x102b1759
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x102b174f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x102b1aa5
push ecx
push edx
call fcn.102bb95a
add esp, 8
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov dword [esi + edi + 0x150], eax
call fcn.100ce1f0
mov ecx, dword [ebp - 0x50]
mov dword [esi + edi + 0x14c], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x100]
mov dword [esi + edi + 0x154], eax
call fcn.100ce000
mov byte [esi + edi + 0x16d], al
test al, al
je 0x102b17b1
mov ecx, dword [ebp - 0x50]
push 0
call fcn.100c6fe0
mov ecx, dword [ebp - 0x50]
push 1
mov dword [esi + edi + 0x158], eax
call fcn.100c6fe0
jmp 0x102b17be
mov dword [esi + edi + 0x158], 0
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov dword [esi + edi + 0x15c], eax
call fcn.100caa80
mov ecx, dword [ebp - 0x48]
mov byte [esi + edi + 0x174], al
movss xmm0, dword [ecx + 0x10470]
comiss xmm0, dword [0x1041ec1c]
seta al
mov byte [esi + edi + 0x175], al
call fcn.100c65e0
mov ecx, dword [ebp - 0x48]
mov byte [esi + edi + 0x179], al
call fcn.1018f2b0
mov ecx, dword [ebp - 0x48]
mov dword [esi + edi + 0x170], eax
call fcn.100c6960
mov ecx, dword [ebp - 0x48]
test eax, eax
setg al
mov byte [esi + edi + 0x176], al
call fcn.100c73a0
mov ecx, dword [ebp - 0x50]
mov byte [esi + edi + 0x177], al
lea eax, [ebp - 0x2c]
push eax
call fcn.10298dd0
lea ecx, [edi + 0x134]
mov dword [ebp - 0x54], eax
add ecx, esi
cmp ecx, eax
je 0x102b187b
call fcn.10019dd0
mov eax, dword [ebp - 0x54]
movups xmm0, xmmword [eax]
movups xmmword [esi + edi + 0x134], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + edi + 0x144], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x102b18af
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x102b18a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x102b1aa5
push ecx
push edx
call fcn.102bb95a
add esp, 8
mov ecx, dword [ebp - 0x48]
call fcn.100c4200
mov edx, dword [ebp - 0x48]
add edx, 0x35b4
mov ecx, edx
mov eax, dword [eax]
mov dword [esi + edi + 0x1c0], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x54], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x102b18d1
sub ecx, dword [ebp - 0x54]
push ecx
lea ecx, [edi + 0x194]
push edx
add ecx, esi
call fcn.100325b0
mov ecx, dword [ebp - 0x48]
call fcn.102b0400
push dword [ebp - 0x48]
mov byte [esi + edi + 0x17a], al
call fcn.10018fc0
mov ecx, dword [ebp - 0x48]
add ecx, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [0x1060b2a4]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
mov dword [esi + edi + 0x1a04], eax
test eax, eax
je 0x102b1a8e
cmp dword [eax + 0x9c], 0
mov dword [ebp - 0x58], 0
jle 0x102b1a8e
lea edx, [edi + 0x1a10]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
add edx, esi
nop dword [eax + eax]
mov ecx, dword [eax + 0xa0]
add ecx, eax
mov eax, dword [ebp - 0x4c]
add ecx, eax
je 0x102b1a26
test dword [ecx + 0xa0], 0x100
je 0x102b1a26
cmp dword [ecx + 4], 0xffffffff
je 0x102b1a26
mov eax, dword [esi + edi + 0x130]
xorps xmm0, xmm0
mov eax, dword [eax + 0x2914]
test eax, eax
jne 0x102b19ac
xorps xmm1, xmm1
xorps xmm2, xmm2
xorps xmm3, xmm3
jmp 0x102b19c4
mov edi, dword [ebp - 0x50]
movss xmm1, dword [edi + eax + 0x1c]
movss xmm2, dword [edi + eax + 0x2c]
movss xmm3, dword [edi + eax + 0xc]
mov edi, dword [ebp - 0x74]
movss dword [edx - 8], xmm3
movss dword [edx - 4], xmm1
movss dword [edx], xmm2
mov eax, dword [ecx + 4]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + edi + 0x130]
mov ecx, dword [eax + 0x2914]
test ecx, ecx
jne 0x102b19f1
xorps xmm1, xmm1
xorps xmm2, xmm2
jmp 0x102b1a0b
mov eax, dword [ebp - 0x54]
lea eax, [eax + eax*2]
add eax, eax
movss xmm1, dword [ecx + eax*8 + 0x1c]
movss xmm2, dword [ecx + eax*8 + 0x2c]
movss xmm0, dword [ecx + eax*8 + 0xc]
mov eax, dword [ebp - 0x4c]
movss dword [edx + 0x5f8], xmm0
movss dword [edx + 0x5fc], xmm1
movss dword [edx + 0x600], xmm2
mov ecx, dword [ebp - 0x58]
add eax, 0xd8
add dword [ebp - 0x50], 0x30
inc ecx
mov dword [ebp - 0x4c], eax
add edx, 0xc
mov eax, dword [esi + edi + 0x1a04]
mov dword [ebp - 0x58], ecx
cmp ecx, dword [eax + 0x9c]
jl 0x102b1960
jmp 0x102b1a8e
mov byte [esi + edi + 0x16c], 0
call dword [ebp - 0x64]
mov ecx, dword [ebp - 0x5c]
mov esi, dword [0x1060b5e0]
movd xmm0, eax
mov eax, dword [ecx]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x28]
mulss xmm0, dword [0x1041ec58]
movss dword [ebp - 0x54], xmm0
call eax
movss xmm0, dword [ebp - 0x54]
movss dword [esi + eax*4 + 0x7428], xmm0
mov ecx, dword [ebp - 0x60]
inc ecx
mov dword [ebp - 0x60], ecx
cmp ecx, dword [ebp - 0x78]
jge 0x102b0c49
mov esi, ecx
jmp 0x102b0e37
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3