Function at 0x10051950
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 [0x10168418]
push edi
mov byte [esi + 0x35b], 0
mov dword [esi + 0x1e08], 0
mov dword [esi + 0x1e0c], 0
mov dl, byte [esi + 8]
and dl, 1
test byte [esi + 8], 2
mov byte [ebp - 2], dl
je 0x10051a3d
test byte [esi + 0xc], 1
je 0x10051a3d
cmp dword [esi + 0x1d38], 3
lea ecx, [esi + 0x1d38]
mov byte [ebp - 1], 1
xorps xmm1, xmm1
je 0x10051a4a
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm1
ja 0x10051a31
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x10051a31
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x10051a31
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
ja 0x10051a31
movss xmm0, dword [esi + 0x314]
comiss xmm0, xmm1
ja 0x10051a31
movss xmm0, dword [esi + 0x318]
comiss xmm0, xmm1
ja 0x10051a31
movss xmm0, dword [esi + 0x31c]
comiss xmm0, xmm1
ja 0x10051a31
movss xmm0, dword [esi + 0x320]
lea ecx, [esi + 0x1d38]
comiss xmm0, xmm1
jbe 0x10051a4a
mov dword [esi + 0x1d38], 3
jmp 0x10051a44
mov byte [ebp - 1], 0
xorps xmm1, xmm1
lea ecx, [esi + 0x1d38]
test dl, dl
je 0x10051b95
mov eax, dword [esi + 0x64]
test eax, eax
js 0x10051a74
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10051a74
mov dword [esi + 0x304], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x68]
test eax, eax
js 0x10051a96
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10051a96
mov dword [esi + 0x30c], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x10051ab8
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10051ab8
mov dword [esi + 0x308], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x38]
test eax, eax
js 0x10051ada
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10051ada
mov dword [esi + 0x348], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x10051afc
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10051afc
mov dword [esi + 0x34c], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x40]
test eax, eax
js 0x10051b1e
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10051b1e
mov dword [esi + 0x350], 0x3f800000
mov dword [ecx], 2
mov eax, dword [esi + 0x44]
test eax, eax
js 0x10051b40
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10051b40
mov dword [esi + 0x354], 0x3f800000
mov dword [ecx], 2
mov al, byte [esi + 0x100]
test al, al
je 0x10051b54
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0x101], 0
je 0x10051b67
mov dword [esi + 0x340], 0x3f800000
cmp byte [esi + 0x102], 0
je 0x10051b95
test al, al
jne 0x10051b95
mov dword [esi + 0x344], 0x3f800000
cmp byte [esi + 0x1e28], al
je 0x10051b95
cmp dword [esi + 0x1510], 0
jle 0x10051b95
mov byte [esi + 0x1e28], al
movups xmm0, xmmword [esi + 0x1460]
mov eax, dword [esi + 0x14b0]
lea ecx, [esi + 0x1460]
movss xmm2, dword [0x10151f1c]
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
nop
movss xmm0, dword [ecx - 0x115c]
comiss xmm0, xmm1
jbe 0x10051c12
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x10051c0b
movaps xmm0, xmm1
jmp 0x10051c15
addss xmm0, dword [esi + 0x18]
jmp 0x10051c15
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x10051bf0
mov ecx, dword [esi + 0x1d60]
test ecx, ecx
je 0x10051c87
mov edx, dword [esi + 0x1d08]
test edx, edx
je 0x10051c87
mov eax, dword [esi + 0x1d50]
mov dword [esi + 0x1d50], eax
mov dword [esi + 0x1d0c], ecx
mov dword [esi + 0x1d10], 0
mov dword [edx + eax*4 + 0x338], ecx
add eax, 0x34
movups xmm0, xmmword [esi + 0x1d64]
shl eax, 4
add eax, dword [esi + 0x1d08]
movups xmmword [eax], xmm0
cmp byte [esi + 0x1d5e], 0
je 0x10051c87
mov word [esi + 0x1d59], 1
mov byte [esi + 0x1d5b], 1
cmp byte [esi + 0x1d74], 0
mov word [esi + 0x1d5d], 0
mov dword [esi + 0x1d60], 0
mov dword [esi + 0x1d28], 0
je 0x10051cb2
call fcn.100528c0
cmp dword [esi + 0x1d7c], 2
jne 0x10051cde
cmp dword [esi + 0x1d94], 0
jne 0x10051cd4
cmp dword [esi + 0x1de4], 0
jne 0x10051cd4
mov byte [esi + 0x1d5a], 0
mov dword [esi + 0x1d7c], 0
cmp byte [esi + 0x1d59], 0
je 0x10051d56
cmp byte [esi + 0x1d58], 0
je 0x10051d56
test byte [esi + 8], 4
je 0x10051d4f
test byte [esi + 0xc], 4
je 0x10051d4f
cmp byte [esi + 0x1d5a], 0
jne 0x10051d4f
cmp byte [esi + 0x1d5b], 0
je 0x10051d4f
cmp dword [esi + 0x1d08], 0
je 0x10051d4f
lea ecx, [ebp - 0x28]
call fcn.100516a0
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 + 0x1d59], 0
mov ecx, dword [esi + 0x1d08]
mov byte [esi + 0x1d58], 0
mov dword [esi + 0x1d24], 0
test ecx, ecx
je 0x10051d9a
mov eax, ecx
cmp dword [eax + 0x328], eax
je 0x10051d90
test dword [eax + 8], 0x14000000
jne 0x10051d90
mov eax, dword [eax + 0x324]
test eax, eax
jne 0x10051d73
jmp 0x10051d9a
cmp eax, ecx
je 0x10051d9a
mov dword [eax + 0x334], ecx
mov eax, dword [esi + 0x1d08]
test eax, eax
je 0x10051dc0
cmp dword [eax + 0x334], 0
je 0x10051dc0
cmp dword [esi + 0x1d50], 0
jne 0x10051dc0
mov dword [eax + 0x334], 0
call fcn.100531a0
cmp byte [ebp - 2], 0
jne 0x10051dd1
cmp byte [ebp - 1], 0
je 0x10051e4c
mov eax, dword [esi + 0x1d08]
test eax, eax
je 0x10051e4c
test dword [eax + 8], 0x40000
jne 0x10051e4c
mov byte [esi + 0x35d], 1
cmp dword [esi + 0x1d0c], 0
je 0x10051e53
cmp byte [esi + 0x1d5a], 0
jne 0x10051e53
mov al, 1
mov edx, 1
mov byte [esi + 0x35e], al
mov ecx, edx
call fcn.100517d0
xorps xmm5, xmm5
comiss xmm0, xmm5
jbe 0x10051fc8
cmp dword [esi + 0x1bdc], 0
je 0x10051e60
mov edx, dword [0x10168418]
mov dword [ebp - 8], edx
mov eax, dword [edx + 0x1bf4]
shr eax, 1
test al, 1
jne 0x10051fd1
call fcn.10045310
mov edx, dword [ebp - 8]
jmp 0x10051fd1
mov byte [esi + 0x35d], 0
cmp dword [esi + 0x1e14], 0
jne 0x10051dfd
xor al, al
jmp 0x10051dff
cmp dword [esi + 0x1d50], 0
je 0x10051e75
xor ecx, ecx
call fcn.10051500
jmp 0x10051fc8
mov edi, dword [esi + 0x1d08]
test edi, edi
je 0x10051f66
cmp edi, dword [edi + 0x328]
je 0x10051f66
test dword [edi + 8], 0x4000000
jne 0x10051f66
mov eax, dword [edi + 0x324]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10051f66
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.1004e490
movss xmm5, dword [ebp - 0x14]
movss xmm4, dword [ebp - 0xc]
movaps xmm2, xmm5
mov eax, dword [ebp - 0x10]
movaps xmm3, xmm4
mov edx, dword [0x10168418]
addss xmm2, dword [ebp - 0x24]
addss xmm3, dword [ebp - 8]
subss xmm5, dword [eax + 0x10]
subss xmm4, dword [eax + 0xc]
mov ecx, dword [edi + 0x54]
subss xmm2, dword [eax + 0x10]
subss xmm3, dword [eax + 0xc]
mov eax, dword [edx + 0x1d08]
mov dword [edx + 0x1d0c], ecx
mov dword [edx + 0x1d50], 0
mov dword [edx + 0x1d10], 0
mov dword [eax + 0x338], ecx
mov eax, dword [edx + 0x1d08]
movss dword [ebp - 0x2c], xmm5
xorps xmm5, xmm5
movss dword [ebp - 0x30], xmm4
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x24], xmm2
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax + 0x340], xmm0
jmp 0x10051fce
mov edx, dword [esi + 0x1ce4]
test edx, edx
jle 0x10051f95
mov eax, dword [esi + 0x1cec]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x10051fc8
lea ecx, [edx - 1]
mov dl, 1
call fcn.100502c0
xorps xmm5, xmm5
jmp 0x10051fc8
test edi, edi
je 0x10051fb4
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x10051faa
test eax, 0x1000000
jne 0x10051fb4
mov dword [edi + 0x338], 0
mov dword [esi + 0x1d10], 0
mov dword [esi + 0x1d0c], 0
mov edx, dword [0x10168418]
mov dword [ebp - 8], edx
mov edi, dword [esi + 0x1d0c]
mov dword [esi + 0x1d20], 0
mov dword [esi + 0x1d1c], 0
mov dword [esi + 0x1d18], 0
mov dword [esi + 0x1d14], 0
test edi, edi
je 0x100520c0
cmp byte [esi + 0x1d5a], 0
jne 0x100520c0
cmp dword [esi + 0x1e14], 0
jne 0x100520c0
mov eax, dword [esi + 0x1d08]
test eax, eax
je 0x100520c0
test dword [eax + 8], 0x40000
jne 0x100520c0
movss xmm0, dword [edx + 0x304]
comiss xmm0, xmm5
seta al
mov byte [ebp - 1], al
test al, al
je 0x10052066
mov edx, 1
xor ecx, ecx
call fcn.100517d0
comiss xmm0, xmm5
jbe 0x10052066
mov cl, dl
jmp 0x10052068
xor cl, cl
mov eax, dword [esi + 0x1bdc]
test eax, eax
jne 0x1005207e
test cl, cl
je 0x10052082
mov dword [esi + 0x1d14], edi
jmp 0x10052082
cmp eax, edi
jne 0x100520c0
cmp byte [ebp - 1], 0
je 0x1005208e
mov dword [esi + 0x1d18], edi
test eax, eax
je 0x10052096
cmp eax, edi
jne 0x100520c0
test cl, cl
je 0x100520a0
mov dword [esi + 0x1d1c], edi
test eax, eax
je 0x100520a8
cmp eax, edi
jne 0x100520c0
mov edx, 1
lea ecx, [edx + 1]
call fcn.100517d0
comiss xmm0, xmm5
jbe 0x100520c0
mov dword [esi + 0x1d20], edi
mov ecx, dword [esi + 0x1d08]
test ecx, ecx
je 0x100520da
test dword [ecx + 8], 0x40000
je 0x100520da
mov byte [esi + 0x1d5a], 1
mov eax, dword [esi + 0x1d34]
mov byte [esi + 0x1d74], 0
test eax, eax
je 0x10052103
mov dword [esi + 0x1d20], eax
mov dword [esi + 0x1d1c], eax
mov dword [esi + 0x1d18], eax
mov dword [esi + 0x1d14], eax
cmp dword [esi + 0x1d7c], 0
mov dword [esi + 0x1d34], 0
jne 0x10052255
or edi, 0xffffffff
mov dword [esi + 0x1d84], 0xffffffff
mov dword [esi + 0x1d78], 0
test ecx, ecx
je 0x1005224d
or edi, edi
cmp dword [esi + 0x1e14], 0
jne 0x1005224d
or edi, 0xffffffff
test dword [ecx + 8], 0x40000
jne 0x1005224d
mov eax, dword [ebp - 8]
or edi, edi
test byte [eax + 0x1bf0], 1
jne 0x10052197
mov edx, 3
lea ecx, [edx + 1]
call fcn.100517d0
comiss xmm0, xmm5
ja 0x10052188
lea ecx, [edx + 0xe]
or edi, 0xffffffff
call fcn.100517d0
comiss xmm0, xmm5
jbe 0x10052194
mov dword [esi + 0x1d84], 0
xor edi, edi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1bf0]
shr eax, 1
test al, 1
jne 0x100521d1
mov edx, 3
lea ecx, [edx + 2]
call fcn.100517d0
comiss xmm0, xmm5
ja 0x100521c2
lea ecx, [edx + 0xf]
call fcn.100517d0
comiss xmm0, xmm5
jbe 0x100521d1
mov dword [esi + 0x1d84], 1
mov edi, 1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1bf0]
shr eax, 2
test al, 1
jne 0x1005220f
mov edx, 3
lea ecx, [edx + 3]
call fcn.100517d0
comiss xmm0, xmm5
ja 0x10052200
lea ecx, [edx + 0x10]
call fcn.100517d0
comiss xmm0, xmm5
jbe 0x1005220f
mov dword [esi + 0x1d84], 2
mov edi, 2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1bf0]
shr eax, 3
test al, 1
jne 0x1005224d
mov edx, 3
lea ecx, [edx + 4]
call fcn.100517d0
comiss xmm0, xmm5
ja 0x1005223e
lea ecx, [edx + 0x11]
call fcn.100517d0
comiss xmm0, xmm5
jbe 0x1005224d
mov dword [esi + 0x1d84], 3
mov edi, 3
mov dword [esi + 0x1d8c], edi
jmp 0x1005225f
mov dword [esi + 0x1d7c], 2
xor al, al
xorps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
cmp byte [ebp - 2], al
je 0x10052281
call fcn.10052b10
mov al, byte [esi + 0x1d74]
xorps xmm5, xmm5
movss dword [ebp - 0x10], xmm0
mov ecx, dword [esi + 0x1d84]
cmp ecx, 0xffffffff
je 0x100522a7
mov byte [esi + 0x1d74], 1
mov eax, dword [esi + 0x380]
mov dword [esi + 0x1d80], eax
mov dword [esi + 0x1d88], ecx
jmp 0x100522ab
test al, al
je 0x100522ce
cmp dword [esi + 0x1d0c], 0
jne 0x100522ce
mov word [esi + 0x1d5d], 0x101
mov dword [esi + 0x1d60], 0
mov byte [esi + 0x1d5a], 0
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0x1d74], 0
jne 0x100522e7
cmp byte [ecx + 0x1d5d], 0
jne 0x100522e7
xor al, al
jmp 0x100522e9
mov al, 1
movss xmm1, dword [0x10151c6c]
mov byte [ecx + 0x1d5c], al
mov edi, dword [esi + 0x1d08]
test edi, edi
je 0x100524eb
test dword [edi + 8], 0x40000
jne 0x100524eb
cmp dword [esi + 0x1e14], 0
jne 0x100524eb
movss xmm0, dword [ecx + 0x193c]
mov eax, dword [edi + 0x324]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x10052341
mulss xmm0, dword [eax + 0x280]
cmp word [edi + 0x148], 0
mulss xmm0, dword [0x10151e3c]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0xc], xmm1
jne 0x10052419
cmp byte [edi + 0x151], 0
je 0x10052419
cmp byte [esi + 0x1d74], 0
je 0x10052419
mov eax, dword [esi + 0x1d84]
movss xmm2, dword [0x10151cb0]
test eax, eax
je 0x100523a6
cmp eax, 1
jne 0x100523d5
movaps xmm0, xmm2
jmp 0x100523ae
movss xmm0, dword [0x10151f1c]
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 + 0x1d84]
cmp eax, 2
je 0x100523ea
cmp eax, 3
jne 0x10052419
movaps xmm0, xmm2
jmp 0x100523f2
movss xmm0, dword [0x10151f1c]
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.100517d0
lea ecx, [edx + 8]
movaps xmm7, xmm0
call fcn.100517d0
subss xmm7, xmm0
lea ecx, [edx + 0xb]
addss xmm7, xmm5
call fcn.100517d0
lea ecx, [edx + 0xa]
movaps xmm6, xmm0
call fcn.100517d0
mov ecx, dword [ebp - 8]
subss xmm6, xmm0
movss xmm1, dword [ecx + 0x33c]
comiss xmm1, xmm5
addss xmm6, xmm5
jbe 0x10052471
mulss xmm7, dword [0x10151c24]
mulss xmm6, dword [0x10151c24]
movss xmm0, dword [ecx + 0x340]
comiss xmm0, xmm5
jbe 0x1005248e
mulss xmm7, dword [0x10151db0]
mulss xmm6, dword [0x10151db0]
movss xmm1, dword [ebp - 0xc]
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x100524c3
cmp byte [edi + 0x88], dl
je 0x100524c3
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
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jnp 0x100524eb
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
mov dword [esi + 0x1d90], 0
mov dword [esi + 0x1d98], 0
mov dword [esi + 0x1d94], 0
mov dword [esi + 0x1d9c], 0
mov dword [esi + 0x1da0], 0
mov dword [esi + 0x1da4], 0
mov dword [esi + 0x1da8], 0
mov dword [esi + 0x1db4], 0x7f7fffff
mov dword [esi + 0x1db0], 0x7f7fffff
mov dword [esi + 0x1dac], 0x7f7fffff
mov dword [esi + 0x1db8], 0
mov dword [esi + 0x1dc0], 0
mov dword [esi + 0x1dbc], 0
mov dword [esi + 0x1dc4], 0
mov dword [esi + 0x1dc8], 0
mov dword [esi + 0x1dcc], 0
mov dword [esi + 0x1dd0], 0
mov dword [esi + 0x1ddc], 0x7f7fffff
mov dword [esi + 0x1dd8], 0x7f7fffff
mov dword [esi + 0x1dd4], 0x7f7fffff
mov dword [esi + 0x1de0], 0
mov dword [esi + 0x1de8], 0
mov dword [esi + 0x1de4], 0
mov dword [esi + 0x1dec], 0
mov dword [esi + 0x1df0], 0
mov dword [esi + 0x1df4], 0
mov dword [esi + 0x1df8], 0
mov dword [esi + 0x1e04], 0x7f7fffff
mov dword [esi + 0x1e00], 0x7f7fffff
mov dword [esi + 0x1dfc], 0x7f7fffff
cmp byte [esi + 0x1d74], 0
je 0x100527a6
cmp dword [esi + 0x1d38], 3
jne 0x100527a6
mov edx, dword [esi + 0x1d50]
movss xmm5, dword [0x10151cb0]
test edx, edx
jne 0x100527ae
mov eax, dword [esi + 0x1d08]
movss xmm2, dword [eax + 0x1f4]
subss xmm2, dword [eax + 0xc]
movss xmm6, dword [eax + 0x1fc]
movss xmm7, dword [eax + 0x200]
movss xmm3, dword [eax + 0x1f8]
subss xmm6, dword [eax + 0xc]
subss xmm7, dword [eax + 0x10]
subss xmm3, dword [eax + 0x10]
movss xmm0, dword [eax + 0x340]
subss xmm2, xmm5
addss xmm6, xmm5
addss xmm7, xmm5
subss xmm3, xmm5
comiss xmm0, xmm2
jb 0x100526c1
movss xmm0, dword [eax + 0x344]
comiss xmm0, xmm3
jb 0x100526c1
comiss xmm6, dword [eax + 0x348]
jb 0x100526c1
comiss xmm7, dword [eax + 0x34c]
jae 0x100527ae
movss xmm4, dword [ecx + 0x193c]
mov ecx, dword [eax + 0x324]
mulss xmm4, dword [eax + 0x280]
test ecx, ecx
je 0x100526e3
mulss xmm4, dword [ecx + 0x280]
mulss xmm4, dword [0x10151c6c]
lea ecx, [edx + 0x34]
add ecx, ecx
movaps xmm1, xmm7
movaps xmm5, xmm6
subss xmm1, xmm3
subss xmm5, xmm2
movss xmm0, dword [eax + ecx*8 + 4]
minss xmm1, xmm4
minss xmm5, xmm4
xorps xmm1, xmmword [0x101521b0]
xorps xmm5, xmmword [0x101521b0]
subss xmm3, xmm1
movaps xmm4, xmm1
subss xmm2, xmm5
addss xmm5, xmm6
addss xmm4, xmm7
comiss xmm3, xmm0
jbe 0x10052737
movaps xmm1, xmm3
jmp 0x1005273e
movaps xmm1, xmm4
minss xmm1, xmm0
movss xmm6, dword [eax + 0x340]
comiss xmm2, xmm6
jbe 0x10052750
movaps xmm0, xmm2
jmp 0x10052757
movaps xmm0, xmm5
minss xmm0, xmm6
movss dword [eax + ecx*8], xmm0
movss dword [eax + ecx*8 + 4], xmm1
movss xmm0, dword [eax + ecx*8 + 0xc]
comiss xmm3, xmm0
ja 0x10052774
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [eax + ecx*8 + 8]
comiss xmm2, xmm0
ja 0x10052786
movaps xmm2, xmm5
minss xmm2, xmm0
movss dword [eax + ecx*8 + 8], xmm2
movss dword [eax + ecx*8 + 0xc], xmm3
mov dword [esi + 0x1d10], 0
mov dword [esi + 0x1d0c], 0
movss xmm5, dword [0x10151cb0]
mov ecx, dword [esi + 0x1d08]
test ecx, ecx
je 0x100527f0
mov eax, dword [esi + 0x1d50]
add eax, 0x34
add eax, eax
movss xmm0, dword [ecx + eax*8]
comiss xmm0, dword [ecx + eax*8 + 8]
ja 0x100527f0
movss xmm0, dword [ecx + eax*8 + 4]
comiss xmm0, dword [ecx + eax*8 + 0xc]
ja 0x100527f0
movups xmm0, xmmword [ecx + eax*8]
lea eax, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
jmp 0x10052805
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
test ecx, ecx
je 0x10052843
movss xmm4, dword [ebp - 0x28]
movss xmm3, dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x2c]
addss xmm4, dword [ecx + 0xc]
addss xmm3, dword [ecx + 0x10]
addss xmm1, dword [ecx + 0xc]
addss xmm0, dword [ecx + 0x10]
movss dword [ebp - 0x28], xmm4
movss dword [ebp - 0x24], xmm3
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm0
jmp 0x1005284a
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 + 0x1d3c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1d40]
addss xmm1, dword [esi + 0x1d48]
movss dword [esi + 0x1d40], xmm0
movss dword [esi + 0x1d48], xmm1
movss xmm0, dword [esi + 0x1d3c]
addss xmm0, xmm5
mov dword [esi + 0x1d4c], 0
minss xmm0, dword [esi + 0x1d44]
movss dword [esi + 0x1d3c], xmm0
movss dword [esi + 0x1d44], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret