Function at 0x1005fb00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [0x10159260]
mov eax, dword [esi + 0x5c]
mov ebx, dword [edi + 0x1b94]
cmp eax, 0xffffffff
je 0x1005fb94
mov edx, dword [esi + 0x1b4]
imul ecx, eax, 0x68
add ecx, dword [esi + 0xc]
test byte [esi + 0x78], 1
je 0x1005fb3b
mov eax, 0x48
jmp 0x1005fb4d
xor eax, eax
cmp byte [esi + 0x220], al
setne al
lea eax, [eax*4 + 0x40]
movss xmm0, dword [edx + 0xe4]
maxss xmm0, dword [eax + ecx]
movss dword [eax + ecx], xmm0
movss xmm0, dword [edx + 0xe8]
addss xmm0, dword [esi + 0xa8]
maxss xmm0, dword [esi + 0x68]
movss dword [esi + 0x68], xmm0
mov eax, dword [edx + 0x1b4]
mov dword [ecx + 0x3c], eax
movss xmm0, dword [edx + 0x108]
maxss xmm0, dword [esi + 0x70]
movss dword [esi + 0x70], xmm0
cmp byte [edi + 0x2ed8], 0
je 0x1005fbab
push 0
mov edx, 0x10142fbc
xor ecx, ecx
call fcn.10051870
mov eax, dword [esi + 0x68]
mov dword [ebx + 0xd0], eax
movsx eax, byte [esi + 0x20e]
movss xmm7, dword [esi + 0x64]
movss xmm6, dword [esi + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x58]
movss dword [esp + 0x28], xmm7
movss dword [esp + 0x30], xmm6
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
movsx ecx, byte [esi + 0x20d]
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x1005fbfd
movaps xmm0, xmm6
subss xmm0, xmm7
movss dword [esi + 0xb8], xmm0
comiss xmm6, dword [esi + 0x108]
movss xmm2, dword [0x10150be4]
jb 0x1005ffd6
movss xmm0, dword [esi + 0x110]
comiss xmm0, xmm7
jb 0x1005ffd6
mov edx, dword [esi + 0x80]
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp edx, 0x1000000
je 0x1005fc3e
mov ecx, edx
lea edx, [esi + 4]
jmp 0x1005fc5d
test byte [esi + 4], 0x40
lea edx, [esi + 4]
je 0x1005fc61
mov ecx, dword [esi + 0x7c]
movaps xmm0, xmm2
and ecx, 1
add ecx, 0x2d
call fcn.10041580
mov ecx, eax
mov eax, dword [esi + 0x58]
mov dword [esp + 0x20], ecx
mov edi, dword [esi + 0x84]
cmp edi, 0x1000000
mov dword [esp + 0x18], 0
cmove edi, dword [esp + 0x18]
mov dword [esp + 0x18], 0
test eax, eax
jg 0x1005fc94
mov eax, dword [esi + 0x1b4]
cmp eax, dword [esi + 0x1b0]
jne 0x1005fcb4
test byte [edx], 0x80
je 0x1005fcb4
test dword [esi + 0x78], 0x10000
je 0x1005fcaa
mov eax, dword [esi + 0x88]
jmp 0x1005fcb0
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x18], eax
mov al, byte [esi + 0x211]
shr al, 7
mov byte [esp + 0x13], al
mov eax, edi
or eax, dword [esp + 0x18]
or eax, ecx
jne 0x1005fcdc
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x14], eax
je 0x1005fcdc
cmp byte [esp + 0x13], 0
jne 0x1005fd22
test dword [edx], 0x100000
jne 0x1005fcff
movups xmm0, xmmword [esi + 0x124]
mov eax, dword [ebx + 0x288]
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [eax + 0x60], xmm0
push 0
push dword [ebx + 0x288]
lea ecx, [esi + 0x1c4]
call fcn.10059020
movss xmm6, dword [esp + 0x30]
movss xmm7, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x1005fd2e
test edi, edi
je 0x1005fde8
movss xmm0, dword [esi + 0xf4]
movss xmm1, dword [esi + 0x118]
movss xmm2, dword [esi + 0x120]
maxss xmm1, xmm7
minss xmm2, xmm6
maxss xmm0, dword [esi + 0x114]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0xfc]
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x4c], xmm2
minss xmm0, dword [esi + 0x11c]
movss dword [esp + 0x48], xmm0
test ecx, ecx
je 0x1005fdbf
comiss xmm2, xmm1
jbe 0x1005fdbf
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0x50]
push ecx
mov ecx, dword [ebx + 0x288]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10058240
movss xmm1, dword [esp + 0x20]
movss xmm2, dword [esp + 0x38]
test edi, edi
je 0x1005fde8
comiss xmm2, xmm1
jbe 0x1005fde8
push 0
push ecx
mov ecx, dword [ebx + 0x288]
lea eax, [esp + 0x50]
mov dword [esp], 0
push edi
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10058240
cmp byte [esp + 0x13], 0
jne 0x1005fee3
mov edi, dword [esi + 0x1c]
movsx eax, byte [esi + 0x211]
lea eax, [edi + eax*8]
mov dword [esp + 0x38], eax
cmp edi, eax
ja 0x1005fee3
nop dword [eax]
movsx eax, byte [edi + 4]
mov ecx, dword [esi + 0xc]
imul eax, eax, 0x68
cmp byte [eax + ecx + 0x54], 0xff
movss xmm5, dword [eax + ecx + 0xc]
movss xmm0, dword [eax + ecx + 8]
movaps xmm4, xmm5
jne 0x1005fe38
subss xmm0, dword [esi + 0xac]
cmp byte [eax + ecx + 0x55], 0xff
jne 0x1005fe47
addss xmm4, dword [esi + 0xb0]
movss xmm2, dword [esi + 0x114]
movss xmm1, dword [esi + 0x64]
maxss xmm2, xmm0
movss xmm0, dword [esi + 0x118]
movss xmm3, dword [esi + 0x68]
maxss xmm0, xmm1
movss xmm1, dword [esi + 0x11c]
minss xmm1, xmm4
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x120]
minss xmm0, xmm3
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + ecx + 0x20]
comiss xmm2, xmm0
jae 0x1005feaa
movss dword [esp + 0x40], xmm0
comiss xmm5, xmm1
ja 0x1005feb5
movss dword [esp + 0x48], xmm5
push 0
push ecx
mov ecx, dword [ebx + 0x288]
lea eax, [esp + 0x50]
mov dword [esp], 0
push dword [edi]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10058240
add edi, 8
cmp edi, dword [esp + 0x38]
jbe 0x1005fe10
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1005ff4d
movss xmm1, dword [esp + 0x28]
comiss xmm1, dword [esi + 0x118]
jb 0x1005ff4d
movss xmm0, dword [esi + 0x120]
comiss xmm0, xmm1
jbe 0x1005ff4d
movss xmm0, dword [esi + 0x94]
push ecx
mov ecx, dword [ebx + 0x288]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x40]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0x90]
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x48], xmm1
push eax
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm1
call fcn.10058020
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
jne 0x10060162
movss xmm1, dword [esp + 0x30]
comiss xmm1, dword [esi + 0x118]
jb 0x10060162
movss xmm0, dword [esi + 0x120]
comiss xmm0, xmm1
jbe 0x10060162
movss xmm0, dword [esi + 0x94]
lea eax, [esp + 0x38]
push ecx
mov ecx, dword [ebx + 0x288]
mov dword [esp], 0x3f800000
push dword [esi + 0x88]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0x90]
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x48], xmm1
push eax
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
call fcn.10058020
movss xmm2, dword [0x10150be4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jne 0x10060010
xor edx, edx
cmp dword [esi + 0x54], edx
jle 0x10060010
xor edi, edi
nop word [eax + eax]
movsx eax, byte [esi + 0x210]
lea edi, [edi + 0x68]
cmp edx, eax
mov eax, dword [esi + 0xc]
setl cl
inc edx
mov byte [edi + eax - 7], cl
cmp edx, dword [esi + 0x54]
jl 0x1005fff0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
jne 0x1006014b
movss xmm1, dword [esi + 0x68]
xor edi, edi
movaps xmm0, xmm1
mov al, byte [esi + 0x214]
addss xmm0, xmm2
mov byte [esi + 0x220], 1
maxss xmm0, dword [ebx + 0x208]
minss xmm0, dword [ebx + 0x210]
movss dword [esi + 0x138], xmm0
movss dword [esi + 0x118], xmm0
movss xmm0, dword [ebx + 0x210]
movss dword [esi + 0x140], xmm0
movss dword [esi + 0x120], xmm0
movaps xmm0, xmm1
addss xmm1, dword [esi + 0xf8]
subss xmm0, dword [esi + 0x64]
mov byte [esi + 0x213], al
subss xmm1, dword [esi + 0xd8]
movss dword [ebx + 0xd0], xmm1
movss dword [esi + 0x68], xmm1
subss xmm1, xmm0
movss dword [esi + 0x64], xmm1
cmp dword [esi + 0x54], edi
jle 0x100600c6
xor edx, edx
mov ecx, dword [esi + 0xc]
lea edx, [edx + 0x68]
inc edi
mov al, byte [ecx + edx - 0xf]
mov byte [ecx + edx - 0x11], al
mov eax, dword [esi + 0x138]
mov dword [ecx + edx - 0x44], eax
cmp edi, dword [esi + 0x54]
jl 0x100600a8
mov eax, dword [esi + 0xc]
movss xmm4, dword [eax + 0x20]
movss xmm3, dword [eax + 0x24]
movss xmm2, dword [eax + 0x28]
movss xmm1, dword [eax + 0x2c]
movups xmm0, xmmword [eax + 0x20]
mov eax, dword [ebx + 0x288]
movss dword [esp + 0x40], xmm4
movups xmmword [ebx + 0x234], xmm0
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm1
movss dword [eax + 0x60], xmm4
movss dword [eax + 0x64], xmm3
movss dword [eax + 0x68], xmm2
movss dword [eax + 0x6c], xmm1
mov eax, dword [ebx + 0x288]
movups xmm0, xmmword [esp + 0x40]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmmword [eax + ecx*8 - 0x10], xmm0
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x1c4]
movzx eax, byte [eax + 0x57]
push eax
push dword [ebx + 0x288]
call fcn.10059020
test byte [esi + 0x78], 1
mov byte [esi + 0x216], 0
jne 0x1006015b
inc dword [esi + 0x7c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x10150be4]
mov ecx, dword [esp + 0x1c]
jmp 0x1005ffda