Function at 0x10048ff0
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 [0x101e3554]
push edi
mov al, byte [esi + 8]
and al, 1
mov byte [esi + 0x35b], 0
test byte [esi + 8], 2
mov dword [esi + 0x1c38], 0
mov dword [esi + 0x1c3c], 0
mov byte [ebp - 2], al
je 0x1004908d
test byte [esi + 0xc], 1
je 0x1004908d
movss xmm0, dword [esi + 0x304]
lea ecx, [esi + 0x304]
xorps xmm1, xmm1
mov byte [ebp - 1], 1
comiss xmm0, xmm1
ja 0x10049081
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x10049081
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x10049081
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
jbe 0x1004909a
mov dword [esi + 0x1b68], 4
jmp 0x1004909a
mov byte [ebp - 1], 0
lea ecx, [esi + 0x304]
xorps xmm1, xmm1
test al, al
je 0x10049209
mov edx, dword [esi + 0x64]
test edx, edx
js 0x100490c9
mov eax, dword [0x101e3554]
mov al, byte [edx + eax + 0x104]
test al, al
je 0x100490c9
mov dword [ecx], 0x3f800000
mov dword [esi + 0x1b68], 3
mov ecx, dword [esi + 0x68]
test ecx, ecx
js 0x100490f4
mov eax, dword [0x101e3554]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x100490f4
mov dword [esi + 0x30c], 0x3f800000
mov dword [esi + 0x1b68], 3
mov ecx, dword [esi + 0x6c]
test ecx, ecx
js 0x1004911f
mov eax, dword [0x101e3554]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x1004911f
mov dword [esi + 0x308], 0x3f800000
mov dword [esi + 0x1b68], 3
mov ecx, dword [esi + 0x38]
test ecx, ecx
js 0x1004914a
mov eax, dword [0x101e3554]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x1004914a
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1b68], 3
mov ecx, dword [esi + 0x3c]
test ecx, ecx
js 0x10049175
mov eax, dword [0x101e3554]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x10049175
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1b68], 3
mov ecx, dword [esi + 0x40]
test ecx, ecx
js 0x100491a0
mov eax, dword [0x101e3554]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x100491a0
mov dword [esi + 0x350], 0x3f800000
mov dword [esi + 0x1b68], 3
mov ecx, dword [esi + 0x44]
test ecx, ecx
js 0x100491cb
mov eax, dword [0x101e3554]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x100491cb
mov dword [esi + 0x354], 0x3f800000
mov dword [esi + 0x1b68], 3
mov al, byte [esi + 0x100]
test al, al
je 0x100491df
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0x101], 0
je 0x100491f2
mov dword [esi + 0x340], 0x3f800000
cmp byte [esi + 0x102], 0
je 0x10049209
test al, al
jne 0x10049209
mov dword [esi + 0x344], 0x3f800000
movups xmm0, xmmword [esi + 0x1460]
mov eax, dword [esi + 0x14b0]
lea ecx, [esi + 0x1460]
movss xmm2, dword [0x10135ddc]
movups xmmword [esi + 0x14b4], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x14c4], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x14d4], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x14e4], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x14f4], xmm0
mov dword [esi + 0x1504], eax
mov eax, 0x15
movss xmm0, dword [ecx - 0x115c]
comiss xmm0, xmm1
jbe 0x10049284
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x1004927d
movaps xmm0, xmm1
jmp 0x10049287
addss xmm0, dword [esi + 0x18]
jmp 0x10049287
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x10049262
mov edx, dword [esi + 0x1b90]
test edx, edx
je 0x1004935a
cmp byte [esi + 0x1b8a], al
je 0x100492b5
cmp byte [esi + 0x1b8e], al
je 0x1004935a
cmp dword [esi + 0x1b38], 0
je 0x1004935a
cmp byte [esi + 0x1b8e], 0
mov edi, dword [esi + 0x1b80]
je 0x1004931c
mov ecx, dword [0x101e3554]
mov eax, dword [ecx + 0x1b38]
mov dword [ecx + 0x1b3c], edx
mov dword [ecx + 0x1b40], 0
mov dword [eax + edi*4 + 0x308], edx
lea eax, [edi + 0x31]
movups xmm0, xmmword [esi + 0x1b94]
shl eax, 4
add eax, dword [ecx + 0x1b38]
movups xmmword [eax], xmm0
mov word [ecx + 0x1b89], 1
mov byte [ecx + 0x1b8b], 1
jmp 0x1004933e
mov eax, dword [0x101e3554]
mov dword [eax + 0x1b3c], edx
mov dword [eax + 0x1b40], 0
mov eax, dword [eax + 0x1b38]
mov dword [eax + edi*4 + 0x308], edx
mov eax, dword [esi + 0x1b80]
movups xmm0, xmmword [esi + 0x1b94]
add eax, 0x31
shl eax, 4
add eax, dword [esi + 0x1b38]
movups xmmword [eax], xmm0
cmp byte [esi + 0x1ba5], 0
mov word [esi + 0x1b8d], 0
mov dword [esi + 0x1b90], 0
mov dword [esi + 0x1b58], 0
je 0x10049385
call fcn.1004a290
cmp dword [esi + 0x1bac], 2
jne 0x100493b1
cmp dword [esi + 0x1bc4], 0
jne 0x100493a7
cmp dword [esi + 0x1c14], 0
jne 0x100493a7
mov byte [esi + 0x1b8a], 0
mov dword [esi + 0x1bac], 0
cmp byte [esi + 0x1b89], 0
je 0x1004942d
cmp byte [esi + 0x1b88], 0
je 0x1004942d
test byte [esi + 8], 4
je 0x10049426
test byte [esi + 0xc], 4
je 0x10049426
cmp byte [esi + 0x1b8a], 0
jne 0x10049426
cmp byte [esi + 0x1b8b], 0
je 0x10049426
cmp dword [esi + 0x1b38], 0
je 0x10049426
lea eax, [ebp - 0x18]
push eax
call fcn.10048230
add esp, 4
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi + 0x384], xmm0
movss dword [esi + 0x388], xmm1
movss dword [esi + 0xe8], xmm0
movss dword [esi + 0xec], xmm1
mov byte [esi + 0x35b], 1
mov byte [esi + 0x1b89], 0
mov edx, dword [esi + 0x1b38]
mov byte [esi + 0x1b88], 0
mov dword [esi + 0x1b54], 0
test edx, edx
je 0x10049475
mov ecx, edx
nop word [eax + eax]
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1004946b
mov ecx, dword [ecx + 0x2f4]
test ecx, ecx
jne 0x10049450
jmp 0x10049475
cmp ecx, edx
je 0x10049475
mov dword [ecx + 0x304], edx
mov eax, dword [esi + 0x1b38]
test eax, eax
je 0x1004949b
cmp dword [eax + 0x304], 0
je 0x1004949b
cmp dword [esi + 0x1b80], 0
jne 0x1004949b
mov dword [eax + 0x304], 0
call fcn.1004a860
cmp byte [ebp - 2], 0
jne 0x100494ac
cmp byte [ebp - 1], 0
je 0x10049509
mov eax, dword [esi + 0x1b38]
test eax, eax
je 0x10049509
test dword [eax + 8], 0x40000
jne 0x10049509
cmp dword [esi + 0x1b3c], 0
mov byte [esi + 0x35d], 1
je 0x10049510
cmp byte [esi + 0x1b8a], 0
jne 0x10049510
mov al, 1
mov byte [esi + 0x35e], al
xorps xmm1, xmm1
mov ecx, dword [0x101e3554]
movss xmm0, dword [ecx + 0x1464]
comiss xmm1, xmm0
ja 0x1004951d
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004951d
movss xmm0, dword [0x101313a8]
jmp 0x10049520
mov byte [esi + 0x35d], 0
cmp dword [esi + 0x1c40], 0
jne 0x100494d8
xor al, al
jmp 0x100494da
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004954d
cmp dword [esi + 0x1a3c], 0
je 0x100495fd
mov eax, dword [ecx + 0x1a54]
shr eax, 1
test al, 1
jne 0x1004954d
push 0
push 0
call fcn.10050a10
add esp, 8
xorps xmm1, xmm1
cmp dword [esi + 0x1b3c], 0
mov dword [esi + 0x1b50], 0
mov dword [esi + 0x1b4c], 0
mov dword [esi + 0x1b48], 0
mov dword [esi + 0x1b44], 0
je 0x10049794
cmp byte [esi + 0x1b8a], 0
jne 0x10049794
cmp dword [esi + 0x1c40], 0
jne 0x10049794
mov eax, dword [esi + 0x1b38]
test eax, eax
je 0x10049794
test dword [eax + 8], 0x40000
jne 0x10049794
mov eax, dword [0x101e3554]
movss xmm0, dword [eax + 0x304]
comiss xmm0, xmm1
seta dh
test dh, dh
je 0x100496fd
movss xmm0, dword [eax + 0x1460]
comiss xmm1, xmm0
ja 0x100496f1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100496f1
movss xmm0, dword [0x101313a8]
jmp 0x100496f4
mov edi, dword [esi + 0x1b38]
test edi, edi
je 0x1004966d
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1004966d
mov eax, dword [edi + 0x2f4]
test eax, eax
je 0x1004966d
push eax
call fcn.100427c0
mov eax, dword [0x101e3554]
add esp, 4
mov ecx, dword [edi + 0x4c]
mov dword [eax + 0x1b3c], ecx
mov dword [eax + 0x1b40], 0
mov eax, dword [eax + 0x1b38]
mov dword [eax + 0x308], ecx
cmp byte [esi + 0x1b8b], 0
mov byte [esi + 0x1b88], 0
je 0x1004954a
mov byte [esi + 0x1b89], 1
jmp 0x1004954a
mov edx, dword [esi + 0x1b20]
test edx, edx
jle 0x100496a1
mov eax, dword [esi + 0x1b28]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x1004954d
lea eax, [edx - 1]
push 1
push eax
call fcn.100407f0
jmp 0x10049547
cmp dword [esi + 0x1b80], 0
je 0x100496b9
push 0
call fcn.10048a70
add esp, 4
jmp 0x1004954a
test edi, edi
je 0x100496d8
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x100496ce
test eax, 0x1000000
jne 0x100496d8
mov dword [edi + 0x308], 0
mov dword [esi + 0x1b40], 0
mov dword [esi + 0x1b3c], 0
jmp 0x1004954d
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100496fd
mov dl, 1
jmp 0x100496ff
xor dl, dl
mov ecx, dword [esi + 0x1a3c]
test ecx, ecx
jne 0x1004971b
test dl, dl
je 0x10049723
mov eax, dword [esi + 0x1b3c]
mov dword [esi + 0x1b44], eax
jmp 0x10049723
cmp ecx, dword [esi + 0x1b3c]
jne 0x10049794
test dh, dh
je 0x10049733
mov eax, dword [esi + 0x1b3c]
mov dword [esi + 0x1b48], eax
test ecx, ecx
je 0x1004973f
cmp ecx, dword [esi + 0x1b3c]
jne 0x10049794
test dl, dl
je 0x1004974f
mov eax, dword [esi + 0x1b3c]
mov dword [esi + 0x1b4c], eax
test ecx, ecx
je 0x1004975b
cmp ecx, dword [esi + 0x1b3c]
jne 0x10049794
mov eax, dword [0x101e3554]
movss xmm0, dword [eax + 0x1468]
comiss xmm1, xmm0
ja 0x10049780
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10049780
movss xmm0, dword [0x101313a8]
jmp 0x10049783
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10049794
mov eax, dword [esi + 0x1b3c]
mov dword [esi + 0x1b50], eax
mov ecx, dword [esi + 0x1b38]
test ecx, ecx
je 0x100497ae
test dword [ecx + 8], 0x40000
je 0x100497ae
mov byte [esi + 0x1b8a], 1
mov eax, dword [esi + 0x1b64]
mov byte [esi + 0x1ba5], 0
test eax, eax
je 0x100497d7
mov dword [esi + 0x1b50], eax
mov dword [esi + 0x1b4c], eax
mov dword [esi + 0x1b48], eax
mov dword [esi + 0x1b44], eax
cmp dword [esi + 0x1bac], 0
mov dword [esi + 0x1b64], 0
jne 0x10049c39
mov dword [esi + 0x1bb4], 0xffffffff
mov dword [esi + 0x1ba8], 0
test ecx, ecx
je 0x10049c2b
cmp dword [esi + 0x1c40], 0
jne 0x10049c2b
test dword [ecx + 8], 0x40000
jne 0x10049c2b
mov edi, dword [0x101e3554]
movss xmm2, dword [0x10135d84]
movss xmm3, dword [0x10135d78]
test byte [edi + 0x1a50], 1
jne 0x10049943
movss xmm4, dword [edi + 0x1470]
lea eax, [edi + 0x90]
comiss xmm1, xmm4
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
jbe 0x10049868
xorps xmm0, xmm0
jmp 0x100498c7
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, xmm3
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm4
subss xmm4, dword [edx]
movss dword [esp], xmm4
call fcn.1003fd80
movss xmm2, dword [0x10135d84]
lea ecx, [edi + 0x8c]
movss xmm3, dword [0x10135d78]
lea edx, [edi + 0x18]
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
lea eax, [edi + 0x90]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x10049923
movss xmm4, dword [edi + 0x14a4]
comiss xmm1, xmm4
jbe 0x100498de
xorps xmm0, xmm0
jmp 0x1004991e
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, xmm3
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm4
subss xmm4, dword [edx]
movss dword [esp], xmm4
call fcn.1003fd80
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10049933
mov dword [esi + 0x1bb4], 0
mov edi, dword [0x101e3554]
movss xmm3, dword [0x10135d78]
movss xmm2, dword [0x10135d84]
mov eax, dword [edi + 0x1a50]
shr eax, 1
test al, 1
jne 0x10049a37
movss xmm4, dword [edi + 0x1474]
lea eax, [edi + 0x90]
comiss xmm1, xmm4
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
jbe 0x10049974
xorps xmm0, xmm0
jmp 0x100499c3
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, xmm3
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm4
subss xmm4, dword [edx]
movss dword [esp], xmm4
call fcn.1003fd80
add esp, 0x10
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
xorps xmm1, xmm1
movd xmm0, eax
lea eax, [edi + 0x90]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x10049a27
movss xmm2, dword [edi + 0x14a8]
comiss xmm1, xmm2
jbe 0x100499da
xorps xmm0, xmm0
jmp 0x10049a22
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x10135d84]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x10135d78]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.1003fd80
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10049a37
mov dword [esi + 0x1bb4], 1
mov edi, dword [0x101e3554]
mov eax, dword [edi + 0x1a50]
shr eax, 2
test al, 1
jne 0x10049b34
movss xmm2, dword [edi + 0x1478]
lea eax, [edi + 0x90]
comiss xmm1, xmm2
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
jbe 0x10049a69
xorps xmm0, xmm0
jmp 0x10049ac0
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x10135d84]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x10135d78]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.1003fd80
add esp, 0x10
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
xorps xmm1, xmm1
movd xmm0, eax
lea eax, [edi + 0x90]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x10049b24
movss xmm2, dword [edi + 0x14ac]
comiss xmm1, xmm2
jbe 0x10049ad7
xorps xmm0, xmm0
jmp 0x10049b1f
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x10135d84]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x10135d78]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.1003fd80
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10049b34
mov dword [esi + 0x1bb4], 2
mov edi, dword [0x101e3554]
mov eax, dword [edi + 0x1a50]
shr eax, 3
test al, 1
jne 0x10049c2b
movss xmm2, dword [edi + 0x147c]
lea eax, [edi + 0x90]
comiss xmm1, xmm2
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
jbe 0x10049b66
xorps xmm0, xmm0
jmp 0x10049bbd
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x10135d84]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x10135d78]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.1003fd80
add esp, 0x10
lea ecx, [edi + 0x8c]
lea edx, [edi + 0x18]
xorps xmm1, xmm1
movd xmm0, eax
lea eax, [edi + 0x90]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x10049c21
movss xmm2, dword [edi + 0x14b0]
comiss xmm1, xmm2
jbe 0x10049bd4
xorps xmm0, xmm0
jmp 0x10049c1c
movss xmm0, dword [eax]
sub esp, 0x10
mulss xmm0, dword [0x10135d84]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [0x10135d78]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
subss xmm2, dword [edx]
movss dword [esp], xmm2
call fcn.1003fd80
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10049c2b
mov dword [esi + 0x1bb4], 3
mov eax, dword [esi + 0x1bb4]
mov dword [esi + 0x1bbc], eax
jmp 0x10049c43
mov dword [esi + 0x1bac], 2
cmp byte [ebp - 2], 0
movss dword [ebp - 0xc], xmm1
je 0x10049c60
call fcn.1004a4d0
fstp dword [ebp - 0xc]
movss xmm1, dword [ebp - 0xc]
movss dword [ebp - 0xc], xmm1
mov ecx, dword [esi + 0x1bb4]
cmp ecx, 0xffffffff
je 0x10049c84
mov eax, dword [esi + 0x380]
mov byte [esi + 0x1ba5], 1
mov dword [esi + 0x1bb0], eax
mov dword [esi + 0x1bb8], ecx
cmp byte [esi + 0x1ba5], 0
je 0x10049cb0
cmp dword [esi + 0x1b3c], 0
jne 0x10049cb0
mov word [esi + 0x1b8d], 0x101
mov dword [esi + 0x1b90], 0
mov byte [esi + 0x1b8a], 0
mov eax, dword [0x101e3554]
cmp byte [eax + 0x1ba5], 0
jne 0x10049ccb
cmp byte [eax + 0x1b8d], 0
jne 0x10049ccb
xor cl, cl
jmp 0x10049ccd
mov cl, 1
movss xmm2, dword [0x10131188]
mov byte [eax + 0x1b8c], cl
mov edi, dword [esi + 0x1b38]
test edi, edi
je 0x10049e97
test dword [edi + 8], 0x40000
jne 0x10049e97
cmp dword [esi + 0x1c40], 0
jne 0x10049e97
mov eax, dword [0x101e3554]
movss xmm0, dword [eax + 0x18d8]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x10049d2a
mulss xmm0, dword [eax + 0x270]
cmp dword [edi + 0x13c], 0
mulss xmm0, dword [0x10135dc0]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 8], xmm1
jne 0x10049df5
cmp byte [edi + 0x149], 0
je 0x10049df5
cmp byte [esi + 0x1ba5], 0
je 0x10049df5
mov eax, dword [esi + 0x1bb4]
test eax, eax
je 0x10049d8b
cmp eax, 1
jne 0x10049db3
movss xmm0, dword [0x101313a8]
jmp 0x10049d93
movss xmm0, dword [0x10135ddc]
mulss xmm0, xmm1
mov dword [edi + 0x68], 0
addss xmm0, dword [edi + 0x50]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x60], xmm0
mov eax, dword [esi + 0x1bb4]
cmp eax, 2
je 0x10049dcd
cmp eax, 3
jne 0x10049df5
movss xmm0, dword [0x101313a8]
jmp 0x10049dd5
movss xmm0, dword [0x10135ddc]
mulss xmm0, xmm1
mov dword [edi + 0x6c], 0
addss xmm0, dword [edi + 0x54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x64], xmm0
sub esp, 8
lea eax, [ebp - 0x18]
mov dword [esp + 4], 0x41200000
mov dword [esp], 0x3dcccccd
push 0
push 4
push eax
call fcn.10043cf0
movss xmm0, dword [ebp - 0x18]
add esp, 0x14
movss xmm2, dword [ebp - 8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10049e5a
cmp byte [edi + 0x78], 0
je 0x10049e5a
mulss xmm0, xmm2
mov dword [edi + 0x68], 0
addss xmm0, dword [edi + 0x50]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x60], xmm0
mov byte [esi + 0x1ba4], 1
movss xmm0, dword [ebp - 0x14]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10049e8f
mulss xmm0, xmm2
mov dword [edi + 0x6c], 0
addss xmm0, dword [edi + 0x54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x64], xmm0
mov byte [esi + 0x1ba4], 1
movss xmm2, dword [0x10131188]
mov dword [esi + 0x1bc0], 0
mov dword [esi + 0x1bc8], 0
mov dword [esi + 0x1bc4], 0
mov dword [esi + 0x1bd4], 0x7f7fffff
mov dword [esi + 0x1bd0], 0x7f7fffff
mov dword [esi + 0x1bcc], 0x7f7fffff
mov dword [esi + 0x1bd8], 0
mov dword [esi + 0x1bdc], 0
mov dword [esi + 0x1be0], 0
mov dword [esi + 0x1be4], 0
mov dword [esi + 0x1be8], 0
mov dword [esi + 0x1bf0], 0
mov dword [esi + 0x1bec], 0
mov dword [esi + 0x1bfc], 0x7f7fffff
mov dword [esi + 0x1bf8], 0x7f7fffff
mov dword [esi + 0x1bf4], 0x7f7fffff
mov dword [esi + 0x1c00], 0
mov dword [esi + 0x1c04], 0
mov dword [esi + 0x1c08], 0
mov dword [esi + 0x1c0c], 0
mov dword [esi + 0x1c10], 0
mov dword [esi + 0x1c18], 0
mov dword [esi + 0x1c14], 0
mov dword [esi + 0x1c24], 0x7f7fffff
mov dword [esi + 0x1c20], 0x7f7fffff
mov dword [esi + 0x1c1c], 0x7f7fffff
mov dword [esi + 0x1c28], 0
mov dword [esi + 0x1c2c], 0
mov dword [esi + 0x1c30], 0
mov dword [esi + 0x1c34], 0
cmp byte [esi + 0x1ba5], 0
je 0x1004a12f
cmp byte [esi + 0x1ba4], 0
je 0x1004a12f
mov edx, dword [esi + 0x1b80]
test edx, edx
jne 0x1004a12f
mov ecx, dword [esi + 0x1b38]
movss xmm3, dword [0x101313a8]
movss xmm7, dword [ecx + 0x1fc]
subss xmm7, dword [ecx + 0xc]
movss xmm4, dword [ecx + 0x200]
movss xmm5, dword [ecx + 0x204]
movss xmm6, dword [ecx + 0x208]
subss xmm4, dword [ecx + 0x10]
subss xmm5, dword [ecx + 0xc]
subss xmm6, dword [ecx + 0x10]
movss xmm0, dword [ecx + 0x310]
subss xmm7, xmm3
movss dword [ebp - 8], xmm0
subss xmm4, xmm3
addss xmm5, xmm3
addss xmm6, xmm3
comiss xmm0, xmm7
jb 0x1004a072
movss xmm0, dword [ecx + 0x314]
comiss xmm0, xmm4
jb 0x1004a072
comiss xmm5, dword [ecx + 0x318]
jb 0x1004a072
comiss xmm6, dword [ecx + 0x31c]
jae 0x1004a128
mov eax, dword [0x101e3554]
movss xmm3, dword [eax + 0x18d8]
mov eax, dword [ecx + 0x2f4]
mulss xmm3, dword [ecx + 0x270]
test eax, eax
je 0x1004a099
mulss xmm3, dword [eax + 0x270]
mulss xmm3, xmm2
lea eax, [edx + 0x31]
add eax, eax
movaps xmm1, xmm5
movaps xmm2, xmm6
subss xmm1, xmm7
subss xmm2, xmm4
movss xmm0, dword [ecx + eax*8 + 4]
minss xmm1, xmm3
minss xmm2, xmm3
movss xmm3, dword [ebp - 8]
xorps xmm1, xmmword [0x10135e20]
xorps xmm2, xmmword [0x10135e20]
subss xmm7, xmm1
subss xmm4, xmm2
addss xmm5, xmm1
addss xmm6, xmm2
maxss xmm3, xmm7
maxss xmm0, xmm4
movss dword [ecx + eax*8], xmm3
movss dword [ecx + eax*8 + 4], xmm0
movss xmm1, dword [ecx + eax*8 + 8]
movss xmm0, dword [ecx + eax*8 + 0xc]
minss xmm1, xmm5
minss xmm0, xmm6
movss dword [ecx + eax*8 + 8], xmm1
movss dword [ecx + eax*8 + 0xc], xmm0
mov dword [esi + 0x1b40], 0
mov dword [esi + 0x1b3c], 0
mov byte [esi + 0x1ba4], 0
mov ecx, dword [esi + 0x1b38]
test ecx, ecx
je 0x1004a171
mov eax, dword [esi + 0x1b80]
add eax, 0x31
add eax, eax
movss xmm0, dword [ecx + eax*8]
comiss xmm0, dword [ecx + eax*8 + 8]
ja 0x1004a171
movss xmm0, dword [ecx + eax*8 + 4]
comiss xmm0, dword [ecx + eax*8 + 0xc]
ja 0x1004a171
movups xmm0, xmmword [ecx + eax*8]
lea eax, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x20], xmm0
jmp 0x1004a186
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x1004a1c0
movss xmm2, dword [ecx + 0xc]
movss xmm0, dword [ecx + 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 0x1004a1e7
mov eax, dword [0x101e3554]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x14], xmm0
movss xmm1, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1b6c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1b70]
addss xmm1, dword [esi + 0x1b78]
movss dword [esi + 0x1b70], xmm0
movss dword [esi + 0x1b78], xmm1
movss xmm0, dword [esi + 0x1b6c]
addss xmm0, dword [0x101313a8]
mov dword [esi + 0x1b7c], 0
minss xmm0, dword [esi + 0x1b74]
movss dword [esi + 0x1b6c], xmm0
movss dword [esi + 0x1b74], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret