Function at 0x100430b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, ecx
xor edx, edx
vxorps xmm7, xmm7, xmm7
push edi
vxorps xmm1, xmm1, xmm1
vmovups xmmword [esi + 0x50], xmm7
lea eax, [esi + 0x30]
mov dword [ebp - 0x30], esi
lea edi, [esi + 0x1c]
mov dword [ebp - 0x14], edx
vmovss dword [ebp - 8], xmm1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x28], edx
jle 0x1004329b
xor ecx, ecx
mov dword [ebp - 0xc], ecx
nop
mov eax, dword [eax]
mov dword [ebp - 4], 1
mov edi, dword [ecx + eax + 4]
mov eax, dword [ecx + eax + 0xc]
mov dword [ebp - 0x20], edi
add edi, 0xfffffffe
mov dword [ebp - 0x40], edi
mov eax, dword [eax]
shl eax, 4
add eax, dword [esi + 0x1c]
mov dword [ebp - 0x24], eax
cmp edi, 1
jl 0x1004327b
nop
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ecx + eax + 0xc]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
mov eax, dword [ebp - 4]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [ebp - 4], eax
add edi, edi
cdq
idiv dword [ebp - 0x20]
vmovss xmm7, dword [esi + edi*8]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x24]
shl eax, 4
add eax, esi
vmovss xmm4, dword [ecx + 4]
vmovss xmm3, dword [ecx + 8]
vmovss xmm0, dword [eax + 4]
vmovss xmm1, dword [ecx]
vsubss xmm6, xmm1, dword [eax]
vsubss xmm2, xmm4, xmm0
vmovss dword [ebp - 0x28], xmm0
vmovss xmm0, dword [eax + 8]
vmovss dword [ebp - 0x3c], xmm0
vsubss xmm5, xmm1, xmm7
vmovss dword [ebp - 0x10], xmm3
vmovss xmm1, dword [ebp - 0x10]
vsubss xmm3, xmm3, xmm0
vmovss xmm0, dword [esi + edi*8 + 4]
vmovss dword [ebp - 0x34], xmm0
vmovss dword [ebp - 0x2c], xmm4
vsubss xmm4, xmm4, xmm0
vmovss xmm0, dword [esi + edi*8 + 8]
vsubss xmm1, xmm1, xmm0
mov esi, dword [ebp - 0x30]
vmovss dword [ebp - 0x38], xmm0
vmulss xmm0, xmm1, xmm2
vmovaps xmm2, xmm3
vfmsub213ss xmm2, xmm4, xmm0
vmulss xmm0, xmm5, xmm3
vmovaps xmm3, xmm6
vfmsub213ss xmm3, xmm1, xmm0
vmulss xmm0, xmm4, xmm6
vmovss xmm6, dword [ebp - 0x2c]
vsubss xmm1, xmm6, dword [ebp - 0x28]
vfmsub213ss xmm1, xmm5, xmm0
vmulss xmm0, xmm2, xmm2
vfmadd213ss xmm3, xmm3, xmm0
vaddss xmm0, xmm7, dword [ecx]
vaddss xmm0, xmm0, dword [eax]
vfmadd213ss xmm1, xmm1, xmm3
vmovss xmm3, dword [0x100b2bf4]
vsqrtss xmm2, xmm1, xmm1
mov eax, dword [ebp - 4]
vmulss xmm0, xmm0, xmm2
mov ecx, dword [ebp - 0xc]
vmovaps xmm1, xmm3
vfmadd213ss xmm1, xmm0, dword [esi + 0x50]
vaddss xmm0, xmm6, dword [ebp - 0x34]
vaddss xmm0, xmm0, dword [ebp - 0x28]
vmovss dword [esi + 0x50], xmm1
vmulss xmm0, xmm0, xmm2
vmovaps xmm1, xmm3
vfmadd213ss xmm1, xmm0, dword [esi + 0x54]
vmovss xmm0, dword [ebp - 0x38]
vaddss xmm0, xmm0, dword [ebp - 0x10]
vaddss xmm0, xmm0, dword [ebp - 0x3c]
vmovss dword [esi + 0x54], xmm1
vmovaps xmm1, xmm3
vmulss xmm0, xmm0, xmm2
vfmadd213ss xmm1, xmm0, dword [esi + 0x58]
vmovss dword [esi + 0x58], xmm1
vmovss xmm1, dword [ebp - 8]
vfmadd231ss xmm1, xmm2, dword [0x100d4ed4]
vmovss dword [ebp - 8], xmm1
cmp eax, dword [ebp - 0x40]
jle 0x10043120
mov edx, dword [ebp - 0x14]
vmovss dword [ebp - 8], xmm1
inc edx
lea eax, [esi + 0x30]
add ecx, 0x24
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ecx
cmp edx, dword [esi + 0x28]
jl 0x100430f0
vxorps xmm7, xmm7, xmm7
lea eax, [esi + 0x30]
lea edi, [esi + 0x1c]
vmovss xmm0, dword [0x100d4ee4]
vmovss xmm3, dword [0x100b2910]
vdivss xmm1, xmm0, xmm1
vmulss xmm0, xmm1, dword [esi + 0x54]
vmulss xmm4, xmm1, dword [esi + 0x50]
vmovss dword [esi + 0x54], xmm0
vmulss xmm0, xmm1, dword [esi + 0x58]
vmovss dword [esi + 0x50], xmm4
vmovss dword [esi + 0x58], xmm0
mov ecx, dword [esi + 0x28]
vmovss dword [esi + 0x70], xmm3
test ecx, ecx
jle 0x1004332a
mov eax, dword [eax]
vmovss xmm5, dword [0x100d5090]
vmovaps xmm2, xmm3
add eax, 0x18
nop word [eax + eax]
vmovss xmm0, dword [eax]
vmulss xmm1, xmm4, dword [eax - 4]
vfmadd231ss xmm1, xmm0, dword [esi + 0x54]
vmovss xmm0, dword [eax + 4]
vfmadd231ss xmm1, xmm0, dword [esi + 0x58]
vaddss xmm0, xmm1, dword [eax + 8]
vandps xmm0, xmm0, xmm5
vcomiss xmm2, xmm0
jbe 0x10043322
vmovss dword [esi + 0x70], xmm0
vmovaps xmm2, xmm0
add eax, 0x24
sub ecx, 1
jne 0x100432f0
vmovss xmm1, dword [0x100b24e0]
mov ecx, dword [esi + 0x14]
vmovaps xmm2, xmm3
vmovaps xmm4, xmm3
vmovaps xmm5, xmm1
vmovaps xmm6, xmm1
test ecx, ecx
jle 0x1004337f
mov eax, dword [edi]
nop dword [eax + eax]
lea eax, [eax + 0x10]
vmovss xmm0, dword [eax - 0x10]
vminss xmm3, xmm0, xmm3
vmaxss xmm1, xmm0, xmm1
vmovss xmm0, dword [eax - 0xc]
vminss xmm2, xmm0, xmm2
vmaxss xmm5, xmm0, xmm5
vmovss xmm0, dword [eax - 8]
vminss xmm4, xmm0, xmm4
vmaxss xmm6, xmm0, xmm6
sub ecx, 1
jne 0x10043350
vaddss xmm0, xmm1, xmm3
vmovss dword [esi + 0x80], xmm0
vaddss xmm0, xmm5, xmm2
vmovss dword [esi + 0x84], xmm0
vsubss xmm3, xmm1, xmm3
vaddss xmm0, xmm6, xmm4
vsubss xmm2, xmm5, xmm2
vsubss xmm1, xmm6, xmm4
vmovss dword [esi + 0x88], xmm0
vmovss dword [esi + 0x8c], xmm7
vmovss dword [esi + 0x90], xmm3
vmovss dword [esi + 0x94], xmm2
vmovss dword [esi + 0x98], xmm1
vmovss dword [esi + 0x9c], xmm7
vmovss xmm0, dword [esi + 0x70]
vmulss xmm0, xmm0, dword [0x100b2bf8]
xor eax, eax
vcomiss xmm2, xmm3
vmovss dword [ebp - 0xc], xmm0
jbe 0x100433fb
vcomiss xmm1, xmm2
seta al
inc eax
jmp 0x10043407
vcomiss xmm1, xmm3
mov ecx, 2
cmova eax, ecx
vmovss xmm2, dword [0x100d4ed4]
vmovaps xmm1, xmm0
vfmsub231ss xmm1, xmm2, dword [esi + eax*4 + 0x90]
vmovss dword [esi + 0x68], xmm0
vmovss dword [esi + 0x64], xmm0
vmovss dword [esi + 0x60], xmm0
vmulss xmm0, xmm2, dword [esi + eax*4 + 0x90]
mov dword [ebp - 0x14], eax
mov edi, eax
vmovss dword [ebp - 0x3c], xmm1
vmovss dword [esi + eax*4 + 0x60], xmm0
mov dword [ebp - 0x10], 0
nop dword [eax]
mov ecx, esi
vmovss dword [ebp - 0x40], xmm0
call fcn.10043da0
test al, al
jne 0x100434a1
mov eax, dword [ebp - 0x10]
vmovss xmm0, dword [ebp - 0x40]
vmovss xmm1, dword [ebp - 0x3c]
vfnmadd231ss xmm0, xmm1, dword [0x100b2bf0]
inc eax
mov dword [ebp - 0x10], eax
vmovss dword [esi + edi*4 + 0x60], xmm0
cmp eax, 0x400
jl 0x10043450
vmovss xmm1, dword [ebp - 0xc]
pop edi
vmovss dword [esi + 0x68], xmm1
vmovss dword [esi + 0x64], xmm1
vmovss dword [esi + 0x60], xmm1
pop esi
mov esp, ebp
pop ebp
ret
vmovss xmm0, dword [esi + 0x70]
vsubss xmm0, xmm0, dword [ebp - 0xc]
vmulss xmm1, xmm0, dword [0x100b2bf0]
mov ecx, 1
mov dword [ebp - 0x14], 0
shlx eax, ecx, edi
and eax, 3
shlx edi, ecx, eax
vmovss dword [ebp - 0x40], xmm1
mov dword [ebp - 0x10], eax
and edi, 3
nop word [eax + eax]
vmovss xmm0, dword [esi + eax*4 + 0x60]
vmovss xmm2, dword [esi + edi*4 + 0x60]
vmovss dword [ebp - 0x3c], xmm0
vaddss xmm0, xmm0, xmm1
vmovss dword [esi + eax*4 + 0x60], xmm0
vaddss xmm0, xmm1, dword [esi + edi*4 + 0x60]
mov ecx, esi
vmovss dword [ebp - 0x38], xmm2
vmovss dword [esi + edi*4 + 0x60], xmm0
call fcn.10043da0
test al, al
je 0x10043533
mov eax, dword [ebp - 0x14]
vmovss xmm1, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x400
mov eax, dword [ebp - 0x10]
jl 0x100434e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
vmovss xmm0, dword [ebp - 0x3c]
vmovss dword [esi + eax*4 + 0x60], xmm0
vmovss xmm0, dword [ebp - 0x38]
vmovss dword [esi + edi*4 + 0x60], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret