Function at 0x10037430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword fs:[0x2c]
mov edx, dword [0x10217cb0]
push esi
push edi
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + edx*4]
mov eax, dword [0x10425fe0]
cmp eax, dword [edx + 4]
jle 0x100376cf
push 0x10425fe0
call fcn.1015fec1
add esp, 4
cmp dword [0x10425fe0], 0xffffffff
jne 0x100376cf
mov eax, dword [0x1021663c]
xor ecx, ecx
cmp dword [0x10217ca4], 2
movups xmm0, xmmword [str.CPWGWWeZ_KM___]
mov dword [esp + 0xc], ecx
mov esi, dword [eax + 8]
mov al, byte [0x101986f4]
movups xmmword [esp + 0x80], xmm0
mov byte [esp + 0x98], al
movq xmm0, qword [str.57:__L]
movq qword [esp + 0x90], xmm0
jl 0x10037600
movaps xmm0, xmmword [str.4444444444444444]
movaps xmm4, xmmword [0x101ed000]
movaps xmm3, xmmword [0x101ed3a0]
movaps xmm5, xmmword [0x101ed090]
movaps xmmword [esp + 0x60], xmm0
mov edx, dword [esp + 0x60]
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x80]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x80], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x84]
xorps xmm1, xmm0
movd dword [esp + ecx + 0x84], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x100374f0
mov dword [esp + 0xc], ecx
cmp ecx, 0x19
jge 0x10037632
nop dword [eax]
mov eax, 0x4ec4ec4f
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [esp + 0xc]
movsx eax, al
imul eax, eax, 0x34
add al, cl
xor byte [esp + ecx + 0x80], al
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x19
jl 0x10037600
xorps xmm0, xmm0
mov dword [esp + 0x70], 0
lea ecx, [esp + 0x80]
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x74], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037654
sub ecx, edx
lea eax, [esp + 0x80]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.100291a0
cmp dword [esp + 0x74], 0xf
lea edx, [esp + 0x60]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x60]
push edx
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [esp + 0x74]
mov dword [0x10425fcc], eax
cmp ecx, 0xf
jbe 0x100376c2
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100376b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037c60
push ecx
push edx
call fcn.1015fe24
add esp, 8
push 0x10425fe0
call fcn.1015fe70
add esp, 4
cmp dword [ebp + 0x1c], 0
je 0x10037c56
mov ecx, dword [0x10425fcc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
cmp eax, 1
jge 0x10037c56
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
movss xmm0, dword [esi]
addss xmm0, dword [edi + 0xc]
mulss xmm0, dword [0x101ecaa0]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call fcn.10187d90
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x1c], xmm0
movsd xmm0, qword [esp + 0x30]
call fcn.10186b10
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [esi + 4]
mulss xmm0, dword [0x101ecaa0]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call fcn.10187d90
cvtsd2ss xmm0, xmm0
movss dword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x30]
call fcn.10186b10
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [esi + 8]
mulss xmm0, dword [0x101ecaa0]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call fcn.10187d90
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x30]
call fcn.10186b10
movss xmm4, dword [esp + 0x14]
movss xmm5, dword [esp + 8]
movaps xmm1, xmm4
mulss xmm1, dword [esp + 0x18]
movss xmm6, dword [esp + 0x1c]
movss xmm2, dword [0x101ed400]
movss dword [esp + 0x40], xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x50], xmm1
movaps xmm1, xmm6
movaps xmm3, xmm0
movss dword [esp + 0x20], xmm0
xorps xmm1, xmm2
movaps xmm0, xmm5
xorps xmm0, xmm2
movss dword [esp + 0x5c], xmm1
movss xmm1, dword [0x101ececc]
mulss xmm3, xmm1
mulss xmm3, xmm0
movss dword [esp + 0x24], xmm3
movss xmm3, dword [esp + 0x10]
movss xmm7, dword [esp + 0x24]
movaps xmm0, xmm3
mulss xmm0, xmm6
mulss xmm0, xmm4
subss xmm7, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm6
movss dword [esp + 0x24], xmm7
movss xmm7, dword [esp + 0x20]
mulss xmm7, xmm1
mulss xmm0, xmm5
mulss xmm7, xmm4
subss xmm7, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x20]
mulss xmm1, xmm6
mulss xmm0, dword [esp + 0x18]
movss dword [esp + 0x4c], xmm7
mulss xmm1, xmm4
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm5
xorps xmm0, xmm2
mov esi, dword [ebp + 0x10]
mulss xmm0, xmm3
mov ecx, esi
mulss xmm3, xmm4
subss xmm1, xmm0
movss dword [esp + 0x44], xmm1
movss xmm1, dword [esp + 0x20]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x18]
mov dword [esp + 0x18], 0
mulss xmm0, xmm6
movss dword [esp + 0x20], xmm1
mulss xmm0, xmm5
subss xmm0, xmm3
movss dword [esp + 0x54], xmm0
movd xmm0, dword [ebp + 0x1c]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x101ecdd0]
mulss xmm0, dword [0x101ece10]
cvttss2si eax, xmm0
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x714]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, esi
fstp dword [esp + 0x3c]
mov eax, dword [eax + 0x78c]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xa8]
push edx
fstp dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2a4]
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x734]
call eax
mov byte [esp + 0x14], 0
mov edi, 1
movss xmm0, dword [eax + 0x10c]
movss dword [esp + 0x48], xmm0
nop dword [eax]
mov eax, dword [0x10216630]
mov esi, dword [eax + 0x140]
call dword [sym.imp.VCOMP140.DLL_omp_get_thread_num]
inc eax
add eax, edi
push eax
call esi
mov eax, dword [0x10216630]
mov dword [esp], 0x40c90fdb
push ecx
mov dword [esp], 0
mov eax, dword [eax + 0x144]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
mov eax, dword [0x10216630]
fstp dword [esp + 0x18]
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
mov eax, dword [eax + 0x144]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
mov eax, dword [0x10216630]
fstp dword [esp + 0x24]
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
mov eax, dword [eax + 0x144]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
fmul dword [esp + 0x40]
add esp, 8
xorps xmm1, xmm1
fstp dword [esp + 8]
movss xmm0, dword [esp + 8]
ucomiss xmm0, xmm1
movss dword [esp + 0xc], xmm0
lahf
test ah, 0x44
jp 0x10037a06
movss xmm0, dword [0x101eca6c]
movss dword [esp + 0xc], xmm0
mov eax, dword [0x10216630]
sub esp, 8
mov eax, dword [eax + 0x144]
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call dword [esp + 0x10]
movss xmm0, dword [esp + 0x18]
add esp, 8
fmul dword [esp + 0x3c]
cvtps2pd xmm0, xmm0
fstp dword [esp + 8]
call fcn.10186b10
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x1c]
cvtps2pd xmm0, xmm0
call fcn.10186b10
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm1, dword [esp + 8]
addss xmm0, xmm1
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
call fcn.10187d90
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x1c]
cvtps2pd xmm0, xmm0
call fcn.10187d90
movss xmm2, dword [esp + 0x28]
xor esi, esi
movss xmm1, dword [esp + 0x10]
movss xmm3, dword [esp + 0x24]
movss xmm4, dword [esp + 0x4c]
cvtsd2ss xmm0, xmm0
mov dword [esp + 0x68], 0
movss xmm5, dword [esp + 0x58]
mulss xmm0, dword [esp + 8]
movss xmm6, dword [esp + 0x48]
mulss xmm3, xmm2
addss xmm1, xmm0
mulss xmm4, xmm2
movss xmm0, dword [esp + 0x44]
addss xmm3, dword [esp + 0x40]
addss xmm4, dword [esp + 0x50]
mulss xmm0, xmm1
mulss xmm5, xmm2
addss xmm3, xmm0
movss xmm0, dword [esp + 0x54]
mulss xmm0, xmm1
addss xmm5, dword [esp + 0x5c]
addss xmm4, xmm0
mulss xmm3, xmm6
movss xmm0, dword [esp + 0x20]
mulss xmm0, xmm1
mulss xmm4, xmm6
addss xmm5, xmm0
movss dword [esp + 8], xmm3
movss dword [esp + 0x1c], xmm4
mulss xmm5, xmm6
movss dword [esp + 0x10], xmm5
nop dword [eax]
addss xmm3, dword [esp + 0xa8]
addss xmm4, dword [esp + 0xac]
addss xmm5, dword [esp + 0xb0]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xac]
movss dword [esp + 0xb8], xmm3
push eax
push dword [ebp + 8]
mov edx, esi
movss dword [esp + 0xc4], xmm4
movss dword [esp + 0xc8], xmm5
call fcn.10037230
test al, al
jne 0x10037bc5
movss xmm3, dword [esp + 8]
inc esi
movss xmm4, dword [esp + 0x1c]
movss xmm5, dword [esp + 0x10]
cmp esi, 0x13
jl 0x10037b50
mov ecx, dword [esp + 0x18]
jmp 0x10037c12
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x430]
call eax
mov ecx, 0x19cdc55d
mov esi, eax
call fcn.100c3de0
cmp word [eax + esi], 0x28
jne 0x10037c09
mov ecx, 0x394634f0
call fcn.100c3de0
mov ecx, dword [esp + 0x2c]
test byte [eax + ecx], 1
jne 0x10037c09
movss xmm0, dword [0x101eca94]
comiss xmm0, dword [esp + 0xc]
ja 0x10037c4c
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x30]
mov esi, 1
mov eax, dword [esp + 0x14]
movzx eax, al
cmovge eax, esi
sub ecx, edi
add ecx, 0xff
mov dword [esp + 0x14], eax
cmp ecx, dword [esp + 0x30]
jl 0x10037c4c
inc edi
cmp edi, 0xff
jl 0x10037950
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0x18
call fcn.10164f66
int3