Function at 0x40f780
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 [0x44f978]
push edi
mov al, byte [esi + 8]
and al, 1
mov byte [esi + 0x357], 0
test byte [esi + 8], 2
mov byte [ebp - 2], al
je 0x40f809
test byte [esi + 0xc], 1
je 0x40f809
movss xmm0, dword [esi + 0x2fc]
lea ecx, [esi + 0x2fc]
xorps xmm1, xmm1
mov byte [ebp - 1], 1
comiss xmm0, xmm1
ja 0x40f7fd
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm1
ja 0x40f7fd
movss xmm0, dword [esi + 0x300]
comiss xmm0, xmm1
ja 0x40f7fd
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
jbe 0x40f816
mov dword [esi + 0x1ad4], 4
jmp 0x40f816
mov byte [ebp - 1], 0
lea ecx, [esi + 0x2fc]
xorps xmm1, xmm1
test al, al
je 0x40f988
mov eax, dword [esi + 0x64]
test eax, eax
js 0x40f840
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x40f840
mov dword [ecx], 0x3f800000
mov dword [esi + 0x1ad4], 3
mov eax, dword [esi + 0x68]
test eax, eax
js 0x40f866
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x40f866
mov dword [esi + 0x304], 0x3f800000
mov dword [esi + 0x1ad4], 3
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x40f88c
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x40f88c
mov dword [esi + 0x300], 0x3f800000
mov dword [esi + 0x1ad4], 3
mov eax, dword [esi + 0x38]
test eax, eax
js 0x40f8b2
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x40f8b2
mov dword [esi + 0x344], 0x3f800000
mov dword [esi + 0x1ad4], 3
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x40f8d8
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x40f8d8
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1ad4], 3
mov eax, dword [esi + 0x40]
test eax, eax
js 0x40f8fe
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x40f8fe
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1ad4], 3
mov eax, dword [esi + 0x44]
test eax, eax
js 0x40f924
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x40f924
mov dword [esi + 0x350], 0x3f800000
mov dword [esi + 0x1ad4], 3
mov eax, dword [esi + 0x34]
test eax, eax
js 0x40f94a
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x40f94a
mov dword [esi + 0x340], 0x3f800000
mov dword [esi + 0x1ad4], 3
mov al, byte [esi + 0xf8]
test al, al
je 0x40f95e
mov dword [esi + 0x334], 0x3f800000
cmp byte [esi + 0xf9], 0
je 0x40f971
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfa], 0
je 0x40f988
test al, al
jne 0x40f988
mov dword [esi + 0x33c], 0x3f800000
movups xmm0, xmmword [esi + 0x1450]
lea eax, [esi + 0x1450]
mov ecx, 0x16
movss xmm2, dword [0x44ad9c]
movups xmmword [esi + 0x14a8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x14b8], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x14c8], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esi + 0x14d8], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [esi + 0x14e8], xmm0
movq xmm0, qword [eax + 0x50]
movq qword [esi + 0x14f8], xmm0
movss xmm0, dword [eax - 0x1154]
comiss xmm0, xmm1
jbe 0x40fa04
movss xmm0, dword [eax]
comiss xmm1, xmm0
jbe 0x40f9fd
movaps xmm0, xmm1
jmp 0x40fa07
addss xmm0, dword [esi + 0x18]
jmp 0x40fa07
movaps xmm0, xmm2
movss dword [eax], xmm0
add eax, 4
sub ecx, 1
jne 0x40f9e2
mov edx, dword [esi + 0x1b14]
test edx, edx
je 0x40fab8
cmp byte [esi + 0x1b0e], cl
je 0x40fa3d
cmp byte [esi + 0x1b12], cl
je 0x40fab8
mov ecx, dword [esi + 0x1b04]
jmp 0x40fa4c
cmp byte [esi + 0x1b12], 0
mov ecx, dword [esi + 0x1b04]
je 0x40fa88
mov eax, dword [esi + 0x1aac]
mov dword [esi + 0x1ab0], edx
mov dword [eax + ecx*4 + 0x304], edx
add ecx, ecx
mov eax, dword [esi + 0x1aac]
movups xmm0, xmmword [esi + 0x1b18]
movups xmmword [eax + ecx*8 + 0x30c], xmm0
mov word [esi + 0x1b0d], 1
mov byte [esi + 0x1b0f], 1
jmp 0x40fa9b
mov eax, dword [esi + 0x1aac]
mov dword [esi + 0x1ab0], edx
mov dword [eax + ecx*4 + 0x304], edx
mov ecx, dword [esi + 0x1b04]
mov eax, dword [esi + 0x1aac]
add ecx, ecx
movups xmm0, xmmword [esi + 0x1b18]
movups xmmword [eax + ecx*8 + 0x30c], xmm0
cmp byte [esi + 0x1b29], 0
mov word [esi + 0x1b11], 0
mov dword [esi + 0x1b14], 0
mov dword [esi + 0x1ac8], 0
je 0x40fae3
call fcn.004107b0
cmp dword [esi + 0x1b30], 2
jne 0x40fb0f
cmp dword [esi + 0x1b40], 0
jne 0x40fb05
cmp dword [esi + 0x1b90], 0
jne 0x40fb05
mov byte [esi + 0x1b0e], 0
mov dword [esi + 0x1b30], 0
cmp byte [esi + 0x1b0d], 0
je 0x40fb87
cmp byte [esi + 0x1b0c], 0
je 0x40fb87
test byte [esi + 8], 4
je 0x40fb80
test byte [esi + 0xc], 4
je 0x40fb80
cmp byte [esi + 0x1b0e], 0
jne 0x40fb80
cmp byte [esi + 0x1b0f], 0
je 0x40fb80
cmp dword [esi + 0x1aac], 0
je 0x40fb80
lea ecx, [ebp - 0x14]
call fcn.0040f4c0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi + 0x37c], xmm0
movss dword [esi + 0x380], xmm1
movss dword [esi + 0xe0], xmm0
movss dword [esi + 0xe4], xmm1
mov byte [esi + 0x357], 1
mov byte [esi + 0x1b0d], 0
mov edx, dword [esi + 0x1aac]
mov byte [esi + 0x1b0c], 0
mov dword [esi + 0x1ac4], 0
test edx, edx
je 0x40fbd5
mov ecx, edx
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x40fbcb
mov ecx, dword [ecx + 0x2f0]
test ecx, ecx
jne 0x40fbb0
jmp 0x40fbd5
cmp ecx, edx
je 0x40fbd5
mov dword [ecx + 0x300], edx
mov eax, dword [esi + 0x1aac]
test eax, eax
je 0x40fbfb
cmp dword [eax + 0x300], 0
je 0x40fbfb
cmp dword [esi + 0x1b04], 0
jne 0x40fbfb
mov dword [eax + 0x300], 0
call fcn.00410fb0
cmp byte [ebp - 2], 0
jne 0x40fc0c
cmp byte [ebp - 1], 0
je 0x40fc78
mov eax, dword [esi + 0x1aac]
test eax, eax
je 0x40fc78
test dword [eax + 8], 0x40000
jne 0x40fc78
cmp dword [esi + 0x1ab0], 0
mov byte [esi + 0x359], 1
je 0x40fc7f
cmp byte [esi + 0x1b0e], 0
jne 0x40fc7f
mov al, 1
mov edx, 1
mov byte [esi + 0x35a], al
mov ecx, edx
call fcn.0040f5f0
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x40fe47
cmp dword [esi + 0x19bc], 0
je 0x40fc8c
test byte [esi + 0x19d8], 2
jne 0x40fe47
call fcn.00404f60
jmp 0x40fe47
mov byte [esi + 0x359], 0
cmp dword [esi + 0x1aec], 0
jne 0x40fc38
xor al, al
jmp 0x40fc3a
mov edi, dword [esi + 0x1aac]
test edi, edi
je 0x40fcf2
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x40fcf2
mov ecx, dword [edi + 0x2f0]
test ecx, ecx
je 0x40fcf2
call fcn.0040cef0
mov ecx, dword [edi + 0x54]
xorps xmm6, xmm6
mov edi, dword [0x44f978]
mov eax, dword [edi + 0x1aac]
mov dword [edi + 0x1ab0], ecx
mov dword [eax + 0x304], ecx
cmp byte [esi + 0x1b0f], 0
mov byte [esi + 0x1b0c], 0
je 0x40fe4d
mov byte [esi + 0x1b0d], 1
jmp 0x40fe4d
mov edx, dword [esi + 0x1a28]
test edx, edx
jle 0x40fda9
mov eax, dword [esi + 0x1a30]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x40fe47
lea ecx, [edx - 1]
mov edx, dword [0x44f978]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov edi, dword [edx + 0x1a30]
test ecx, ecx
jle 0x40fd3c
lea eax, [ecx + ecx*8]
mov edi, dword [edi + eax*4 - 0x20]
jmp 0x40fd3f
mov edi, dword [edi + 8]
mov eax, dword [edx + 0x1a2c]
cmp ecx, eax
jle 0x40fd80
test eax, eax
je 0x40fd5f
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0xc]
sar edx, 1
add edx, dword [eax + 0x1a2c]
jmp 0x40fd64
mov edx, 8
mov eax, ecx
cmp edx, ecx
mov ecx, dword [ebp - 0xc]
cmovg eax, edx
push eax
lea ecx, [ecx + 0x1a28]
call fcn.00414490
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1a28], ecx
cmp dword [edx + 0x1b04], 0
jne 0x40fd9a
mov eax, dword [edi + 0x300]
test eax, eax
cmovne edi, eax
mov ecx, edi
call fcn.0040cef0
xorps xmm6, xmm6
jmp 0x40fe47
cmp dword [esi + 0x1b04], 0
je 0x40fe1e
mov edi, dword [0x44f978]
mov ecx, dword [edi + 0x1aac]
mov dword [edi + 0x1b04], 0
mov eax, dword [ecx + 0x300]
test eax, eax
cmovne ecx, eax
mov dword [edi + 0x1aac], ecx
mov eax, dword [ecx + 0x304]
test eax, eax
je 0x40fe15
mov dword [edi + 0x1ab0], eax
mov dword [ecx + 0x304], eax
movups xmm0, xmmword [ecx + 0x30c]
mov eax, dword [edi + 0x1aac]
movups xmmword [eax + 0x30c], xmm0
mov word [edi + 0x1b0d], 1
mov byte [edi + 0x1b0f], 1
jmp 0x40fe4d
mov dl, 1
call fcn.0040f3f0
jmp 0x40fe4d
test edi, edi
je 0x40fe3d
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x40fe33
test eax, 0x1000000
jne 0x40fe3d
mov dword [edi + 0x304], 0
mov dword [esi + 0x1ab0], 0
mov edi, dword [0x44f978]
cmp dword [esi + 0x1ab0], 0
mov dword [esi + 0x1ac0], 0
mov dword [esi + 0x1abc], 0
mov dword [esi + 0x1ab8], 0
mov dword [esi + 0x1ab4], 0
je 0x40ff5b
cmp byte [esi + 0x1b0e], 0
jne 0x40ff5b
cmp dword [esi + 0x1aec], 0
jne 0x40ff5b
mov eax, dword [esi + 0x1aac]
test eax, eax
je 0x40ff5b
test dword [eax + 8], 0x40000
jne 0x40ff5b
movss xmm0, dword [edi + 0x2fc]
comiss xmm0, xmm6
seta al
mov byte [ebp - 1], al
test al, al
je 0x40fedd
mov edx, 1
xor ecx, ecx
call fcn.0040f5f0
comiss xmm0, xmm6
ja 0x40fedf
xor dl, dl
mov ecx, dword [esi + 0x19bc]
test ecx, ecx
jne 0x40fefb
test dl, dl
je 0x40ff03
mov eax, dword [esi + 0x1ab0]
mov dword [esi + 0x1ab4], eax
jmp 0x40ff03
cmp ecx, dword [esi + 0x1ab0]
jne 0x40ff5b
cmp byte [ebp - 1], 0
je 0x40ff15
mov eax, dword [esi + 0x1ab0]
mov dword [esi + 0x1ab8], eax
test ecx, ecx
je 0x40ff21
cmp ecx, dword [esi + 0x1ab0]
jne 0x40ff5b
test dl, dl
je 0x40ff31
mov eax, dword [esi + 0x1ab0]
mov dword [esi + 0x1abc], eax
test ecx, ecx
je 0x40ff3d
cmp ecx, dword [esi + 0x1ab0]
jne 0x40ff5b
mov edx, 1
lea ecx, [edx + 1]
call fcn.0040f5f0
comiss xmm0, xmm6
jbe 0x40ff5b
mov eax, dword [esi + 0x1ab0]
mov dword [esi + 0x1ac0], eax
mov edx, dword [esi + 0x1aac]
test edx, edx
je 0x40ff75
test dword [edx + 8], 0x40000
je 0x40ff75
mov byte [esi + 0x1b0e], 1
mov eax, dword [esi + 0x1ad0]
mov byte [esi + 0x1b29], 0
test eax, eax
je 0x40ff9e
mov dword [esi + 0x1ac0], eax
mov dword [esi + 0x1abc], eax
mov dword [esi + 0x1ab8], eax
mov dword [esi + 0x1ab4], eax
cmp dword [esi + 0x19bc], 0
mov dword [esi + 0x1ad0], 0
jne 0x40ffba
mov dword [ebp - 0xc], 0xffffffff
jmp 0x40ffc3
mov eax, dword [esi + 0x19d4]
mov dword [ebp - 0xc], eax
cmp dword [esi + 0x1b30], 0
jne 0x410128
or eax, 0xffffffff
mov dword [esi + 0x1b34], 0xffffffff
mov dword [esi + 0x1b2c], 0
test edx, edx
je 0x410120
or eax, eax
cmp dword [esi + 0x1aec], 0
jne 0x410120
mov ecx, dword [ebp - 0xc]
or eax, 0xffffffff
test ecx, ecx
je 0x410120
or eax, eax
test dword [edx + 8], 0x40000
jne 0x410120
or eax, 0xffffffff
mov dword [ebp - 8], eax
test cl, 1
je 0x410063
mov edx, 3
or eax, eax
mov dword [ebp - 8], eax
lea ecx, [edx + 0xf]
call fcn.0040f5f0
lea ecx, [edx + 1]
movaps xmm5, xmm0
call fcn.0040f5f0
mov ecx, dword [ebp - 0xc]
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x410060
xor eax, eax
mov dword [esi + 0x1b34], 0
mov dword [ebp - 8], eax
jmp 0x410063
or eax, 0xffffffff
test cl, 2
je 0x4100a3
mov edx, 3
mov dword [ebp - 8], eax
lea ecx, [edx + 0x10]
call fcn.0040f5f0
lea ecx, [edx + 2]
movaps xmm5, xmm0
call fcn.0040f5f0
mov ecx, dword [ebp - 0xc]
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x4100a3
mov eax, 1
mov dword [esi + 0x1b34], 1
mov dword [ebp - 8], eax
jmp 0x4100a6
mov eax, dword [ebp - 8]
test cl, 4
je 0x4100e1
mov edx, 3
mov dword [ebp - 8], eax
lea ecx, [edx + 0x11]
call fcn.0040f5f0
lea ecx, [edx + 3]
movaps xmm5, xmm0
call fcn.0040f5f0
mov ecx, dword [ebp - 0xc]
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x4100e1
mov dword [esi + 0x1b34], 2
lea eax, [edx - 1]
jmp 0x4100e4
mov eax, dword [ebp - 8]
test cl, 8
je 0x410120
mov edx, 3
mov dword [ebp - 8], eax
lea ecx, [edx + 0x12]
call fcn.0040f5f0
lea ecx, [edx + 4]
movaps xmm5, xmm0
call fcn.0040f5f0
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x41011d
mov eax, edx
mov dword [esi + 0x1b34], edx
mov dword [esi + 0x1b3c], eax
jmp 0x410132
mov eax, dword [ebp - 8]
mov dword [esi + 0x1b3c], eax
jmp 0x410132
mov dword [esi + 0x1b30], 2
cmp byte [ebp - 2], 0
xorps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
je 0x41014d
mov ecx, dword [ebp - 0xc]
call fcn.00410cc0
movss dword [ebp - 0x10], xmm0
mov eax, dword [esi + 0x1b34]
cmp eax, 0xffffffff
je 0x410165
mov byte [esi + 0x1b29], 1
mov dword [esi + 0x1b38], eax
cmp byte [esi + 0x1b29], 0
je 0x410191
cmp dword [esi + 0x1ab0], 0
jne 0x410191
mov word [esi + 0x1b11], 0x101
mov dword [esi + 0x1b14], 0
mov byte [esi + 0x1b0e], 0
cmp byte [edi + 0x1b29], 0
jne 0x4101a7
cmp byte [edi + 0x1b11], 0
jne 0x4101a7
xor al, al
jmp 0x4101a9
mov al, 1
movss xmm2, dword [0x44ac20]
mov byte [edi + 0x1b10], al
mov ecx, dword [esi + 0x1aac]
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x4103ec
test dword [ecx + 8], 0x40000
jne 0x4103ec
cmp dword [esi + 0x1aec], 0
jne 0x4103ec
cmp dword [ecx + 0x138], 0
movss xmm0, dword [edi + 0x18c0]
mulss xmm0, dword [ecx + 0x270]
mulss xmm0, dword [0x44ad28]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [ebp - 0xc], xmm3
jne 0x4102e1
cmp byte [ecx + 0x141], 0
je 0x4102e1
cmp byte [esi + 0x1b29], 0
je 0x4102e1
mov eax, dword [esi + 0x1b34]
test eax, eax
je 0x410253
cmp eax, 1
jne 0x41028d
movss xmm2, dword [0x44ac54]
jmp 0x41025b
movss xmm2, dword [0x44ad9c]
movss xmm1, dword [ecx + 0x58]
addss xmm1, dword [ecx + 0xe0]
mulss xmm2, xmm3
addss xmm2, dword [ecx + 0x58]
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ecx + 0x58], xmm0
movss dword [ecx + 0xe0], xmm1
mov eax, dword [esi + 0x1b34]
cmp eax, 2
je 0x4102a7
cmp eax, 3
jne 0x4102e1
movss xmm2, dword [0x44ac54]
jmp 0x4102af
movss xmm2, dword [0x44ad9c]
movss xmm1, dword [ecx + 0x5c]
addss xmm1, dword [ecx + 0xe4]
mulss xmm2, xmm3
addss xmm2, dword [ecx + 0x5c]
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ecx + 0x5c], xmm0
movss dword [ecx + 0xe4], xmm1
xor edx, edx
lea ecx, [edx + 9]
call fcn.0040f5f0
lea ecx, [edx + 8]
movaps xmm7, xmm0
call fcn.0040f5f0
subss xmm7, xmm0
lea ecx, [edx + 0xb]
addss xmm7, xmm6
call fcn.0040f5f0
lea ecx, [edx + 0xa]
movaps xmm5, xmm0
call fcn.0040f5f0
movss xmm1, dword [edi + 0x334]
subss xmm5, xmm0
comiss xmm1, xmm6
addss xmm5, xmm6
jbe 0x410336
mulss xmm7, dword [0x44abfc]
mulss xmm5, dword [0x44abfc]
movss xmm0, dword [edi + 0x338]
comiss xmm0, xmm6
jbe 0x410353
mulss xmm7, dword [0x44acfc]
mulss xmm5, dword [0x44acfc]
mov ecx, dword [ebp - 8]
movss xmm2, dword [ebp - 0xc]
ucomiss xmm7, xmm6
lahf
test ah, 0x44
jnp 0x4103a2
cmp byte [ecx + 0x78], dl
je 0x4103a2
movss xmm1, dword [ecx + 0x58]
addss xmm1, dword [ecx + 0xe0]
mulss xmm7, xmm2
addss xmm7, dword [ecx + 0x58]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ecx + 0x58], xmm0
movss dword [ecx + 0xe0], xmm1
mov byte [esi + 0x1b28], 1
ucomiss xmm5, xmm6
lahf
test ah, 0x44
jnp 0x4103e4
movss xmm1, dword [ecx + 0x5c]
addss xmm1, dword [ecx + 0xe4]
mulss xmm5, xmm2
addss xmm5, dword [ecx + 0x5c]
cvttss2si eax, xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ecx + 0x5c], xmm0
movss dword [ecx + 0xe4], xmm1
mov byte [esi + 0x1b28], 1
movss xmm2, dword [0x44ac20]
mov dword [esi + 0x1b44], 0
mov dword [esi + 0x1b40], 0
mov dword [esi + 0x1b48], 0
mov dword [esi + 0x1b54], 0x7f7fffff
mov dword [esi + 0x1b50], 0x7f7fffff
mov dword [esi + 0x1b4c], 0x7f7fffff
mov dword [esi + 0x1b58], 0x7f7fffff
mov dword [esi + 0x1b5c], 0x7f7fffff
mov dword [esi + 0x1b60], 0xff7fffff
mov dword [esi + 0x1b64], 0xff7fffff
mov dword [esi + 0x1b6c], 0
mov dword [esi + 0x1b68], 0
mov dword [esi + 0x1b70], 0
mov dword [esi + 0x1b7c], 0x7f7fffff
mov dword [esi + 0x1b78], 0x7f7fffff
mov dword [esi + 0x1b74], 0x7f7fffff
mov dword [esi + 0x1b80], 0x7f7fffff
mov dword [esi + 0x1b84], 0x7f7fffff
mov dword [esi + 0x1b88], 0xff7fffff
mov dword [esi + 0x1b8c], 0xff7fffff
mov dword [esi + 0x1b94], 0
mov dword [esi + 0x1b90], 0
mov dword [esi + 0x1b98], 0
mov dword [esi + 0x1ba4], 0x7f7fffff
mov dword [esi + 0x1ba0], 0x7f7fffff
mov dword [esi + 0x1b9c], 0x7f7fffff
mov dword [esi + 0x1ba8], 0x7f7fffff
mov dword [esi + 0x1bac], 0x7f7fffff
mov dword [esi + 0x1bb0], 0xff7fffff
mov dword [esi + 0x1bb4], 0xff7fffff
cmp byte [esi + 0x1b29], 0
je 0x410676
cmp byte [esi + 0x1b28], 0
je 0x410676
mov ecx, dword [esi + 0x1b04]
test ecx, ecx
jne 0x410676
mov eax, dword [esi + 0x1aac]
movss xmm3, dword [0x44ac54]
movss xmm7, dword [eax + 0x1f0]
subss xmm7, dword [eax + 0xc]
movss xmm5, dword [eax + 0x1f8]
movss xmm6, dword [eax + 0x1fc]
movss xmm4, dword [eax + 0x1f4]
subss xmm5, dword [eax + 0xc]
subss xmm6, dword [eax + 0x10]
subss xmm4, dword [eax + 0x10]
movss xmm0, dword [eax + 0x30c]
subss xmm7, xmm3
movss dword [ebp - 0xc], xmm0
addss xmm5, xmm3
addss xmm6, xmm3
subss xmm4, xmm3
comiss xmm0, xmm7
jb 0x4105c7
movss xmm0, dword [eax + 0x310]
comiss xmm0, xmm4
jb 0x4105c7
comiss xmm5, dword [eax + 0x314]
jb 0x4105c7
comiss xmm6, dword [eax + 0x318]
jae 0x41066f
movss xmm1, dword [edi + 0x18c0]
movaps xmm3, xmm6
mulss xmm1, dword [eax + 0x270]
subss xmm3, xmm4
add ecx, ecx
mulss xmm1, xmm2
movaps xmm2, xmm5
movss xmm0, dword [eax + ecx*8 + 0x310]
subss xmm2, xmm7
minss xmm3, xmm1
minss xmm2, xmm1
movss xmm1, dword [ebp - 0xc]
xorps xmm3, xmmword [0x44aef0]
subss xmm4, xmm3
addss xmm3, xmm6
xorps xmm2, xmmword [0x44aef0]
subss xmm7, xmm2
addss xmm2, xmm5
maxss xmm0, xmm4
maxss xmm1, xmm7
movss dword [eax + ecx*8 + 0x310], xmm0
movss dword [eax + ecx*8 + 0x30c], xmm1
movss xmm1, dword [eax + ecx*8 + 0x314]
movss xmm0, dword [eax + ecx*8 + 0x318]
minss xmm1, xmm2
minss xmm0, xmm3
movss dword [eax + ecx*8 + 0x314], xmm1
movss dword [eax + ecx*8 + 0x318], xmm0
mov dword [esi + 0x1ab0], 0
mov byte [esi + 0x1b28], 0
mov eax, dword [esi + 0x1aac]
test eax, eax
je 0x4106c6
mov ecx, dword [esi + 0x1b04]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x30c]
comiss xmm0, dword [eax + ecx*8 + 0x314]
ja 0x4106c6
movss xmm0, dword [eax + ecx*8 + 0x310]
comiss xmm0, dword [eax + ecx*8 + 0x318]
ja 0x4106c6
movups xmm0, xmmword [eax + ecx*8 + 0x30c]
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x30], xmm0
jmp 0x4106db
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x30], xmm0
test eax, eax
je 0x410719
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 0x41073b
movss xmm0, dword [edi + 0x10]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [edi + 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movss dword [ebp - 0x24], xmm0
movss xmm1, dword [ebp - 0x10]
lea eax, [ebp - 0x30]
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1ad8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1adc]
addss xmm1, dword [esi + 0x1ae4]
movss dword [esi + 0x1adc], xmm0
movss dword [esi + 0x1ae4], xmm1
movss xmm0, dword [esi + 0x1ad8]
addss xmm0, dword [0x44ac54]
mov dword [esi + 0x1ae8], 0
minss xmm0, dword [esi + 0x1ae0]
movss dword [esi + 0x1ad8], xmm0
movss dword [esi + 0x1ae0], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret