Function at 0x100520f0
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 [0x101a224c]
push edi
mov al, byte [esi + 8]
and al, 1
mov byte [esi + 0x353], 0
test byte [esi + 8], 2
mov byte [ebp - 2], al
je 0x10052173
test byte [esi + 0xc], 1
je 0x10052173
movss xmm0, dword [esi + 0x2fc]
xorps xmm2, xmm2
comiss xmm0, xmm2
mov byte [ebp - 1], 1
ja 0x10052167
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm2
ja 0x10052167
movss xmm0, dword [esi + 0x300]
comiss xmm0, xmm2
ja 0x10052167
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm2
jbe 0x1005217a
mov dword [esi + 0x1ac4], 4
jmp 0x1005217a
mov byte [ebp - 1], 0
xorps xmm2, xmm2
test al, al
je 0x100522e8
mov ecx, dword [esi + 0x64]
test ecx, ecx
js 0x100521ad
mov eax, dword [0x101a224c]
mov al, byte [ecx + eax + 0xfc]
test al, al
je 0x100521ad
mov dword [esi + 0x2fc], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov ecx, dword [esi + 0x68]
test ecx, ecx
js 0x100521d8
mov eax, dword [0x101a224c]
mov al, byte [ecx + eax + 0xfc]
test al, al
je 0x100521d8
mov dword [esi + 0x304], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov ecx, dword [esi + 0x6c]
test ecx, ecx
js 0x10052203
mov eax, dword [0x101a224c]
mov al, byte [ecx + eax + 0xfc]
test al, al
je 0x10052203
mov dword [esi + 0x300], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov ecx, dword [esi + 0x38]
test ecx, ecx
js 0x1005222e
mov eax, dword [0x101a224c]
mov al, byte [ecx + eax + 0xfc]
test al, al
je 0x1005222e
mov dword [esi + 0x340], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov ecx, dword [esi + 0x3c]
test ecx, ecx
js 0x10052259
mov eax, dword [0x101a224c]
mov al, byte [ecx + eax + 0xfc]
test al, al
je 0x10052259
mov dword [esi + 0x344], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov ecx, dword [esi + 0x40]
test ecx, ecx
js 0x10052284
mov eax, dword [0x101a224c]
mov al, byte [ecx + eax + 0xfc]
test al, al
je 0x10052284
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov ecx, dword [esi + 0x44]
test ecx, ecx
js 0x100522af
mov eax, dword [0x101a224c]
mov al, byte [ecx + eax + 0xfc]
test al, al
je 0x100522af
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1ac4], 3
cmp byte [esi + 0xf8], 0
je 0x100522c2
mov dword [esi + 0x334], 0x3f800000
cmp byte [esi + 0xf9], 0
je 0x100522d5
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfa], 0
je 0x100522e8
mov dword [esi + 0x33c], 0x3f800000
movups xmm0, xmmword [esi + 0x1448]
mov eax, dword [esi + 0x1498]
lea ecx, [esi + 0x1448]
movss xmm1, dword [0x100e4348]
movups xmmword [esi + 0x149c], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x14ac], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x14bc], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x14cc], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x14dc], xmm0
mov dword [esi + 0x14ec], eax
mov eax, 0x15
movss xmm0, dword [ecx - 0x114c]
comiss xmm0, xmm2
jbe 0x10052363
movss xmm0, dword [ecx]
comiss xmm2, xmm0
jbe 0x1005235c
movaps xmm0, xmm2
jmp 0x10052366
addss xmm0, dword [esi + 0x18]
jmp 0x10052366
movaps xmm0, xmm1
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x10052341
mov edi, dword [esi + 0x1b04]
test edi, edi
je 0x10052422
cmp byte [esi + 0x1afe], al
je 0x1005239c
cmp byte [esi + 0x1b02], al
je 0x10052422
mov edx, dword [esi + 0x1af4]
jmp 0x100523ab
cmp byte [esi + 0x1b02], 0
mov edx, dword [esi + 0x1af4]
je 0x100523ed
mov ecx, dword [0x101a224c]
mov eax, dword [ecx + 0x1a9c]
mov dword [ecx + 0x1aa0], edi
mov dword [eax + edx*4 + 0x300], edi
add edx, edx
movups xmm0, xmmword [esi + 0x1b08]
mov eax, dword [ecx + 0x1a9c]
movups xmmword [eax + edx*8 + 0x308], xmm0
mov word [ecx + 0x1afd], 1
mov byte [ecx + 0x1aff], 1
jmp 0x10052405
mov eax, dword [0x101a224c]
mov dword [eax + 0x1aa0], edi
mov eax, dword [eax + 0x1a9c]
mov dword [eax + edx*4 + 0x300], edi
mov ecx, dword [esi + 0x1af4]
mov eax, dword [esi + 0x1a9c]
add ecx, ecx
movups xmm0, xmmword [esi + 0x1b08]
movups xmmword [eax + ecx*8 + 0x308], xmm0
cmp byte [esi + 0x1b19], 0
mov word [esi + 0x1b01], 0
mov dword [esi + 0x1b04], 0
mov dword [esi + 0x1ab8], 0
je 0x1005244d
call fcn.10053310
cmp dword [esi + 0x1b20], 2
jne 0x10052479
cmp dword [esi + 0x1b30], 0
jne 0x1005246f
cmp dword [esi + 0x1b80], 0
jne 0x1005246f
mov byte [esi + 0x1afe], 0
mov dword [esi + 0x1b20], 0
cmp byte [esi + 0x1afd], 0
je 0x100524f1
cmp byte [esi + 0x1afc], 0
je 0x100524f1
test byte [esi + 8], 4
je 0x100524ea
test byte [esi + 0xc], 4
je 0x100524ea
cmp byte [esi + 0x1afe], 0
jne 0x100524ea
cmp byte [esi + 0x1aff], 0
je 0x100524ea
cmp dword [esi + 0x1a9c], 0
je 0x100524ea
lea eax, [ebp - 0x18]
push eax
call fcn.100512f0
add esp, 4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x37c], eax
mov eax, ecx
mov dword [esi + 0x378], ecx
mov ecx, dword [esi + 0x37c]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], ecx
mov byte [esi + 0x353], 1
mov byte [esi + 0x1afd], 0
mov edx, dword [esi + 0x1a9c]
mov byte [esi + 0x1afc], 0
mov dword [esi + 0x1ab4], 0
test edx, edx
je 0x10052535
mov ecx, edx
nop
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1005252b
mov ecx, dword [ecx + 0x2ec]
test ecx, ecx
jne 0x10052510
jmp 0x10052535
cmp ecx, edx
je 0x10052535
mov dword [ecx + 0x2fc], edx
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1005255b
cmp dword [eax + 0x2fc], 0
je 0x1005255b
cmp dword [esi + 0x1af4], 0
jne 0x1005255b
mov dword [eax + 0x2fc], 0
call fcn.10053760
cmp byte [ebp - 2], 0
jne 0x1005256c
cmp byte [ebp - 1], 0
je 0x100525c8
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x100525c8
test dword [eax + 8], 0x40000
jne 0x100525c8
cmp dword [esi + 0x1aa0], 0
mov byte [esi + 0x355], 1
je 0x100525cf
cmp byte [esi + 0x1afe], 0
jne 0x100525cf
mov al, 1
mov byte [esi + 0x356], al
xorps xmm1, xmm1
mov eax, dword [0x101a224c]
movss xmm0, dword [eax + 0x144c]
comiss xmm1, xmm0
ja 0x100525dc
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100525dc
movss xmm0, dword [0x100e4318]
jmp 0x100525df
mov byte [esi + 0x355], 0
cmp dword [esi + 0x1adc], 0
jne 0x10052598
xor al, al
jmp 0x1005259a
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10052602
cmp dword [esi + 0x19ac], 0
je 0x100526b6
test byte [esi + 0x19c8], 2
jne 0x10052602
call fcn.1004bcf0
xorps xmm1, xmm1
mov ecx, dword [esi + 0x1aa0]
mov dword [esi + 0x1ab0], 0
mov dword [esi + 0x1aac], 0
mov dword [esi + 0x1aa8], 0
mov dword [esi + 0x1aa4], 0
test ecx, ecx
je 0x10052834
cmp byte [esi + 0x1afe], 0
jne 0x10052834
cmp dword [esi + 0x1adc], 0
jne 0x10052834
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x10052834
test dword [eax + 8], 0x40000
jne 0x10052834
mov eax, dword [0x101a224c]
movss xmm0, dword [eax + 0x2fc]
comiss xmm0, xmm1
seta dl
mov byte [ebp - 3], dl
test dl, dl
je 0x100527a5
movss xmm0, dword [eax + 0x1448]
comiss xmm1, xmm0
ja 0x10052799
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10052799
movss xmm0, dword [0x100e4318]
jmp 0x1005279c
mov edi, dword [esi + 0x1a9c]
test edi, edi
je 0x1005271c
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1005271c
mov eax, dword [edi + 0x2ec]
test eax, eax
je 0x1005271c
push eax
call fcn.1004e1b0
mov eax, dword [0x101a224c]
add esp, 4
mov ecx, dword [edi + 0x54]
mov dword [eax + 0x1aa0], ecx
mov eax, dword [eax + 0x1a9c]
mov dword [eax + 0x300], ecx
cmp byte [esi + 0x1aff], 0
mov byte [esi + 0x1afc], 0
je 0x100525ff
mov byte [esi + 0x1afd], 1
jmp 0x100525ff
mov edx, dword [esi + 0x1a18]
test edx, edx
jle 0x10052753
mov eax, dword [esi + 0x1a20]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x10052602
lea eax, [edx - 1]
push 1
push eax
call fcn.1004bed0
add esp, 8
jmp 0x100525ff
cmp dword [esi + 0x1af4], 0
je 0x1005276b
push 0
call fcn.10051a40
add esp, 4
jmp 0x100525ff
test edi, edi
je 0x1005278a
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x10052780
test eax, 0x1000000
jne 0x1005278a
mov dword [edi + 0x300], 0
mov dword [esi + 0x1aa0], 0
jmp 0x10052602
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100527a5
mov al, 1
jmp 0x100527a7
xor al, al
mov edx, dword [esi + 0x19ac]
mov byte [ebp - 1], al
test edx, edx
jne 0x100527c0
test al, al
je 0x100527c4
mov dword [esi + 0x1aa4], ecx
jmp 0x100527c4
cmp edx, ecx
jne 0x10052834
cmp byte [ebp - 3], 0
mov eax, dword [esi + 0x1aa8]
cmovne eax, ecx
mov dword [esi + 0x1aa8], eax
test edx, edx
je 0x100527df
cmp edx, ecx
jne 0x10052834
cmp byte [ebp - 1], 0
mov eax, dword [esi + 0x1aac]
cmovne eax, ecx
mov dword [esi + 0x1aac], eax
test edx, edx
je 0x100527fa
cmp edx, ecx
jne 0x10052834
mov eax, dword [0x101a224c]
movss xmm0, dword [eax + 0x1450]
comiss xmm1, xmm0
ja 0x1005281f
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005281f
movss xmm0, dword [0x100e4318]
jmp 0x10052822
xorps xmm0, xmm0
mov eax, dword [esi + 0x1ab0]
comiss xmm0, xmm1
cmova eax, ecx
mov dword [esi + 0x1ab0], eax
mov ecx, dword [esi + 0x1a9c]
test ecx, ecx
je 0x1005284e
test dword [ecx + 8], 0x40000
je 0x1005284e
mov byte [esi + 0x1afe], 1
mov eax, dword [esi + 0x1ac0]
mov byte [esi + 0x1b19], 0
test eax, eax
je 0x10052877
mov dword [esi + 0x1ab0], eax
mov dword [esi + 0x1aac], eax
mov dword [esi + 0x1aa8], eax
mov dword [esi + 0x1aa4], eax
cmp dword [esi + 0x19ac], 0
mov dword [esi + 0x1ac0], 0
jne 0x1005288f
or eax, 0xffffffff
jmp 0x10052895
mov eax, dword [esi + 0x19c4]
cmp dword [esi + 0x1b20], 0
mov dword [ebp - 8], eax
jne 0x10052ceb
mov dword [esi + 0x1b24], 0xffffffff
mov dword [esi + 0x1b1c], 0
test ecx, ecx
je 0x10052cdd
cmp dword [esi + 0x1adc], 0
jne 0x10052cdd
test eax, eax
je 0x10052cdd
test dword [ecx + 8], 0x40000
jne 0x10052cdd
movss xmm2, dword [0x100e8e68]
test al, 1
je 0x100529e8
mov edi, dword [0x101a224c]
movss xmm3, dword [edi + 0x1458]
comiss xmm1, xmm3
jbe 0x1005290d
movss dword [ebp - 0xc], xmm1
jmp 0x10052966
movss xmm0, dword [edi + 0x8c]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x88]
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm3
call fcn.1004bb70
movss xmm2, dword [0x100e8e68]
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm3, dword [edi + 0x148c]
comiss xmm1, xmm3
jbe 0x10052978
xorps xmm0, xmm0
jmp 0x100529c4
movss xmm0, dword [edi + 0x8c]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x88]
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm3
call fcn.1004bb70
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xc]
mov eax, dword [esi + 0x1b24]
xor ecx, ecx
movss xmm2, dword [0x100e8e68]
comiss xmm0, xmm1
cmova eax, ecx
mov dword [esi + 0x1b24], eax
mov eax, dword [ebp - 8]
test al, 2
je 0x10052ae0
mov edi, dword [0x101a224c]
movss xmm3, dword [edi + 0x145c]
comiss xmm1, xmm3
jbe 0x10052a0a
movss dword [ebp - 0xc], xmm1
jmp 0x10052a5b
movss xmm0, dword [edi + 0x8c]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x88]
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm3
call fcn.1004bb70
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm2, dword [edi + 0x1490]
comiss xmm1, xmm2
jbe 0x10052a6d
xorps xmm0, xmm0
jmp 0x10052ac1
movss xmm0, dword [edi + 0x8c]
sub esp, 0x10
mulss xmm0, dword [0x100e8e68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x88]
mulss xmm0, dword [0x100e8e68]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1004bb70
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xc]
mov eax, dword [esi + 0x1b24]
mov ecx, 1
comiss xmm0, xmm1
cmova eax, ecx
mov dword [esi + 0x1b24], eax
mov eax, dword [ebp - 8]
test al, 4
je 0x10052be0
mov edi, dword [0x101a224c]
movss xmm2, dword [edi + 0x1460]
comiss xmm1, xmm2
jbe 0x10052b02
movss dword [ebp - 0xc], xmm1
jmp 0x10052b5b
movss xmm0, dword [edi + 0x8c]
sub esp, 0x10
mulss xmm0, dword [0x100e8e68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x88]
mulss xmm0, dword [0x100e8e68]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1004bb70
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm2, dword [edi + 0x1494]
comiss xmm1, xmm2
jbe 0x10052b6d
xorps xmm0, xmm0
jmp 0x10052bc1
movss xmm0, dword [edi + 0x8c]
sub esp, 0x10
mulss xmm0, dword [0x100e8e68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x88]
mulss xmm0, dword [0x100e8e68]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1004bb70
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xc]
mov eax, dword [esi + 0x1b24]
mov ecx, 2
comiss xmm0, xmm1
cmova eax, ecx
mov dword [esi + 0x1b24], eax
mov eax, dword [ebp - 8]
test al, 8
je 0x10052cdd
mov edi, dword [0x101a224c]
movss xmm2, dword [edi + 0x1464]
comiss xmm1, xmm2
jbe 0x10052c02
movss dword [ebp - 0xc], xmm1
jmp 0x10052c5b
movss xmm0, dword [edi + 0x8c]
sub esp, 0x10
mulss xmm0, dword [0x100e8e68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x88]
mulss xmm0, dword [0x100e8e68]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1004bb70
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm2, dword [edi + 0x1498]
comiss xmm1, xmm2
jbe 0x10052c6d
xorps xmm0, xmm0
jmp 0x10052cc1
movss xmm0, dword [edi + 0x8c]
sub esp, 0x10
mulss xmm0, dword [0x100e8e68]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x88]
mulss xmm0, dword [0x100e8e68]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1004bb70
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xc]
mov eax, dword [esi + 0x1b24]
mov ecx, 3
comiss xmm0, xmm1
cmova eax, ecx
mov dword [esi + 0x1b24], eax
mov eax, dword [esi + 0x1b24]
mov dword [esi + 0x1b2c], eax
jmp 0x10052cf5
mov dword [esi + 0x1b20], 2
cmp byte [ebp - 2], 0
movss dword [ebp - 0xc], xmm1
je 0x10052d18
push dword [ebp - 8]
call fcn.10053550
fstp dword [ebp - 0xc]
movss xmm1, dword [ebp - 0xc]
add esp, 4
movss dword [ebp - 0xc], xmm1
mov eax, dword [esi + 0x1b24]
cmp eax, 0xffffffff
je 0x10052d32
mov byte [esi + 0x1b19], 1
mov dword [esi + 0x1b28], eax
jmp 0x10052d3b
cmp byte [esi + 0x1b19], 0
je 0x10052d5e
cmp dword [esi + 0x1aa0], 0
jne 0x10052d5e
mov word [esi + 0x1b01], 0x101
mov dword [esi + 0x1b04], 0
mov byte [esi + 0x1afe], 0
mov eax, dword [0x101a224c]
cmp byte [eax + 0x1b19], 0
jne 0x10052d79
cmp byte [eax + 0x1b01], 0
jne 0x10052d79
xor cl, cl
jmp 0x10052d7b
mov cl, 1
movss xmm2, dword [0x100e4310]
mov byte [eax + 0x1b00], cl
mov edi, dword [esi + 0x1a9c]
test edi, edi
je 0x10052f74
test dword [edi + 8], 0x40000
jne 0x10052f74
cmp dword [esi + 0x1adc], 0
jne 0x10052f74
cmp dword [edi + 0x13c], 0
mov eax, dword [0x101a224c]
movss xmm0, dword [eax + 0x18b0]
mulss xmm0, dword [edi + 0x26c]
mulss xmm0, dword [0x100e460c]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [ebp - 8], xmm3
jne 0x10052eae
cmp byte [edi + 0x145], 0
je 0x10052eae
cmp byte [esi + 0x1b19], 0
je 0x10052eae
mov eax, dword [esi + 0x1b24]
movss xmm4, dword [0x100e4348]
test eax, eax
je 0x10052e2f
cmp eax, 1
jne 0x10052e6a
movss xmm2, dword [0x100e4318]
jmp 0x10052e32
movaps xmm2, xmm4
movss xmm1, dword [edi + 0x58]
addss xmm1, dword [edi + 0xe0]
mulss xmm2, xmm3
addss xmm2, dword [edi + 0x58]
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x58], xmm0
movss dword [edi + 0xe0], xmm1
mov eax, dword [esi + 0x1b24]
cmp eax, 2
je 0x10052e7c
cmp eax, 3
jne 0x10052eae
movss xmm4, dword [0x100e4318]
movss xmm1, dword [edi + 0x5c]
addss xmm1, dword [edi + 0xe4]
mulss xmm4, xmm3
addss xmm4, dword [edi + 0x5c]
cvttss2si eax, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x5c], xmm0
movss dword [edi + 0xe4], xmm1
sub esp, 8
lea eax, [ebp - 0x18]
mov dword [esp + 4], 0x41200000
mov dword [esp], 0x3dcccccd
push 0
push 4
push eax
call fcn.1004eda0
movss xmm3, dword [ebp - 0x18]
add esp, 0x14
movss xmm4, dword [ebp - 8]
xorps xmm2, xmm2
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x10052f25
cmp byte [edi + 0x78], 0
je 0x10052f25
movss xmm1, dword [edi + 0x58]
addss xmm1, dword [edi + 0xe0]
mulss xmm3, xmm4
addss xmm3, dword [edi + 0x58]
cvttss2si eax, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x58], xmm0
movss dword [edi + 0xe0], xmm1
mov byte [esi + 0x1b18], 1
movss xmm3, dword [ebp - 0x14]
ucomiss xmm3, xmm2
movss xmm2, dword [0x100e4310]
lahf
test ah, 0x44
jnp 0x10052f74
movss xmm1, dword [edi + 0x5c]
addss xmm1, dword [edi + 0xe4]
mulss xmm3, xmm4
addss xmm3, dword [edi + 0x5c]
cvttss2si eax, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x5c], xmm0
movss dword [edi + 0xe4], xmm1
mov byte [esi + 0x1b18], 1
movaps xmm0, xmmword [0x100e8ef0]
movups xmmword [esi + 0x1b48], xmm0
mov dword [esi + 0x1b34], 0
movaps xmm0, xmmword [0x100e8ef0]
mov dword [esi + 0x1b30], 0
mov dword [esi + 0x1b38], 0
mov dword [esi + 0x1b44], 0x7f7fffff
mov dword [esi + 0x1b40], 0x7f7fffff
mov dword [esi + 0x1b3c], 0x7f7fffff
movups xmmword [esi + 0x1b70], xmm0
mov dword [esi + 0x1b5c], 0
movaps xmm0, xmmword [0x100e8ef0]
mov dword [esi + 0x1b58], 0
mov dword [esi + 0x1b60], 0
mov dword [esi + 0x1b6c], 0x7f7fffff
mov dword [esi + 0x1b68], 0x7f7fffff
mov dword [esi + 0x1b64], 0x7f7fffff
mov dword [esi + 0x1b84], 0
mov dword [esi + 0x1b80], 0
mov dword [esi + 0x1b88], 0
mov dword [esi + 0x1b94], 0x7f7fffff
mov dword [esi + 0x1b90], 0x7f7fffff
mov dword [esi + 0x1b8c], 0x7f7fffff
movups xmmword [esi + 0x1b98], xmm0
cmp byte [esi + 0x1b19], 0
je 0x100531ab
cmp byte [esi + 0x1b18], 0
je 0x100531ab
cmp dword [esi + 0x1af4], 0
jne 0x100531ab
mov ecx, dword [esi + 0x1a9c]
movss xmm3, dword [0x100e4318]
movss xmm7, dword [ecx + 0x1ec]
subss xmm7, dword [ecx + 0xc]
movss xmm4, dword [ecx + 0x1f4]
movss xmm5, dword [ecx + 0x1f8]
movss xmm6, dword [ecx + 0x1f0]
subss xmm4, dword [ecx + 0xc]
subss xmm5, dword [ecx + 0x10]
subss xmm6, dword [ecx + 0x10]
movss xmm0, dword [ecx + 0x308]
subss xmm7, xmm3
movss dword [ebp - 8], xmm0
addss xmm4, xmm3
addss xmm5, xmm3
subss xmm6, xmm3
comiss xmm0, xmm7
jb 0x10053100
movss xmm0, dword [ecx + 0x30c]
comiss xmm0, xmm6
jb 0x10053100
comiss xmm4, dword [ecx + 0x310]
jb 0x10053100
comiss xmm5, dword [ecx + 0x314]
jae 0x100531a4
mov eax, dword [0x101a224c]
movaps xmm3, xmm5
movss xmm0, dword [ecx + 0x30c]
subss xmm3, xmm6
movss xmm1, dword [eax + 0x18b0]
mulss xmm1, dword [ecx + 0x26c]
mulss xmm1, xmm2
movaps xmm2, xmm4
subss xmm2, xmm7
minss xmm3, xmm1
minss xmm2, xmm1
movss xmm1, dword [ebp - 8]
xorps xmm3, xmmword [0x100e4350]
subss xmm6, xmm3
addss xmm5, xmm3
xorps xmm2, xmmword [0x100e4350]
subss xmm7, xmm2
addss xmm4, xmm2
maxss xmm0, xmm6
maxss xmm1, xmm7
movss dword [ecx + 0x30c], xmm0
movss dword [ecx + 0x308], xmm1
movss xmm1, dword [ecx + 0x310]
movss xmm0, dword [ecx + 0x314]
minss xmm1, xmm4
minss xmm0, xmm5
movss dword [ecx + 0x310], xmm1
movss dword [ecx + 0x314], xmm0
mov dword [esi + 0x1aa0], 0
mov byte [esi + 0x1b18], 0
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x100531ed
mov ecx, dword [esi + 0x1af4]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x308]
comiss xmm0, dword [eax + ecx*8 + 0x310]
ja 0x100531ed
movss xmm0, dword [eax + ecx*8 + 0x30c]
comiss xmm0, dword [eax + ecx*8 + 0x314]
ja 0x100531ed
movups xmm0, xmmword [eax + ecx*8 + 0x308]
jmp 0x100531f0
xorps xmm0, xmm0
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x1005323c
movss xmm2, dword [eax + 0xc]
movss xmm0, dword [eax + 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 0x10053263
mov eax, dword [0x101a224c]
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 + 0x1ac8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1acc]
addss xmm1, dword [esi + 0x1ad4]
movss dword [esi + 0x1acc], xmm0
movss dword [esi + 0x1ad4], xmm1
movss xmm0, dword [esi + 0x1ac8]
addss xmm0, dword [0x100e4318]
mov dword [esi + 0x1ad8], 0
minss xmm0, dword [esi + 0x1ad0]
movss dword [esi + 0x1ac8], xmm0
movss dword [esi + 0x1ad0], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret