Function at 0x40b2e0
Capabilities:
Encode data using xor
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [0x48b040]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x48d2c8]
mov dword [esp + 0x64], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x38], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], edx
test dl, 0x42
jne 0x40c3fc
cmp byte [edi + 0xcc], 0
jg 0x40c3fc
cmp byte [edi + 0xcd], 0
jg 0x40c3fc
cmp byte [edi + 0xaf], 0
je 0x40c3fc
movss xmm2, dword [ecx + 0x3cf4]
xor eax, eax
cmp byte [ecx + 0x4a], 0
movaps xmm1, xmm2
movss xmm0, dword [edi + 0x50]
addss xmm0, dword [0x4834a4]
mulss xmm2, dword [0x48344c]
mov dword [esp + 0x44], eax
mulss xmm1, dword [0x4834ac]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x483488]
cvttss2si esi, xmm0
mov dword [esp + 0x48], esi
je 0x40b3bd
movss xmm7, dword [0x4834e4]
jmp 0x40b3c0
xorps xmm7, xmm7
cmp byte [ecx + 0x4b], 0
mov eax, dword [ebp + 0x18]
movss dword [esp + 0x30], xmm7
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x70], xmm0
je 0x40b427
test dl, 1
jne 0x40b427
mov ecx, dword [edi]
movss xmm1, dword [edi + 0x268]
mov eax, dword [edi + 0x304]
mov byte [esp + 0xf], 1
mulss xmm1, dword [ecx + 0x3cf8]
test eax, eax
je 0x40b405
mulss xmm1, dword [eax + 0x268]
movss xmm0, dword [ecx + 0x38e8]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [esp + 0x74]
subss xmm1, xmm0
movss dword [esp + 0x40], xmm1
jmp 0x40b438
movss xmm0, dword [esp + 0x74]
mov byte [esp + 0xf], 0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [0x483544]
mov ecx, str.RESIZE
movaps xmm3, xmm0
movss dword [esp + 0x20], xmm0
movaps xmm2, xmm0
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0xa0], xmm0
mov dword [edi + 0x150], 1
call fcn.004104c0
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x10], eax
jle 0x40b977
movss xmm0, dword [edi + 0x18]
lea ecx, [eax + eax*2]
movss xmm1, dword [edi + 0x1c]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x20]
movaps xmm2, xmm1
mov dword [esp + 0x90], ecx
addss xmm2, dword [edi + 0x24]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x47cf88]
mulss xmm2, dword [ecx*8 + 0x47cf8c]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x47cf90]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x30]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x47cf94]
movaps xmm4, xmm1
mulss xmm1, dword [esp + 0x30]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [esp + 0xb4], xmm5
comiss xmm3, xmm5
movss dword [esp + 0xac], xmm3
movss dword [esp + 0xb0], xmm2
movss dword [esp + 0xb8], xmm4
jbe 0x40b557
movss dword [esp + 0xac], xmm5
movss dword [esp + 0xb4], xmm3
comiss xmm2, xmm4
jbe 0x40b56e
movss dword [esp + 0xb0], xmm4
movss dword [esp + 0xb8], xmm2
mov ecx, dword [edi + 0xec]
lea esi, [esp + 0x94]
mov dword [esp + 0x94], eax
mov eax, dword [edi + 0xf4]
mov edi, 4
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x47cfe8]
sub edi, 1
jne 0x40b593
mov edi, dword [esp + 0x38]
not edx
mov esi, dword [esp + 0x48]
mov dword [esp + 0x24], edx
mov eax, dword [edi]
cmp dword [eax + 0x3fc4], edx
jne 0x40b5e0
push ecx
mov ecx, dword [esp + 0x14]
mov edx, 4
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.00419c90
mov edx, dword [esp + 0x2c]
add esp, 8
push 8
push 0
lea ecx, [esp + 0xb4]
call fcn.004129c0
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xa3]
push 0x40800
push eax
lea eax, [esp + 0xaa]
push eax
lea ecx, [esp + 0xc0]
call fcn.0042f8d0
mov dh, byte [esp + 0xae]
add esp, 0x14
mov dl, byte [esp + 0x9b]
test dh, dh
jne 0x40b632
test dl, dl
je 0x40b935
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4d84], eax
test dl, dl
je 0x40b935
cmp byte [ecx + 0x3825], 0
je 0x40b6a8
push dword [esp + 0x64]
mov edx, edi
lea ecx, [esp + 0x60]
call fcn.0040ad50
add esp, 4
mov dword [esp + 0x44], 3
xor edx, edx
xor ecx, ecx
movss xmm0, dword [eax]
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0xa0], xmm0
call fcn.00406c80
jmp 0x40b927
mov edx, dword [esp + 0x90]
xorps xmm2, xmm2
movss xmm4, dword [0x4834a4]
movss xmm0, dword [edx*8 + 0x47cf8c]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x40b6e9
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x40b6dc
cmp byte [esp + 0xf], 0
jne 0x40b6e9
movss xmm3, dword [0x483560]
movaps xmm6, xmm3
jmp 0x40b6f7
movss xmm6, dword [esp + 0x40]
movss xmm3, dword [0x483560]
movss xmm1, dword [edx*8 + 0x47cf88]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x40b711
movss xmm5, dword [esp + 0x70]
jmp 0x40b714
movaps xmm5, xmm3
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x40b736
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [0x483544]
jmp 0x40b747
movss xmm0, dword [0x483544]
movss dword [esp + 0x94], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x40b756
movss xmm0, dword [esp + 0x78]
movss xmm1, dword [edx*8 + 0x47cf90]
xorps xmm4, xmm4
movss xmm3, dword [edx*8 + 0x47cf94]
cvtsi2ss xmm4, esi
movss dword [esp + 0x34], xmm0
movaps xmm2, xmm3
xorps xmm4, xmmword [0x4836a0]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x30]
movaps xmm7, xmm4
mulss xmm2, dword [esp + 0x30]
mulss xmm7, xmm1
mulss xmm4, xmm3
movss xmm3, dword [edx*8 + 0x47cf8c]
subss xmm7, xmm0
subss xmm4, xmm2
mulss xmm7, dword [edx*8 + 0x47cf88]
mulss xmm4, xmm3
addss xmm7, xmm0
movss xmm0, dword [ecx + 0xe00]
subss xmm0, dword [ecx + 0x3ff4]
addss xmm4, xmm2
addss xmm7, xmm0
movss xmm0, dword [ecx + 0xe04]
subss xmm0, dword [ecx + 0x3ff8]
addss xmm0, xmm4
comiss xmm6, xmm0
ja 0x40b7f9
movss xmm6, dword [esp + 0x94]
minss xmm6, xmm0
comiss xmm5, xmm7
ja 0x40b808
movss xmm5, dword [esp + 0x34]
minss xmm5, xmm7
movss xmm1, dword [edi + 0x18]
lea eax, [esp + 0xa4]
movss xmm0, dword [edi + 0x1c]
lea ecx, [esp + 0x54]
movss xmm2, dword [edx*8 + 0x47cf88]
movaps xmm7, xmm1
addss xmm1, dword [edi + 0x20]
subss xmm7, xmm5
movaps xmm4, xmm0
addss xmm0, dword [edi + 0x24]
subss xmm4, xmm6
mov edx, edi
push eax
mulss xmm7, xmm2
mulss xmm4, xmm3
addss xmm7, xmm5
subss xmm5, xmm1
addss xmm4, xmm6
subss xmm6, xmm0
movss dword [esp + 0x2c], xmm7
mulss xmm5, xmm2
mulss xmm6, xmm3
addss xmm5, xmm1
movss dword [esp + 0x30], xmm4
addss xmm6, xmm0
subss xmm5, xmm7
subss xmm6, xmm4
movss dword [esp + 0xa8], xmm5
movss dword [esp + 0xac], xmm6
call fcn.0040ad50
mov ecx, dword [esp + 0x94]
add esp, 4
movss xmm2, dword [esp + 0x54]
xorps xmm1, xmm1
movss dword [esp + 0x1c], xmm2
movss xmm0, dword [ecx*8 + 0x47cf88]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x40b8db
movss xmm3, dword [esp + 0x28]
movaps xmm0, xmm2
subss xmm0, dword [esp + 0xa4]
subss xmm3, xmm0
movss dword [esp + 0x28], xmm3
movss xmm0, dword [ecx*8 + 0x47cf8c]
ucomiss xmm0, xmm1
movss xmm1, dword [esp + 0x58]
movss dword [esp + 0x20], xmm1
lahf
test ah, 0x44
jp 0x40b915
movss xmm3, dword [esp + 0x2c]
movaps xmm0, xmm1
subss xmm0, dword [esp + 0xa8]
subss xmm3, xmm0
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0xa0], xmm1
mov dh, byte [esp + 0x9a]
mov dl, byte [esp + 0x9b]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40b991
test dl, dl
jne 0x40b995
test dh, dh
je 0x40b969
xor ecx, ecx
test dh, dh
setne cl
add ecx, 0x1e
movss xmm1, dword [0x4834a4]
call fcn.00404650
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ebp + 0x10]
jl 0x40b493
test dword [edi + 0xc], 0x1000000
je 0x40b99c
mov eax, dword [edi + 0x10]
mov edx, eax
shr edx, 1
and eax, 8
and edx, 2
or edx, eax
jmp 0x40b9ad
test dl, dl
je 0x40b945
mov ecx, 0x20
jmp 0x40b94f
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, 0xf
cmp byte [eax + 0x4a], dl
cmovne edx, ecx
xor ecx, ecx
mov dword [esp + 0x34], edx
mov eax, 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x94], eax
test edx, eax
je 0x40bbcd
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x40b9ec
mov dword [esp + 0x24], 1
cmp ecx, 1
jne 0x40b9f4
mov dword [esp + 0x24], 0
movd xmm0, esi
mov edx, edi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
push ecx
lea ecx, [esp + 0xc4]
call fcn.0040b1c0
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, dword [edi + 0xec]
add eax, 4
mov dword [esp + 0x90], eax
mov esi, 4
mov eax, dword [edi + 0xf4]
lea edi, [esp + 0x90]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x47cfe8]
sub esi, 1
jne 0x40ba41
mov edi, dword [esp + 0x38]
not edx
mov esi, dword [esp + 0x48]
mov dword [esp + 0x30], edx
mov eax, dword [edi]
cmp dword [eax + 0x3fc4], edx
jne 0x40ba90
push ecx
push dword [esp + 0x94]
mov ecx, dword [esp + 0x38]
mov edx, 4
call fcn.00419c90
mov edx, dword [esp + 0x38]
add esp, 8
push 8
push 0
lea ecx, [esp + 0xc4]
call fcn.004129c0
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xa0]
push 0x40800
push eax
lea eax, [esp + 0xa9]
push eax
lea ecx, [esp + 0xd0]
call fcn.0042f8d0
mov ecx, dword [esp + 0x28]
add esp, 0x14
cmp byte [esp + 0x99], 0
je 0x40baef
movss xmm0, dword [0x483438]
comiss xmm0, dword [ecx + 0x3fd4]
jb 0x40bafe
mov byte [esp + 0x99], 0
mov al, byte [esp + 0x98]
test al, al
je 0x40c07a
mov eax, dword [esp + 0x24]
xor eax, 1
add eax, 3
mov dword [ecx + 0x4d84], eax
mov al, byte [esp + 0x98]
test al, al
je 0x40c07a
cmp byte [ecx + 0x3825], 0
je 0x40bc74
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x40bb38
cmp eax, 3
jne 0x40bb94
push dword [esp + 0x64]
mov edx, edi
lea ecx, [esp + 0x8c]
call fcn.0040ad50
mov ecx, dword [esp + 0x28]
add esp, 4
mov eax, dword [eax + ecx*4]
mov dword [esp + ecx*4 + 0x9c], eax
movss xmm0, dword [esp + 0xa0]
mov eax, dword [esp + 0x44]
movss dword [esp + 0x20], xmm0
bts eax, ecx
movss xmm0, dword [esp + 0x9c]
mov dword [esp + 0x44], eax
mov byte [esp + 0x98], 0
mov byte [esp + 0x99], 0
movss dword [esp + 0x1c], xmm0
xor edx, edx
xor ecx, ecx
call fcn.00406c80
mov ecx, dword [esp + 0x10]
mov al, byte [esp + 0x98]
cmp byte [esp + 0x99], 0
je 0x40bbb8
mov edx, dword [esp + 0x50]
mov dword [edx], ecx
mov edx, dword [esp + 0x34]
test al, al
je 0x40bbc6
mov eax, dword [esp + 0x6c]
mov dword [eax], ecx
mov eax, dword [esp + 0x94]
inc ecx
rol eax, 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x94], eax
cmp ecx, 4
jl 0x40b9c3
mov edx, dword [0x48d2c8]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0x3f8c]
dec dword [eax + 0xec]
mov dword [edi + 0x150], 0
mov eax, dword [ecx + 0x4c00]
test eax, eax
je 0x40c24c
cmp dword [eax + 0x30c], edi
jne 0x40c24c
mov eax, dword [ecx + 0x4a7c]
cmp eax, 2
jne 0x40c083
cmp byte [ecx + 0xe1d], 0
je 0x40c24c
mov ecx, dword [0x48d2c8]
mov edx, 0x201
call fcn.004105f0
mov edx, 0x202
mov edi, eax
call fcn.004105f0
mov edx, 0x204
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [edi + 0xc]
call fcn.004105f0
mov edx, 0x203
jmp 0x40c0c1
cmp dword [ecx + 0x3f9c], 0
je 0x40bcc8
mov eax, dword [ecx + 0x3fac]
cmp eax, dword [ecx + 0x3f08]
jne 0x40bcc8
mov edx, edi
mov ecx, edi
nop
mov eax, ecx
mov ecx, dword [ecx + 0x30c]
cmp eax, ecx
jne 0x40bc90
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x3f9c]
mov esi, dword [esp + 0x48]
cmp ecx, eax
je 0x40bd2e
cmp edx, eax
je 0x40bd2e
cmp edx, ecx
je 0x40bcc8
mov edx, dword [edx + 0x304]
test edx, edx
jne 0x40bcb2
xor cl, cl
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x3fe8], 0
jne 0x40bcdb
test cl, cl
je 0x40bcf1
movups xmm0, xmmword [esp + 0xbc]
mov byte [eax + 0x5cfc], 0
movups xmmword [eax + 0x5cec], xmm0
test dword [edi + 0xc], 0x1000000
je 0x40bd3d
lea ecx, [eax + 0x5cec]
mov dword [esp + 0x90], 0xc
lea edx, [esp + 0xbc]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40bd32
add ecx, 4
add edx, 4
sub dword [esp + 0x90], 4
jae 0x40bd12
mov eax, dword [esp + 0x14]
jmp 0x40bd3d
mov cl, 1
jmp 0x40bcca
mov eax, dword [esp + 0x14]
mov byte [eax + 0x5cfc], 1
cmp byte [eax + 0x5cfc], 0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x1b], 0
movss xmm0, dword [edx + 0x47cdb8]
minss xmm0, dword [edx + 0x47cdc0]
movss xmm1, dword [eax + ecx*4 + 0xe00]
subss xmm1, dword [eax + ecx*4 + 0x3ff4]
movss xmm3, dword [eax + ecx*4 + 0xb0]
movaps xmm2, xmm3
mulss xmm0, dword [edi + 0x20]
addss xmm1, dword [0x4834e4]
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [edx + 0x47cdbc]
minss xmm0, dword [edx + 0x47cdc4]
mulss xmm0, dword [edi + 0x24]
addss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [edi + 0x18]
addss xmm2, dword [esp + ecx*4 + 0x80]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [edi + 0x1c]
movss dword [esp + 0xa8], xmm0
movss dword [esp + ecx*4 + 0xa4], xmm1
je 0x40be1b
xorps xmm0, xmm0
movss dword [esp + ecx*4 + 0xa4], xmm2
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x40be16
xor ecx, ecx
comiss xmm2, xmm1
seta cl
xor eax, eax
comiss xmm3, xmm0
seta al
cmp eax, ecx
jne 0x40be1b
mov byte [esp + 0x1b], 1
mov ecx, dword [esp + 0x10]
cmp ecx, 3
je 0x40be3d
cmp ecx, 2
jne 0x40be30
cmp byte [esp + 0xf], 0
jne 0x40be3d
movss xmm0, dword [0x483560]
movaps xmm4, xmm0
jmp 0x40be4b
movss xmm4, dword [esp + 0x40]
movss xmm0, dword [0x483560]
cmp ecx, 1
jne 0x40bed2
movss xmm3, dword [esp + 0x70]
movss xmm0, dword [0x483544]
movss xmm2, dword [0x483544]
movss xmm1, dword [esp + 0xa8]
comiss xmm4, xmm1
ja 0x40be7f
movaps xmm4, xmm0
minss xmm4, xmm1
movss xmm0, dword [esp + 0xa4]
comiss xmm3, xmm0
ja 0x40be94
movaps xmm3, xmm2
minss xmm3, xmm0
mov eax, dword [esp + 0x3c]
test eax, 0x1000000
je 0x40bf3e
test eax, 0x8800
je 0x40beb2
test al, 8
je 0x40bf3e
mov eax, dword [edi + 0x304]
movss xmm1, dword [eax + 0x1ec]
comiss xmm1, xmm3
movss xmm0, dword [eax + 0x1f4]
jbe 0x40bf06
movaps xmm3, xmm1
jmp 0x40bf0e
movaps xmm3, xmm0
movaps xmm1, xmm3
cmp ecx, 2
jne 0x40bee8
movss xmm0, dword [esp + 0x7c]
jmp 0x40be62
movss xmm0, dword [0x483544]
movaps xmm3, xmm1
test ecx, ecx
jne 0x40be62
movss xmm2, dword [esp + 0x78]
jmp 0x40be6a
comiss xmm3, xmm0
jbe 0x40bf0e
movaps xmm3, xmm0
mov eax, dword [esp + 0x3c]
test al, 8
je 0x40bf3e
mov eax, dword [edi + 0x304]
movss xmm1, dword [eax + 0x1f0]
comiss xmm1, xmm4
movss xmm0, dword [eax + 0x1f8]
jbe 0x40bf36
movaps xmm4, xmm1
jmp 0x40bf3e
comiss xmm4, xmm0
jbe 0x40bf3e
movaps xmm4, xmm0
cmp byte [esp + 0x1b], 0
jne 0x40bba1
movss xmm1, dword [edi + 0x18]
lea eax, [esp + 0x54]
movss xmm0, dword [edi + 0x1c]
lea ecx, [esp + 0x5c]
movss xmm5, dword [edx + 0x47cdbc]
movaps xmm7, xmm1
minss xmm5, dword [edx + 0x47cdc4]
movss xmm2, dword [edx + 0x47cdb8]
subss xmm7, xmm3
minss xmm2, dword [edx + 0x47cdc0]
addss xmm1, dword [edi + 0x20]
movaps xmm6, xmm0
mov edx, edi
addss xmm0, dword [edi + 0x24]
subss xmm6, xmm4
movss dword [esp + 0x90], xmm5
mulss xmm7, xmm2
push eax
movss dword [esp + 0x50], xmm2
mulss xmm6, xmm5
addss xmm7, xmm3
subss xmm3, xmm1
addss xmm6, xmm4
subss xmm4, xmm0
movss dword [esp + 0x2c], xmm7
mulss xmm3, xmm2
movss dword [esp + 0x30], xmm6
mulss xmm4, xmm5
addss xmm3, xmm1
addss xmm4, xmm0
subss xmm3, xmm7
subss xmm4, xmm6
movss dword [esp + 0x58], xmm3
movss dword [esp + 0x5c], xmm4
call fcn.0040ad50
movss xmm0, dword [esp + 0x50]
add esp, 4
movss xmm3, dword [esp + 0x5c]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss dword [esp + 0x1c], xmm3
lahf
test ah, 0x44
jp 0x40c02c
movss xmm1, dword [esp + 0x28]
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x54]
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
movss xmm0, dword [esp + 0x90]
ucomiss xmm0, xmm2
movss xmm2, dword [esp + 0x60]
movss dword [esp + 0x20], xmm2
lahf
test ah, 0x44
jp 0x40c063
movss xmm1, dword [esp + 0x2c]
movaps xmm0, xmm2
subss xmm0, dword [esp + 0x58]
subss xmm1, xmm0
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x9c], xmm3
movss dword [esp + 0xa0], xmm2
jmp 0x40bb9d
mov ecx, dword [esp + 0x10]
jmp 0x40bba8
cmp eax, 3
jne 0x40c24c
mov ecx, dword [0x48d2c8]
mov edx, 0x27d
call fcn.004105f0
mov edx, 0x27e
mov edi, eax
call fcn.004105f0
mov edx, 0x280
movss xmm2, dword [eax + 0xc]
subss xmm2, dword [edi + 0xc]
call fcn.004105f0
mov edx, 0x27f
movss xmm3, dword [eax + 0xc]
call fcn.004105f0
xorps xmm7, xmm7
ucomiss xmm2, xmm7
subss xmm3, dword [eax + 0xc]
lahf
test ah, 0x44
jp 0x40c0e9
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x40c254
mov edi, dword [esp + 0x14]
mov ecx, 0x20
mov edx, dword [esp + 0x38]
movss xmm1, dword [edi + 0x3c]
minss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x483528]
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x70]
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [edi + 0x4c24]
movss xmm1, dword [0x4834a4]
addss xmm3, dword [edi + 0x4c28]
movss dword [edi + 0x4c24], xmm2
movss dword [edi + 0x4c28], xmm3
subss xmm0, dword [edx + 0x18]
subss xmm0, dword [edx + 0x20]
maxss xmm2, xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [edx + 0x1c]
subss xmm0, dword [edx + 0x24]
movss dword [edi + 0x4c24], xmm2
mov byte [edi + 0x4c14], 0
mov byte [edi + 0x4a93], 1
maxss xmm3, xmm0
movss dword [edi + 0x4c28], xmm3
call fcn.00404650
mov ecx, dword [esp + 0x68]
mov dword [ecx], eax
cvttss2si edi, dword [edi + 0x4c24]
mov eax, dword [esp + 0x14]
cvttss2si eax, dword [eax + 0x4c28]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x50], eax
movd xmm1, eax
ucomiss xmm0, xmm7
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x40c1ce
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x40c25a
addss xmm0, dword [edx + 0x28]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x8c]
movss dword [esp + 0x60], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x2c]
movss dword [esp + 0x64], xmm0
call fcn.0040ad50
mov ecx, dword [esp + 0x18]
add esp, 4
movd xmm1, edi
mov edi, dword [esp + 0x38]
movss xmm0, dword [eax + 4]
movss xmm2, dword [eax]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ecx + 0x4c24]
subss xmm0, xmm1
movd xmm1, dword [esp + 0x50]
cvtdq2ps xmm1, xmm1
movss dword [ecx + 0x4c24], xmm0
movss xmm0, dword [ecx + 0x4c28]
subss xmm0, xmm1
movss dword [ecx + 0x4c28], xmm0
jmp 0x40c262
movss xmm2, dword [esp + 0x1c]
jmp 0x40c268
mov edi, dword [esp + 0x38]
jmp 0x40c25c
mov edi, edx
movss xmm2, dword [esp + 0x1c]
mov edx, dword [0x48d2c8]
ucomiss xmm2, dword [0x483544]
movss xmm1, dword [edi + 0x18]
movss xmm4, dword [edi + 0x28]
movaps xmm3, xmm1
movss xmm6, dword [edi + 0x1c]
movaps xmm5, xmm4
movss xmm7, dword [edi + 0x2c]
lahf
test ah, 0x44
jnp 0x40c2b6
movss xmm0, dword [edi + 0x20]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x40c2a9
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x40c2b6
movaps xmm3, xmm1
movss dword [edi + 0x28], xmm2
movaps xmm5, xmm2
movss dword [edi + 0x20], xmm2
movss xmm0, dword [esp + 0x20]
movaps xmm2, xmm1
ucomiss xmm0, dword [0x483544]
lahf
test ah, 0x44
jnp 0x40c300
movss xmm0, dword [edi + 0x24]
ucomiss xmm0, dword [esp + 0x20]
lahf
test ah, 0x44
jp 0x40c2ed
movaps xmm0, xmm7
movaps xmm2, xmm3
ucomiss xmm0, dword [esp + 0x20]
lahf
test ah, 0x44
jnp 0x40c300
movss xmm0, dword [esp + 0x20]
movaps xmm2, xmm3
movss dword [edi + 0x2c], xmm0
movss dword [edi + 0x24], xmm0
movss xmm3, dword [esp + 0x28]
movss xmm0, dword [0x483544]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x40c33e
cvttss2si eax, xmm3
movaps xmm2, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x40c336
movss dword [edi + 0x18], xmm0
movaps xmm2, xmm0
movss xmm0, dword [0x483544]
movss xmm3, dword [esp + 0x2c]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x40c369
cvttss2si eax, xmm3
movaps xmm0, xmm6
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x40c369
movss dword [edi + 0x1c], xmm3
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x40c38f
ucomiss xmm6, dword [edi + 0x1c]
lahf
test ah, 0x44
jp 0x40c38f
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jp 0x40c38f
ucomiss xmm7, dword [edi + 0x2c]
lahf
test ah, 0x44
jnp 0x40c3ad
test dword [edi + 0xc], 0x100
jne 0x40c3ad
xorps xmm0, xmm0
comiss xmm0, dword [edx + 0x5dc0]
jb 0x40c3ad
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5dc0], eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x40c3e4
movd xmm0, esi
mov edx, edi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [esp + 0x74]
push eax
call fcn.0040b1c0
add esp, 8
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x14]
movups xmmword [eax + 0x5cec], xmm0
mov eax, dword [esp + 0x44]
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0044c777
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xcc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0044c777
mov esp, ebp
pop ebp
ret