Function at 0x4108e0
Capabilities:
Resolve function by parsing pe exports

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
sub esp, 0x28
push esi
mov esi, dword [0x4a4ba0]
xorps xmm1, xmm1
push edi
mov byte [esi + 0x357], 0
mov dword [esi + 0x1cc4], 0
mov dword [esi + 0x1cc8], 0
mov al, byte [esi + 8]
and al, 1
test byte [esi + 8], 2
mov byte [ebp - 2], al
je 0x4109bc
test byte [esi + 0xc], 1
je 0x4109bc
cmp dword [esi + 0x1bf4], 4
mov byte [ebp - 1], 1
je 0x4109c0
movss xmm0, dword [esi + 0x300]
comiss xmm0, xmm1
ja 0x4109b0
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x4109b0
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm1
ja 0x4109b0
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x4109b0
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
ja 0x4109b0
movss xmm0, dword [esi + 0x314]
comiss xmm0, xmm1
ja 0x4109b0
movss xmm0, dword [esi + 0x318]
comiss xmm0, xmm1
ja 0x4109b0
movss xmm0, dword [esi + 0x31c]
comiss xmm0, xmm1
jbe 0x4109c0
mov dword [esi + 0x1bf4], 4
jmp 0x4109c0
mov byte [ebp - 1], 0
test al, al
je 0x410b10
mov eax, dword [esi + 0x64]
test eax, eax
js 0x4109ee
mov al, byte [esi + eax + 0x100]
test al, al
je 0x4109ee
mov dword [esi + 0x300], 0x3f800000
mov dword [esi + 0x1bf4], 3
mov eax, dword [esi + 0x68]
test eax, eax
js 0x410a14
mov al, byte [eax + esi + 0x100]
test al, al
je 0x410a14
mov dword [esi + 0x308], 0x3f800000
mov dword [esi + 0x1bf4], 3
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x410a3a
mov al, byte [eax + esi + 0x100]
test al, al
je 0x410a3a
mov dword [esi + 0x304], 0x3f800000
mov dword [esi + 0x1bf4], 3
mov eax, dword [esi + 0x38]
test eax, eax
js 0x410a60
mov al, byte [eax + esi + 0x100]
test al, al
je 0x410a60
mov dword [esi + 0x344], 0x3f800000
mov dword [esi + 0x1bf4], 3
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x410a86
mov al, byte [eax + esi + 0x100]
test al, al
je 0x410a86
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1bf4], 3
mov eax, dword [esi + 0x40]
test eax, eax
js 0x410aac
mov al, byte [eax + esi + 0x100]
test al, al
je 0x410aac
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1bf4], 3
mov eax, dword [esi + 0x44]
test eax, eax
js 0x410ad2
mov al, byte [eax + esi + 0x100]
test al, al
je 0x410ad2
mov dword [esi + 0x350], 0x3f800000
mov dword [esi + 0x1bf4], 3
mov al, byte [esi + 0xfc]
test al, al
je 0x410ae6
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfd], 0
je 0x410af9
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0xfe], 0
je 0x410b10
test al, al
jne 0x410b10
mov dword [esi + 0x340], 0x3f800000
movups xmm0, xmmword [esi + 0x1458]
mov eax, dword [esi + 0x14a8]
lea ecx, [esi + 0x1458]
movss xmm2, dword [0x497b3c]
movups xmmword [esi + 0x14ac], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x14bc], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x14cc], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x14dc], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x14ec], xmm0
mov dword [esi + 0x14fc], eax
mov eax, 0x15
nop dword [eax]
movss xmm0, dword [ecx - 0x1158]
comiss xmm0, xmm1
jbe 0x410b92
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x410b8b
movaps xmm0, xmm1
jmp 0x410b95
addss xmm0, dword [esi + 0x18]
jmp 0x410b95
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x410b70
cmp dword [esi + 0x1c1c], eax
je 0x410c37
cmp byte [esi + 0x1c16], al
je 0x410bbd
cmp byte [esi + 0x1c1a], al
je 0x410c37
mov edi, dword [esi + 0x1bc4]
test edi, edi
je 0x410c37
mov ecx, dword [esi + 0x1c0c]
mov edx, dword [esi + 0x1c1c]
mov dword [esi + 0x1bcc], 0
cmp byte [esi + 0x1c1a], 0
mov dword [esi + 0x1bc8], edx
mov dword [edi + ecx*4 + 0x330], edx
je 0x410c1a
mov eax, dword [esi + 0x1bc4]
add ecx, ecx
movups xmm0, xmmword [esi + 0x1c20]
movups xmmword [eax + ecx*8 + 0x338], xmm0
mov word [esi + 0x1c15], 1
mov byte [esi + 0x1c17], 1
mov ecx, dword [esi + 0x1c0c]
mov eax, dword [esi + 0x1bc4]
add ecx, ecx
movups xmm0, xmmword [esi + 0x1c20]
movups xmmword [eax + ecx*8 + 0x338], xmm0
cmp byte [esi + 0x1c30], 0
mov word [esi + 0x1c19], 0
mov dword [esi + 0x1c1c], 0
mov dword [esi + 0x1be4], 0
je 0x410c62
call fcn.00411860
cmp dword [esi + 0x1c38], 2
jne 0x410c8e
cmp dword [esi + 0x1c50], 0
jne 0x410c84
cmp dword [esi + 0x1ca0], 0
jne 0x410c84
mov byte [esi + 0x1c16], 0
mov dword [esi + 0x1c38], 0
cmp byte [esi + 0x1c15], 0
je 0x410d02
cmp byte [esi + 0x1c14], 0
je 0x410d02
test byte [esi + 8], 4
je 0x410cfb
test byte [esi + 0xc], 4
je 0x410cfb
cmp byte [esi + 0x1c16], 0
jne 0x410cfb
cmp byte [esi + 0x1c17], 0
je 0x410cfb
cmp dword [esi + 0x1bc4], 0
je 0x410cfb
lea ecx, [ebp - 0x18]
call fcn.00410630
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x384], eax
mov eax, ecx
mov dword [esi + 0x380], ecx
mov ecx, dword [esi + 0x384]
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], ecx
mov byte [esi + 0x357], 1
mov byte [esi + 0x1c15], 0
mov edx, dword [esi + 0x1bc4]
mov byte [esi + 0x1c14], 0
mov dword [esi + 0x1be0], 0
test edx, edx
je 0x410d45
mov ecx, edx
nop
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x410d3b
mov ecx, dword [ecx + 0x31c]
test ecx, ecx
jne 0x410d20
jmp 0x410d45
cmp ecx, edx
je 0x410d45
mov dword [ecx + 0x32c], edx
mov eax, dword [esi + 0x1bc4]
test eax, eax
je 0x410d6b
cmp dword [eax + 0x32c], 0
je 0x410d6b
cmp dword [esi + 0x1c0c], 0
jne 0x410d6b
mov dword [eax + 0x32c], 0
call fcn.004122c0
cmp byte [ebp - 2], 0
jne 0x410d7c
cmp byte [ebp - 1], 0
je 0x410df1
mov eax, dword [esi + 0x1bc4]
test eax, eax
je 0x410df1
test dword [eax + 8], 0x40000
jne 0x410df1
mov byte [esi + 0x359], 1
cmp dword [esi + 0x1bc8], 0
je 0x410df8
cmp byte [esi + 0x1c16], 0
jne 0x410df8
mov al, 1
mov edx, 1
mov byte [esi + 0x35a], al
mov ecx, edx
call fcn.00410760
xorps xmm5, xmm5
comiss xmm0, xmm5
jbe 0x410f6b
cmp dword [esi + 0x1aa4], 0
je 0x410e05
mov edi, dword [0x4a4ba0]
mov eax, dword [edi + 0x1abc]
shr eax, 1
test dl, al
jne 0x410f71
call fcn.004056c0
jmp 0x410f71
mov byte [esi + 0x359], 0
cmp dword [esi + 0x1ccc], 0
jne 0x410da8
xor al, al
jmp 0x410daa
mov edi, dword [esi + 0x1bc4]
test edi, edi
je 0x410e75
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x410e75
mov ecx, dword [edi + 0x31c]
test ecx, ecx
je 0x410e75
call fcn.0040e010
mov ecx, dword [edi + 0x54]
xorps xmm5, xmm5
mov edi, dword [0x4a4ba0]
mov eax, dword [edi + 0x1bc4]
mov dword [edi + 0x1bc8], ecx
mov dword [edi + 0x1bcc], 0
mov dword [eax + 0x330], ecx
cmp byte [esi + 0x1c17], 0
mov byte [esi + 0x1c14], 0
je 0x410f71
mov byte [esi + 0x1c15], 1
jmp 0x410f71
mov edx, dword [esi + 0x1bac]
test edx, edx
jle 0x410eab
mov eax, dword [esi + 0x1bb4]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x410f6b
lea ecx, [edx - 1]
mov dl, 1
call fcn.0040f610
xorps xmm5, xmm5
jmp 0x410f6b
cmp dword [esi + 0x1c0c], 0
je 0x410f38
mov edi, dword [0x4a4ba0]
mov eax, dword [edi + 0x1bc4]
mov dword [edi + 0x1c0c], 0
mov ecx, dword [eax + 0x32c]
test ecx, ecx
je 0x410ee1
cmp byte [ecx + 0x8b], 0
jne 0x410ee3
mov ecx, eax
mov dword [edi + 0x1bc4], ecx
mov eax, dword [ecx + 0x330]
test eax, eax
je 0x410f2f
mov dword [edi + 0x1bc8], eax
mov dword [edi + 0x1bcc], 0
mov dword [ecx + 0x330], eax
movups xmm0, xmmword [ecx + 0x338]
mov eax, dword [edi + 0x1bc4]
movups xmmword [eax + 0x338], xmm0
mov word [edi + 0x1c15], 1
mov byte [edi + 0x1c17], 1
jmp 0x410f71
mov dl, 1
call fcn.00410590
jmp 0x410f71
test edi, edi
je 0x410f57
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x410f4d
test eax, 0x1000000
jne 0x410f57
mov dword [edi + 0x330], 0
mov dword [esi + 0x1bcc], 0
mov dword [esi + 0x1bc8], 0
mov edi, dword [0x4a4ba0]
cmp dword [esi + 0x1bc8], 0
mov dword [esi + 0x1bdc], 0
mov dword [esi + 0x1bd8], 0
mov dword [esi + 0x1bd4], 0
mov dword [esi + 0x1bd0], 0
je 0x411083
cmp byte [esi + 0x1c16], 0
jne 0x411083
cmp dword [esi + 0x1ccc], 0
jne 0x411083
mov eax, dword [esi + 0x1bc4]
test eax, eax
je 0x411083
test dword [eax + 8], 0x40000
jne 0x411083
movss xmm0, dword [edi + 0x300]
comiss xmm0, xmm5
seta al
mov byte [ebp - 3], al
test al, al
je 0x411005
mov edx, 1
xor ecx, ecx
call fcn.00410760
comiss xmm0, xmm5
jbe 0x411005
mov al, dl
jmp 0x411007
xor al, al
mov edx, dword [esi + 0x1aa4]
mov ecx, dword [esi + 0x1bc8]
mov byte [ebp - 1], al
test edx, edx
jne 0x411026
test al, al
je 0x41102a
mov dword [esi + 0x1bd0], ecx
jmp 0x41102a
cmp edx, ecx
jne 0x411083
cmp byte [ebp - 3], 0
mov eax, dword [esi + 0x1bd4]
cmovne eax, ecx
mov dword [esi + 0x1bd4], eax
test edx, edx
je 0x411045
cmp edx, ecx
jne 0x411083
cmp byte [ebp - 1], 0
mov eax, dword [esi + 0x1bd8]
cmovne eax, ecx
mov dword [esi + 0x1bd8], eax
test edx, edx
je 0x411060
cmp edx, ecx
jne 0x411083
mov edx, 1
lea ecx, [edx + 1]
call fcn.00410760
mov eax, dword [esi + 0x1bdc]
comiss xmm0, xmm5
cmova eax, dword [esi + 0x1bc8]
mov dword [esi + 0x1bdc], eax
mov ecx, dword [esi + 0x1bc4]
test ecx, ecx
je 0x41109d
test dword [ecx + 8], 0x40000
je 0x41109d
mov byte [esi + 0x1c16], 1
mov eax, dword [esi + 0x1bf0]
mov byte [esi + 0x1c30], 0
test eax, eax
je 0x4110c6
mov dword [esi + 0x1bdc], eax
mov dword [esi + 0x1bd8], eax
mov dword [esi + 0x1bd4], eax
mov dword [esi + 0x1bd0], eax
cmp dword [esi + 0x1c38], 0
mov dword [esi + 0x1bf0], 0
jne 0x41125a
or eax, 0xffffffff
mov dword [esi + 0x1c40], 0xffffffff
mov dword [esi + 0x1c34], 0
test ecx, ecx
je 0x411252
or eax, eax
cmp dword [esi + 0x1ccc], 0
jne 0x411252
or eax, 0xffffffff
test dword [ecx + 8], 0x40000
jne 0x411252
test byte [edi + 0x1ab8], 1
mov dword [ebp - 8], eax
jne 0x411159
lea edx, [eax + 4]
lea ecx, [eax + 5]
call fcn.00410760
comiss xmm0, xmm5
ja 0x41114a
or eax, 0xffffffff
lea ecx, [edx + 0xe]
mov dword [ebp - 8], eax
call fcn.00410760
comiss xmm0, xmm5
jbe 0x411159
xor eax, eax
mov dword [esi + 0x1c40], 0
mov dword [ebp - 8], eax
mov ecx, dword [edi + 0x1ab8]
mov eax, ecx
shr eax, 1
mov dword [ebp - 0x14], ecx
test al, 1
jne 0x4111b7
mov edx, 3
lea ecx, [edx + 2]
call fcn.00410760
comiss xmm0, xmm5
ja 0x411198
mov eax, dword [ebp - 8]
lea ecx, [edx + 0xf]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x1ab8]
mov dword [ebp - 0x14], eax
call fcn.00410760
comiss xmm0, xmm5
jbe 0x4111b4
mov dword [esi + 0x1c40], 1
mov ecx, dword [edi + 0x1ab8]
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], ecx
jmp 0x4111b7
mov ecx, dword [ebp - 0x14]
mov eax, ecx
shr eax, 2
test al, 1
jne 0x411208
mov edx, 3
lea ecx, [edx + 3]
call fcn.00410760
comiss xmm0, xmm5
ja 0x4111eb
mov eax, dword [ebp - 8]
lea ecx, [edx + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.00410760
comiss xmm0, xmm5
jbe 0x411205
mov eax, 2
mov dword [esi + 0x1c40], 2
mov ecx, dword [edi + 0x1ab8]
mov dword [ebp - 8], eax
jmp 0x41120b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
shr ecx, 3
test cl, 1
jne 0x411252
mov edx, 3
lea ecx, [edx + 4]
call fcn.00410760
comiss xmm0, xmm5
ja 0x411238
mov eax, dword [ebp - 8]
lea ecx, [edx + 0x11]
mov dword [ebp - 8], eax
call fcn.00410760
comiss xmm0, xmm5
jbe 0x41124f
mov eax, 3
mov dword [esi + 0x1c40], 3
mov dword [esi + 0x1c48], eax
jmp 0x411264
mov eax, dword [ebp - 8]
mov dword [esi + 0x1c48], eax
jmp 0x411264
mov dword [esi + 0x1c38], 2
cmp byte [ebp - 2], 0
xorps xmm0, xmm0
movss dword [ebp - 8], xmm0
je 0x41127f
call fcn.00411a90
movss dword [ebp - 8], xmm0
xorps xmm5, xmm5
mov ecx, dword [esi + 0x1c40]
cmp ecx, 0xffffffff
je 0x4112a3
mov byte [esi + 0x1c30], 1
mov eax, dword [esi + 0x37c]
mov dword [esi + 0x1c3c], eax
mov dword [esi + 0x1c44], ecx
cmp byte [esi + 0x1c30], 0
je 0x4112cf
cmp dword [esi + 0x1bc8], 0
jne 0x4112cf
mov word [esi + 0x1c19], 0x101
mov dword [esi + 0x1c1c], 0
mov byte [esi + 0x1c16], 0
cmp byte [edi + 0x1c30], 0
jne 0x4112e5
cmp byte [edi + 0x1c19], 0
jne 0x4112e5
xor al, al
jmp 0x4112e7
mov al, 1
movss xmm2, dword [0x4978c8]
mov byte [edi + 0x1c18], al
mov edi, dword [esi + 0x1bc4]
test edi, edi
je 0x4114fa
test dword [edi + 8], 0x40000
jne 0x4114fa
cmp dword [esi + 0x1ccc], 0
jne 0x4114fa
mov eax, dword [0x4a4ba0]
movss xmm0, dword [eax + 0x1934]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x411344
mulss xmm0, dword [eax + 0x280]
cmp dword [edi + 0x144], 0
mulss xmm0, dword [0x497ae4]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x14], xmm1
jne 0x41141b
cmp byte [edi + 0x151], 0
je 0x41141b
cmp byte [esi + 0x1c30], 0
je 0x41141b
mov eax, dword [esi + 0x1c40]
movss xmm2, dword [0x4978f8]
test eax, eax
je 0x4113a8
cmp eax, 1
jne 0x4113dd
movaps xmm0, xmm2
jmp 0x4113b0
movss xmm0, dword [0x497b3c]
mulss xmm0, xmm1
mov dword [edi + 0x70], 0
mov dword [edi + 0x78], 0
addss xmm0, dword [edi + 0x58]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x68], xmm0
mov eax, dword [esi + 0x1c40]
cmp eax, 2
je 0x4113ec
cmp eax, 3
jne 0x41141b
movaps xmm0, xmm2
jmp 0x4113f4
movss xmm0, dword [0x497b3c]
mulss xmm0, xmm1
mov dword [edi + 0x74], 0
mov dword [edi + 0x7c], 0
addss xmm0, dword [edi + 0x5c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x6c], xmm0
xor edx, edx
lea ecx, [edx + 9]
call fcn.00410760
lea ecx, [edx + 8]
movaps xmm7, xmm0
call fcn.00410760
subss xmm7, xmm0
lea ecx, [edx + 0xb]
addss xmm7, xmm5
call fcn.00410760
lea ecx, [edx + 0xa]
movaps xmm6, xmm0
call fcn.00410760
mov ecx, dword [0x4a4ba0]
subss xmm6, xmm0
movss xmm1, dword [ecx + 0x338]
comiss xmm1, xmm5
addss xmm6, xmm5
jbe 0x411476
mulss xmm7, dword [0x4978a8]
mulss xmm6, dword [0x4978a8]
movss xmm0, dword [ecx + 0x33c]
comiss xmm0, xmm5
jbe 0x411493
mulss xmm7, dword [0x497ab4]
mulss xmm6, dword [0x497ab4]
movss xmm1, dword [ebp - 0x14]
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x4114c8
cmp byte [edi + 0x88], dl
je 0x4114c8
mulss xmm7, xmm1
mov dword [edi + 0x70], edx
mov dword [edi + 0x78], edx
addss xmm7, dword [edi + 0x58]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x68], xmm0
movss xmm2, dword [0x4978c8]
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jnp 0x411500
mulss xmm6, xmm1
mov dword [edi + 0x74], edx
mov dword [edi + 0x7c], edx
addss xmm6, dword [edi + 0x5c]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x6c], xmm0
jmp 0x411500
mov ecx, dword [0x4a4ba0]
mov dword [esi + 0x1c4c], 0
xorps xmm0, xmm0
mov dword [esi + 0x1c54], 0
mov dword [esi + 0x1c50], 0
mov dword [esi + 0x1c60], 0x7f7fffff
mov dword [esi + 0x1c5c], 0x7f7fffff
mov dword [esi + 0x1c58], 0x7f7fffff
movups xmmword [esi + 0x1c64], xmm0
mov dword [esi + 0x1c74], 0
mov dword [esi + 0x1c7c], 0
mov dword [esi + 0x1c78], 0
mov dword [esi + 0x1c88], 0x7f7fffff
mov dword [esi + 0x1c84], 0x7f7fffff
mov dword [esi + 0x1c80], 0x7f7fffff
movups xmmword [esi + 0x1c8c], xmm0
mov dword [esi + 0x1c9c], 0
mov dword [esi + 0x1ca4], 0
mov dword [esi + 0x1ca0], 0
mov dword [esi + 0x1cb0], 0x7f7fffff
mov dword [esi + 0x1cac], 0x7f7fffff
mov dword [esi + 0x1ca8], 0x7f7fffff
movups xmmword [esi + 0x1cb4], xmm0
cmp byte [esi + 0x1c30], 0
je 0x41175d
cmp dword [esi + 0x1bf4], 4
jne 0x41175d
cmp dword [esi + 0x1c0c], 0
movss xmm5, dword [0x4978f8]
jne 0x411765
mov eax, dword [esi + 0x1bc4]
movss xmm3, dword [eax + 0x1f4]
subss xmm3, dword [eax + 0xc]
movss xmm7, dword [eax + 0x1fc]
movss xmm6, dword [eax + 0x200]
movss xmm4, dword [eax + 0x1f8]
subss xmm7, dword [eax + 0xc]
subss xmm6, dword [eax + 0x10]
subss xmm4, dword [eax + 0x10]
movss xmm0, dword [eax + 0x338]
subss xmm3, xmm5
addss xmm7, xmm5
addss xmm6, xmm5
subss xmm4, xmm5
comiss xmm0, xmm3
jb 0x411675
movss xmm0, dword [eax + 0x33c]
comiss xmm0, xmm4
jb 0x411675
comiss xmm7, dword [eax + 0x340]
jb 0x411675
comiss xmm6, dword [eax + 0x344]
jae 0x411765
movss xmm5, dword [ecx + 0x1934]
mov edx, dword [eax + 0x31c]
mulss xmm5, dword [eax + 0x280]
test edx, edx
je 0x411697
mulss xmm5, dword [edx + 0x280]
movss xmm0, dword [eax + 0x33c]
movaps xmm1, xmm7
mulss xmm5, xmm2
subss xmm1, xmm3
movaps xmm2, xmm6
subss xmm2, xmm4
minss xmm1, xmm5
minss xmm2, xmm5
xorps xmm1, xmmword [0x497ec0]
subss xmm3, xmm1
addss xmm7, xmm1
xorps xmm2, xmmword [0x497ec0]
subss xmm4, xmm2
addss xmm6, xmm2
comiss xmm4, xmm0
jbe 0x4116e1
movaps xmm1, xmm4
jmp 0x4116e8
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm2, dword [eax + 0x338]
comiss xmm3, xmm2
jbe 0x4116fa
movaps xmm0, xmm3
jmp 0x411701
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [eax + 0x338], xmm0
movss dword [eax + 0x33c], xmm1
movss xmm0, dword [eax + 0x344]
comiss xmm4, xmm0
ja 0x411725
movaps xmm4, xmm6
minss xmm4, xmm0
movss xmm0, dword [eax + 0x340]
comiss xmm3, xmm0
ja 0x411739
movaps xmm3, xmm7
minss xmm3, xmm0
movss dword [eax + 0x340], xmm3
movss dword [eax + 0x344], xmm4
mov dword [esi + 0x1bcc], 0
mov dword [esi + 0x1bc8], 0
movss xmm5, dword [0x4978f8]
mov edx, dword [esi + 0x1bc4]
test edx, edx
je 0x411781
mov eax, dword [esi + 0x1c0c]
add eax, eax
movups xmm0, xmmword [edx + eax*8 + 0x338]
jmp 0x411784
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
test edx, edx
je 0x4117d3
movss xmm2, dword [edx + 0xc]
movss xmm0, dword [edx + 0x10]
movaps xmm3, xmm2
addss xmm3, dword [ebp - 0x18]
addss xmm2, dword [ebp - 0x20]
movaps xmm1, xmm0
addss xmm1, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x1c], xmm0
jmp 0x4117f5
movss xmm0, dword [ecx + 0x10]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ecx + 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movss dword [ebp - 0x14], xmm0
movups xmm0, xmmword [eax]
pop edi
movss xmm1, dword [ebp - 8]
movups xmmword [esi + 0x1bf8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1bfc]
addss xmm1, dword [esi + 0x1c04]
movss dword [esi + 0x1bfc], xmm0
movss dword [esi + 0x1c04], xmm1
movss xmm0, dword [esi + 0x1bf8]
addss xmm0, xmm5
mov dword [esi + 0x1c08], 0
minss xmm0, dword [esi + 0x1c00]
movss dword [esi + 0x1bf8], xmm0
movss dword [esi + 0x1c00], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret