Function at 0x1005d050
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 [0x101541b4]
mov eax, dword [esi + 0x5c]
mov ebx, dword [edi + 0x1b94]
cmp eax, 0xffffffff
je 0x1005d0e4
mov edx, dword [esi + 0x1b4]
imul ecx, eax, 0x68
add ecx, dword [esi + 0xc]
test byte [esi + 0x78], 1
je 0x1005d08b
mov eax, 0x48
jmp 0x1005d09d
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 0x1005d0fb
push 0
mov edx, 0x1013d834
xor ecx, ecx
call fcn.1004e880
mov eax, dword [esi + 0x68]
mov dword [ebx + 0xd0], eax
mov edx, dword [esi + 0x58]
movsx eax, byte [esi + 0x20e]
movss xmm7, dword [esi + 0x64]
movss xmm6, dword [esi + 0x68]
movsx ecx, byte [esi + 0x20d]
mov dword [esp + 0x20], eax
lea eax, [edx + 1]
movss dword [esp + 0x24], xmm7
movss dword [esp + 0x2c], xmm6
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ecx
test edx, edx
jne 0x1005d14d
movaps xmm0, xmm6
subss xmm0, xmm7
movss dword [esi + 0xb8], xmm0
comiss xmm6, dword [esi + 0x108]
movss xmm2, dword [0x1014b1b4]
jb 0x1005d502
movss xmm0, dword [esi + 0x110]
comiss xmm0, xmm7
jb 0x1005d502
mov eax, dword [esi + 0x80]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp eax, 0x1000000
je 0x1005d18e
mov ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x1005d1ab
test byte [esi + 4], 0x40
je 0x1005d1ab
mov ecx, dword [esi + 0x7c]
movaps xmm0, xmm2
and ecx, 1
add ecx, 0x2d
call fcn.1003e600
mov ecx, eax
mov dword [esp + 0x1c], eax
mov edi, dword [esi + 0x84]
xor eax, eax
cmp edi, 0x1000000
mov dword [esp + 0x14], eax
cmove edi, eax
test edx, edx
jg 0x1005d1d2
mov eax, dword [esi + 0x1b4]
cmp eax, dword [esi + 0x1b0]
jne 0x1005d1f3
test byte [esi + 4], 0x80
je 0x1005d1f3
test dword [esi + 0x78], 0x10000
je 0x1005d1e9
mov eax, dword [esi + 0x88]
jmp 0x1005d1ef
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x14], eax
mov dl, byte [esi + 0x211]
mov eax, edi
or eax, dword [esp + 0x14]
shr dl, 7
or eax, ecx
mov byte [esp + 0x13], dl
jne 0x1005d218
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
je 0x1005d218
test dl, dl
jne 0x1005d25f
test dword [esi + 4], 0x100000
jne 0x1005d23c
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.10056300
movss xmm6, dword [esp + 0x2c]
movss xmm7, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1005d26b
test edi, edi
je 0x1005d325
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 + 0x1c], xmm1
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0xfc]
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x4c], xmm2
minss xmm0, dword [esi + 0x11c]
movss dword [esp + 0x48], xmm0
test ecx, ecx
je 0x1005d2fc
comiss xmm2, xmm1
jbe 0x1005d2fc
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.100553d0
movss xmm1, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x34]
test edi, edi
je 0x1005d325
comiss xmm2, xmm1
jbe 0x1005d325
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.100553d0
cmp byte [esp + 0x13], 0
jne 0x1005d41b
mov edi, dword [esi + 0x1c]
movsx eax, byte [esi + 0x211]
lea eax, [edi + eax*8]
mov dword [esp + 0x34], eax
cmp edi, eax
ja 0x1005d41b
nop dword [eax]
movsx eax, byte [edi + 4]
mov ecx, dword [esi + 0xc]
imul eax, eax, 0x68
cmp byte [eax + ecx + 0x54], 0xff
movss xmm3, dword [eax + ecx + 0xc]
movss xmm0, dword [eax + ecx + 8]
movaps xmm2, xmm3
jne 0x1005d378
subss xmm0, dword [esi + 0xac]
cmp byte [eax + ecx + 0x55], 0xff
jne 0x1005d387
addss xmm2, dword [esi + 0xb0]
movss xmm1, dword [esi + 0x114]
movss xmm4, dword [esi + 0x11c]
maxss xmm1, xmm0
movss xmm0, dword [esi + 0x64]
minss xmm4, xmm2
maxss xmm0, dword [esi + 0x118]
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x68]
minss xmm0, dword [esi + 0x120]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + ecx + 0x20]
comiss xmm1, xmm0
jae 0x1005d3e2
movss dword [esp + 0x40], xmm0
comiss xmm3, xmm4
ja 0x1005d3ed
movss dword [esp + 0x48], xmm3
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.100553d0
add edi, 8
cmp edi, dword [esp + 0x34]
jbe 0x1005d350
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1005d485
movss xmm1, dword [esp + 0x24]
comiss xmm1, dword [esi + 0x118]
jb 0x1005d485
movss xmm0, dword [esi + 0x120]
comiss xmm0, xmm1
jbe 0x1005d485
movss xmm0, dword [esi + 0x94]
push ecx
mov ecx, dword [ebx + 0x288]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi + 0x90]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x44], xmm1
push eax
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm1
call fcn.100551c0
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x1005d4fa
movss xmm1, dword [esp + 0x2c]
comiss xmm1, dword [esi + 0x118]
jb 0x1005d4fa
movss xmm0, dword [esi + 0x120]
comiss xmm0, xmm1
jbe 0x1005d4fa
movss xmm0, dword [esi + 0x94]
lea eax, [esp + 0x34]
push ecx
mov ecx, dword [ebx + 0x288]
mov dword [esp], 0x3f800000
push dword [esi + 0x88]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi + 0x90]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x44], xmm1
push eax
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
call fcn.100551c0
mov eax, dword [esp + 0x18]
movss xmm2, dword [0x1014b1b4]
cmp eax, dword [esp + 0x3c]
jne 0x1005d531
xor edx, edx
cmp dword [esi + 0x54], edx
jle 0x1005d531
xor edi, edi
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 0x1005d511
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x1005d673
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 0x1005d5ee
xor edx, edx
nop dword [eax]
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 0x1005d5d0
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.10056300
test byte [esi + 0x78], 1
mov byte [esi + 0x216], 0
jne 0x1005d683
inc dword [esi + 0x7c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret