Function at 0x411760
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, 0x38
push esi
mov esi, dword [0x4b5c78]
xorps xmm1, xmm1
push edi
mov byte [esi + 0x357], 0
mov dword [esi + 0x1e00], 0
mov dword [esi + 0x1e04], 0
mov al, byte [esi + 8]
and al, 1
test byte [esi + 8], 2
mov byte [ebp - 2], al
je 0x41183c
test byte [esi + 0xc], 1
je 0x41183c
cmp dword [esi + 0x1d30], 3
mov byte [ebp - 1], 1
je 0x411840
movss xmm0, dword [esi + 0x300]
comiss xmm0, xmm1
ja 0x411830
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x411830
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm1
ja 0x411830
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x411830
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
ja 0x411830
movss xmm0, dword [esi + 0x314]
comiss xmm0, xmm1
ja 0x411830
movss xmm0, dword [esi + 0x318]
comiss xmm0, xmm1
ja 0x411830
movss xmm0, dword [esi + 0x31c]
comiss xmm0, xmm1
jbe 0x411840
mov dword [esi + 0x1d30], 3
jmp 0x411840
mov byte [ebp - 1], 0
test al, al
je 0x4119c1
mov eax, dword [esi + 0x64]
test eax, eax
js 0x41186e
mov al, byte [eax + esi + 0x100]
test al, al
je 0x41186e
mov dword [esi + 0x300], 0x3f800000
mov dword [esi + 0x1d30], 2
mov eax, dword [esi + 0x68]
test eax, eax
js 0x411894
mov al, byte [eax + esi + 0x100]
test al, al
je 0x411894
mov dword [esi + 0x308], 0x3f800000
mov dword [esi + 0x1d30], 2
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x4118ba
mov al, byte [eax + esi + 0x100]
test al, al
je 0x4118ba
mov dword [esi + 0x304], 0x3f800000
mov dword [esi + 0x1d30], 2
mov eax, dword [esi + 0x38]
test eax, eax
js 0x4118e0
mov al, byte [eax + esi + 0x100]
test al, al
je 0x4118e0
mov dword [esi + 0x344], 0x3f800000
mov dword [esi + 0x1d30], 2
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x411906
mov al, byte [eax + esi + 0x100]
test al, al
je 0x411906
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1d30], 2
mov eax, dword [esi + 0x40]
test eax, eax
js 0x41192c
mov al, byte [eax + esi + 0x100]
test al, al
je 0x41192c
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1d30], 2
mov eax, dword [esi + 0x44]
test eax, eax
js 0x411952
mov al, byte [eax + esi + 0x100]
test al, al
je 0x411952
mov dword [esi + 0x350], 0x3f800000
mov dword [esi + 0x1d30], 2
cmp byte [esi + 0xfc], 0
je 0x411965
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfd], 0
je 0x411978
mov dword [esi + 0x33c], 0x3f800000
mov al, byte [esi + 0xfe]
test al, al
je 0x4119c1
cmp byte [esi + 0xfc], 0
jne 0x41199b
mov dword [esi + 0x340], 0x3f800000
mov al, byte [esi + 0xfe]
test al, al
je 0x4119c1
cmp byte [esi + 0xfc], 0
jne 0x4119c1
cmp byte [esi + 0x1e1c], 0
je 0x4119c1
cmp dword [esi + 0x1508], 0
jle 0x4119c1
mov byte [esi + 0x1e1c], 0
movups xmm0, xmmword [esi + 0x1458]
mov eax, dword [esi + 0x14a8]
lea ecx, [esi + 0x1458]
movss xmm2, dword [0x491d38]
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 word [eax + eax]
movss xmm0, dword [ecx - 0x1158]
comiss xmm0, xmm1
jbe 0x411a56
movss xmm2, dword [ecx]
comiss xmm1, xmm2
jbe 0x411a43
movss xmm2, dword [0x491d38]
movaps xmm0, xmm1
jmp 0x411a59
movss xmm0, dword [esi + 0x18]
addss xmm0, xmm2
movss xmm2, dword [0x491d38]
jmp 0x411a59
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x411a20
cmp dword [esi + 0x1d58], eax
je 0x411aca
mov edx, dword [esi + 0x1d00]
test edx, edx
je 0x411aca
mov ecx, dword [esi + 0x1d48]
mov eax, dword [esi + 0x1d58]
mov dword [esi + 0x1d04], eax
mov dword [esi + 0x1d08], 0
mov dword [edx + ecx*4 + 0x32c], eax
add ecx, ecx
mov eax, dword [esi + 0x1d00]
movups xmm0, xmmword [esi + 0x1d5c]
movups xmmword [eax + ecx*8 + 0x334], xmm0
cmp byte [esi + 0x1d56], 0
je 0x411aca
mov word [esi + 0x1d51], 1
mov byte [esi + 0x1d53], 1
cmp byte [esi + 0x1d6c], 0
mov word [esi + 0x1d55], 0
mov dword [esi + 0x1d58], 0
mov dword [esi + 0x1d20], 0
je 0x411af5
call fcn.004127b0
cmp dword [esi + 0x1d74], 2
jne 0x411b21
cmp dword [esi + 0x1d8c], 0
jne 0x411b17
cmp dword [esi + 0x1ddc], 0
jne 0x411b17
mov byte [esi + 0x1d52], 0
mov dword [esi + 0x1d74], 0
cmp byte [esi + 0x1d51], 0
je 0x411b95
cmp byte [esi + 0x1d50], 0
je 0x411b95
test byte [esi + 8], 4
je 0x411b8e
test byte [esi + 0xc], 4
je 0x411b8e
cmp byte [esi + 0x1d52], 0
jne 0x411b8e
cmp byte [esi + 0x1d53], 0
je 0x411b8e
cmp dword [esi + 0x1d00], 0
je 0x411b8e
lea ecx, [ebp - 0x28]
call fcn.004113c0
mov ecx, dword [eax]
mov dword [esi + 0x380], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x384], eax
mov eax, ecx
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0x384]
mov dword [esi + 0xe8], eax
mov byte [esi + 0x357], 1
mov byte [esi + 0x1d51], 0
mov ecx, dword [esi + 0x1d00]
mov byte [esi + 0x1d50], 0
mov dword [esi + 0x1d1c], 0
test ecx, ecx
je 0x411bd9
mov eax, ecx
cmp dword [eax + 0x31c], eax
je 0x411bcf
test dword [eax + 8], 0x14000000
jne 0x411bcf
mov eax, dword [eax + 0x318]
test eax, eax
jne 0x411bb2
jmp 0x411bd9
cmp eax, ecx
je 0x411bd9
mov dword [eax + 0x328], ecx
mov eax, dword [esi + 0x1d00]
test eax, eax
je 0x411bff
cmp dword [eax + 0x328], 0
je 0x411bff
cmp dword [esi + 0x1d48], 0
jne 0x411bff
mov dword [eax + 0x328], 0
call fcn.004131b0
cmp byte [ebp - 2], 0
jne 0x411c10
cmp byte [ebp - 1], 0
je 0x411c27
mov eax, dword [esi + 0x1d00]
test eax, eax
je 0x411c27
test dword [eax + 8], 0x40000
jne 0x411c27
mov al, 1
jmp 0x411c29
xor al, al
mov byte [esi + 0x359], al
test al, al
je 0x411c45
cmp dword [esi + 0x1d04], 0
je 0x411c45
cmp byte [esi + 0x1d52], 0
je 0x411c52
cmp dword [esi + 0x1e08], 0
jne 0x411c52
xor al, al
jmp 0x411c54
mov al, 1
mov edx, 1
mov byte [esi + 0x35a], al
mov ecx, edx
call fcn.00411500
xorps xmm5, xmm5
comiss xmm0, xmm5
jbe 0x411ece
cmp dword [esi + 0x1bd4], 0
je 0x411d1a
mov edi, dword [0x4b5c78]
mov eax, dword [edi + 0x1bec]
shr eax, 1
test dl, al
jne 0x411ed4
mov ecx, dword [edi + 0x1bd4]
test ecx, ecx
setne al
mov byte [edi + 0x1be0], al
test ecx, ecx
je 0x411cc7
mov dword [edi + 0x1bdc], 0
mov word [edi + 0x1be3], 0
mov dword [edi + 0x1c08], 0xffffffff
mov dword [edi + 0x1bd4], 0
mov word [edi + 0x1be1], 0
mov dword [edi + 0x1c00], 0
mov word [edi + 0x1be5], 0
mov dword [edi + 0x1be8], 0
mov dword [edi + 0x1bec], 0
mov dword [edi + 0x1bf0], 0
mov dword [edi + 0x1bf4], 0
jmp 0x411ed4
cmp dword [esi + 0x1d48], 0
je 0x411da8
mov edi, dword [0x4b5c78]
mov eax, dword [edi + 0x1d00]
mov ecx, dword [eax + 0x328]
test ecx, ecx
je 0x411d46
cmp byte [ecx + 0x8b], 0
jne 0x411d48
mov ecx, eax
mov dword [edi + 0x1d00], ecx
mov eax, dword [ecx + 0x32c]
mov dword [edi + 0x1d48], 0
test eax, eax
je 0x411d9e
mov dword [edi + 0x1d04], eax
mov dword [edi + 0x1d08], 0
mov dword [ecx + 0x32c], eax
movups xmm0, xmmword [ecx + 0x334]
mov eax, dword [edi + 0x1d00]
movups xmmword [eax + 0x334], xmm0
mov word [edi + 0x1d51], dx
mov byte [edi + 0x1d53], dl
jmp 0x411ed4
call fcn.00411300
jmp 0x411ed4
mov edi, dword [esi + 0x1d00]
test edi, edi
je 0x411e6c
cmp edi, dword [edi + 0x31c]
je 0x411e6c
test dword [edi + 8], 0x4000000
jne 0x411e6c
mov eax, dword [edi + 0x318]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x411e6c
movss xmm0, dword [edi + 0xc]
mov ecx, eax
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [ebp - 8], xmm0
movss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x24], xmm0
call fcn.0040eba0
movss xmm4, dword [ebp - 0xc]
xor edx, edx
movss xmm5, dword [ebp - 0x14]
movaps xmm3, xmm4
mov eax, dword [ebp - 0x10]
movaps xmm2, xmm5
addss xmm2, dword [ebp - 0x24]
addss xmm3, dword [ebp - 8]
mov ecx, dword [edi + 0x54]
subss xmm4, dword [eax + 0xc]
subss xmm5, dword [eax + 0x10]
subss xmm2, dword [eax + 0x10]
subss xmm3, dword [eax + 0xc]
lea eax, [ebp - 0x30]
push eax
push 0
movss dword [ebp - 0x30], xmm4
movss dword [ebp - 0x2c], xmm5
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x24], xmm2
call fcn.00410990
add esp, 8
xorps xmm5, xmm5
jmp 0x411ece
mov edx, dword [esi + 0x1cdc]
test edx, edx
jle 0x411e9b
mov eax, dword [esi + 0x1ce4]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x411ece
lea ecx, [edx - 1]
mov dl, 1
call fcn.00410140
xorps xmm5, xmm5
jmp 0x411ece
test edi, edi
je 0x411eba
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x411eb0
test eax, 0x1000000
jne 0x411eba
mov dword [edi + 0x32c], 0
mov dword [esi + 0x1d08], 0
mov dword [esi + 0x1d04], 0
mov edi, dword [0x4b5c78]
cmp dword [esi + 0x1d04], 0
mov dword [esi + 0x1d18], 0
mov dword [esi + 0x1d14], 0
mov dword [esi + 0x1d10], 0
mov dword [esi + 0x1d0c], 0
je 0x411fca
cmp byte [esi + 0x1d52], 0
jne 0x411fca
cmp dword [esi + 0x1e08], 0
jne 0x411fca
mov eax, dword [esi + 0x1d00]
test eax, eax
je 0x411fca
test dword [eax + 8], 0x40000
jne 0x411fca
movss xmm0, dword [edi + 0x300]
comiss xmm0, xmm5
seta al
mov byte [ebp - 1], al
test al, al
je 0x411f64
mov edx, 1
xor ecx, ecx
call fcn.00411500
comiss xmm0, xmm5
ja 0x411f66
xor dl, dl
mov ecx, dword [esi + 0x1bd4]
mov eax, dword [esi + 0x1d04]
test ecx, ecx
jne 0x411f82
test dl, dl
je 0x411f86
mov dword [esi + 0x1d0c], eax
jmp 0x411f86
cmp ecx, eax
jne 0x411f92
cmp byte [ebp - 1], 0
je 0x411f92
mov dword [esi + 0x1d10], eax
test ecx, ecx
je 0x411f9a
cmp ecx, eax
jne 0x411fa4
test dl, dl
je 0x411fa4
mov dword [esi + 0x1d14], eax
test ecx, ecx
je 0x411fac
cmp ecx, eax
jne 0x411fca
mov edx, 1
lea ecx, [edx + 1]
call fcn.00411500
comiss xmm0, xmm5
jbe 0x411fca
mov eax, dword [esi + 0x1d04]
mov dword [esi + 0x1d18], eax
mov ecx, dword [esi + 0x1d00]
test ecx, ecx
je 0x411fe4
test dword [ecx + 8], 0x40000
je 0x411fe4
mov byte [esi + 0x1d52], 1
mov eax, dword [esi + 0x1d2c]
mov byte [esi + 0x1d6c], 0
test eax, eax
je 0x41200d
mov dword [esi + 0x1d18], eax
mov dword [esi + 0x1d14], eax
mov dword [esi + 0x1d10], eax
mov dword [esi + 0x1d0c], eax
cmp dword [esi + 0x1d74], 0
mov dword [esi + 0x1d2c], 0
jne 0x4121a1
or eax, 0xffffffff
mov dword [esi + 0x1d7c], 0xffffffff
mov dword [esi + 0x1d70], 0
test ecx, ecx
je 0x412199
or eax, eax
cmp dword [esi + 0x1e08], 0
jne 0x412199
or eax, 0xffffffff
test dword [ecx + 8], 0x40000
jne 0x412199
test byte [edi + 0x1be8], 1
mov dword [ebp - 8], eax
jne 0x4120a0
lea edx, [eax + 4]
lea ecx, [eax + 5]
call fcn.00411500
comiss xmm0, xmm5
ja 0x412091
or eax, 0xffffffff
lea ecx, [edx + 0xe]
mov dword [ebp - 8], eax
call fcn.00411500
comiss xmm0, xmm5
jbe 0x4120a0
xor eax, eax
mov dword [esi + 0x1d7c], 0
mov dword [ebp - 8], eax
mov ecx, dword [edi + 0x1be8]
mov eax, ecx
shr eax, 1
mov dword [ebp - 0xc], ecx
test al, 1
jne 0x4120fe
mov edx, 3
lea ecx, [edx + 2]
call fcn.00411500
comiss xmm0, xmm5
ja 0x4120df
mov eax, dword [ebp - 8]
lea ecx, [edx + 0xf]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x1be8]
mov dword [ebp - 0xc], eax
call fcn.00411500
comiss xmm0, xmm5
jbe 0x4120fb
mov dword [esi + 0x1d7c], 1
mov ecx, dword [edi + 0x1be8]
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], ecx
jmp 0x4120fe
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 2
test al, 1
jne 0x41214f
mov edx, 3
lea ecx, [edx + 3]
call fcn.00411500
comiss xmm0, xmm5
ja 0x412132
mov eax, dword [ebp - 8]
lea ecx, [edx + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
call fcn.00411500
comiss xmm0, xmm5
jbe 0x41214c
mov eax, 2
mov dword [esi + 0x1d7c], 2
mov ecx, dword [edi + 0x1be8]
mov dword [ebp - 8], eax
jmp 0x412152
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
shr ecx, 3
test cl, 1
jne 0x412199
mov edx, 3
lea ecx, [edx + 4]
call fcn.00411500
comiss xmm0, xmm5
ja 0x41217f
mov eax, dword [ebp - 8]
lea ecx, [edx + 0x11]
mov dword [ebp - 8], eax
call fcn.00411500
comiss xmm0, xmm5
jbe 0x412196
mov eax, 3
mov dword [esi + 0x1d7c], 3
mov dword [esi + 0x1d84], eax
jmp 0x4121ab
mov eax, dword [ebp - 8]
mov dword [esi + 0x1d84], eax
jmp 0x4121ab
mov dword [esi + 0x1d74], 2
cmp byte [ebp - 2], 0
xorps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
je 0x4121c6
call fcn.00412a70
movss dword [ebp - 0x10], xmm0
xorps xmm5, xmm5
mov ecx, dword [esi + 0x1d7c]
cmp ecx, 0xffffffff
je 0x4121ea
mov byte [esi + 0x1d6c], 1
mov eax, dword [esi + 0x37c]
mov dword [esi + 0x1d78], eax
mov dword [esi + 0x1d80], ecx
cmp byte [esi + 0x1d6c], 0
je 0x412216
cmp dword [esi + 0x1d04], 0
jne 0x412216
mov word [esi + 0x1d55], 0x101
mov dword [esi + 0x1d58], 0
mov byte [esi + 0x1d52], 0
cmp byte [edi + 0x1d6c], 0
jne 0x41222c
cmp byte [edi + 0x1d55], 0
jne 0x41222c
xor al, al
jmp 0x41222e
mov al, 1
mov byte [edi + 0x1d54], al
mov ecx, dword [esi + 0x1d00]
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x412436
test dword [ecx + 8], 0x40000
jne 0x412436
cmp dword [esi + 0x1e08], 0
jne 0x412436
movss xmm1, dword [edi + 0x1934]
mov eax, dword [ecx + 0x318]
mulss xmm1, dword [ecx + 0x27c]
test eax, eax
je 0x412288
movss xmm0, dword [eax + 0x27c]
mulss xmm0, xmm1
movaps xmm1, xmm0
cmp word [ecx + 0x148], 0
mulss xmm1, dword [0x491cf4]
mulss xmm1, dword [esi + 0x18]
addss xmm1, dword [0x491c48]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0xc], xmm1
jne 0x412364
cmp byte [ecx + 0x151], 0
je 0x412364
cmp byte [esi + 0x1d6c], 0
je 0x412364
mov eax, dword [esi + 0x1d7c]
movss xmm2, dword [0x491c7c]
test eax, eax
je 0x4122f1
cmp eax, 1
jne 0x412326
movaps xmm0, xmm2
jmp 0x4122f9
movss xmm0, dword [0x491d38]
mulss xmm0, xmm1
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x78], 0
addss xmm0, dword [ecx + 0x58]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x68], xmm0
mov eax, dword [esi + 0x1d7c]
cmp eax, 2
je 0x412335
cmp eax, 3
jne 0x412364
movaps xmm0, xmm2
jmp 0x41233d
movss xmm0, dword [0x491d38]
mulss xmm0, xmm1
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x7c], 0
addss xmm0, dword [ecx + 0x5c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x6c], xmm0
xor edx, edx
lea ecx, [edx + 9]
call fcn.00411500
lea ecx, [edx + 8]
movaps xmm7, xmm0
call fcn.00411500
subss xmm7, xmm0
lea ecx, [edx + 0xb]
addss xmm7, xmm5
call fcn.00411500
lea ecx, [edx + 0xa]
movaps xmm6, xmm0
call fcn.00411500
movss xmm1, dword [edi + 0x338]
subss xmm6, xmm0
comiss xmm1, xmm5
addss xmm6, xmm5
jbe 0x4123b9
mulss xmm7, dword [0x491c20]
mulss xmm6, dword [0x491c20]
movss xmm0, dword [edi + 0x33c]
comiss xmm0, xmm5
jbe 0x4123d6
mulss xmm7, dword [0x491cd0]
mulss xmm6, dword [0x491cd0]
mov ecx, dword [ebp - 8]
movss xmm1, dword [ebp - 0xc]
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x41240e
cmp byte [ecx + 0x88], dl
je 0x41240e
mulss xmm7, xmm1
mov dword [ecx + 0x70], edx
mov dword [ecx + 0x78], edx
addss xmm7, dword [ecx + 0x58]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x68], xmm0
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jnp 0x412436
mulss xmm6, xmm1
mov dword [ecx + 0x74], edx
mov dword [ecx + 0x7c], edx
addss xmm6, dword [ecx + 0x5c]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x6c], xmm0
mov dword [esi + 0x1d88], 0
xorps xmm0, xmm0
mov dword [esi + 0x1d90], 0
mov dword [esi + 0x1d8c], 0
movups xmmword [esi + 0x1d94], xmm0
mov dword [esi + 0x1dac], 0x7f7fffff
mov dword [esi + 0x1da8], 0x7f7fffff
mov dword [esi + 0x1da4], 0x7f7fffff
mov dword [esi + 0x1db0], 0
mov dword [esi + 0x1db8], 0
mov dword [esi + 0x1db4], 0
movups xmmword [esi + 0x1dbc], xmm0
mov dword [esi + 0x1dd4], 0x7f7fffff
mov dword [esi + 0x1dd0], 0x7f7fffff
mov dword [esi + 0x1dcc], 0x7f7fffff
mov dword [esi + 0x1dd8], 0
mov dword [esi + 0x1de0], 0
mov dword [esi + 0x1ddc], 0
movups xmmword [esi + 0x1de4], xmm0
mov dword [esi + 0x1dfc], 0x7f7fffff
mov dword [esi + 0x1df8], 0x7f7fffff
mov dword [esi + 0x1df4], 0x7f7fffff
cmp byte [esi + 0x1d6c], 0
je 0x41269d
cmp dword [esi + 0x1d30], 3
jne 0x41269d
cmp dword [esi + 0x1d48], 0
movss xmm5, dword [0x491c7c]
jne 0x4126a5
mov eax, dword [esi + 0x1d00]
movss xmm2, dword [eax + 0x1f0]
subss xmm2, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movss xmm6, dword [eax + 0x1f8]
movss xmm7, dword [eax + 0x1fc]
movss xmm3, dword [eax + 0x1f4]
subss xmm7, xmm1
subss xmm6, dword [eax + 0xc]
movss xmm0, dword [eax + 0x334]
subss xmm2, xmm5
subss xmm3, xmm1
addss xmm7, xmm5
addss xmm6, xmm5
comiss xmm0, xmm2
subss xmm3, xmm5
jb 0x4125ae
movss xmm0, dword [eax + 0x338]
comiss xmm0, xmm3
jb 0x4125ae
comiss xmm6, dword [eax + 0x33c]
jb 0x4125ae
comiss xmm7, dword [eax + 0x340]
jae 0x4126a5
movss xmm4, dword [edi + 0x1934]
mov ecx, dword [eax + 0x318]
mulss xmm4, dword [eax + 0x27c]
test ecx, ecx
je 0x4125d0
mulss xmm4, dword [ecx + 0x27c]
mulss xmm4, dword [0x491c48]
movaps xmm1, xmm7
movss xmm0, dword [eax + 0x338]
subss xmm1, xmm3
movaps xmm5, xmm6
subss xmm5, xmm2
minss xmm1, xmm4
minss xmm5, xmm4
xorps xmm1, xmmword [0x492d80]
subss xmm3, xmm1
movaps xmm4, xmm1
xorps xmm5, xmmword [0x492d80]
addss xmm4, xmm7
subss xmm2, xmm5
addss xmm5, xmm6
comiss xmm3, xmm0
jbe 0x412621
movaps xmm1, xmm3
jmp 0x412628
movaps xmm1, xmm4
minss xmm1, xmm0
movss xmm6, dword [eax + 0x334]
comiss xmm2, xmm6
jbe 0x41263a
movaps xmm0, xmm2
jmp 0x412641
movaps xmm0, xmm5
minss xmm0, xmm6
movss dword [eax + 0x334], xmm0
movss dword [eax + 0x338], xmm1
movss xmm0, dword [eax + 0x340]
comiss xmm3, xmm0
ja 0x412665
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [eax + 0x33c]
comiss xmm2, xmm0
ja 0x412679
movaps xmm2, xmm5
minss xmm2, xmm0
movss dword [eax + 0x33c], xmm2
movss dword [eax + 0x340], xmm3
mov dword [esi + 0x1d08], 0
mov dword [esi + 0x1d04], 0
movss xmm5, dword [0x491c7c]
mov eax, dword [esi + 0x1d00]
test eax, eax
je 0x4126e7
mov ecx, dword [esi + 0x1d48]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x334]
comiss xmm0, dword [eax + ecx*8 + 0x33c]
ja 0x4126e7
movss xmm0, dword [eax + ecx*8 + 0x338]
comiss xmm0, dword [eax + ecx*8 + 0x340]
ja 0x4126e7
movups xmm0, xmmword [eax + ecx*8 + 0x334]
jmp 0x4126ea
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x30], xmm0
test eax, eax
je 0x41273a
movss xmm4, dword [ebp - 0x28]
movss xmm3, dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x2c]
addss xmm4, dword [eax + 0xc]
addss xmm3, dword [eax + 0x10]
addss xmm1, dword [eax + 0xc]
addss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x28], xmm4
movss dword [ebp - 0x24], xmm3
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm0
jmp 0x412741
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
movss xmm1, dword [ebp - 0x10]
lea eax, [ebp - 0x30]
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1d34], xmm0
movss xmm0, dword [esi + 0x1d38]
addss xmm0, xmm1
addss xmm1, dword [esi + 0x1d40]
movss dword [esi + 0x1d38], xmm0
movss dword [esi + 0x1d40], xmm1
movss xmm0, dword [esi + 0x1d34]
addss xmm0, xmm5
mov dword [esi + 0x1d44], 0
minss xmm0, dword [esi + 0x1d3c]
movss dword [esi + 0x1d34], xmm0
movss dword [esi + 0x1d3c], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret