Function at 0x1004fa00
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, 0x58
mov eax, dword [0x100a4040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x100be9bc]
mov esi, ecx
mov eax, dword [esi + 0x5c]
mov edi, dword [edi + 0x1a6c]
mov dword [ebp - 0x28], edi
cmp eax, 0xffffffff
je 0x1004fab4
mov edx, dword [esi + 0x1b4]
imul ecx, eax, 0x68
add ecx, dword [esi + 0xc]
test byte [esi + 0x78], 1
je 0x1004fa57
mov eax, 0x48
jmp 0x1004fa69
xor eax, eax
cmp byte [esi + 0x21f], al
setne al
lea eax, [eax*4 + 0x40]
movss xmm0, dword [eax + ecx]
maxss xmm0, dword [edx + 0xe4]
movss dword [eax + ecx], xmm0
movss xmm1, dword [esi + 0xa8]
addss xmm1, dword [edx + 0xe8]
movss xmm0, dword [esi + 0x68]
maxss xmm0, xmm1
movss dword [esi + 0x68], xmm0
mov eax, dword [edx + 0x1b4]
mov dword [ecx + 0x3c], eax
movss xmm0, dword [esi + 0x70]
maxss xmm0, dword [edx + 0x108]
movss dword [esi + 0x70], xmm0
mov eax, dword [0x100be9bc]
cmp byte [eax + 0x2f08], 0
je 0x1004fad3
push 0
mov edx, 0x10099038
xor ecx, ecx
call fcn.1003a510
add esp, 4
mov eax, dword [esi + 0x68]
mov dword [edi + 0xd0], eax
movsx eax, byte [esi + 0x20d]
movss xmm1, dword [esi + 0x64]
movss xmm7, dword [esi + 0x68]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x58]
movss dword [ebp - 0x48], xmm1
movss dword [ebp - 0x50], xmm7
lea ecx, [eax + 1]
mov dword [ebp - 0x34], ecx
movsx ecx, byte [esi + 0x20c]
mov dword [ebp - 0x58], ecx
test eax, eax
jne 0x1004fb20
movaps xmm0, xmm7
subss xmm0, xmm1
movss dword [esi + 0xb8], xmm0
comiss xmm7, dword [esi + 0x108]
movss xmm2, dword [0x1009a1b4]
jb 0x1004fe93
movss xmm0, dword [esi + 0x110]
comiss xmm0, xmm1
jb 0x1004fe93
mov ecx, dword [esi + 0x80]
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp ecx, 0x1000000
je 0x1004fb5d
mov edx, ecx
jmp 0x1004fb79
test byte [esi + 4], 0x40
je 0x1004fb7c
mov ecx, dword [esi + 0x7c]
movaps xmm1, xmm2
and ecx, 1
add ecx, 0x2d
call fcn.1002a390
mov edx, eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x2c], edx
mov ecx, dword [esi + 0x84]
cmp ecx, 0x1000000
mov dword [ebp - 0x38], 0
cmove ecx, dword [ebp - 0x38]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], 0
test eax, eax
jg 0x1004fbaf
mov eax, dword [esi + 0x1b4]
cmp eax, dword [esi + 0x1b0]
jne 0x1004fbcf
test byte [esi + 4], 0x80
je 0x1004fbcf
test dword [esi + 0x78], 0x10000
je 0x1004fbc6
mov eax, dword [esi + 0x88]
jmp 0x1004fbcc
mov eax, dword [esi + 0x8c]
mov dword [ebp - 0x30], eax
mov al, byte [esi + 0x210]
shr al, 7
mov byte [ebp - 0x21], al
mov eax, ecx
or eax, dword [ebp - 0x30]
or eax, edx
jne 0x1004fbf2
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x34], eax
je 0x1004fbf2
cmp byte [ebp - 0x21], 0
jne 0x1004fc32
test dword [esi + 4], 0x100000
jne 0x1004fc14
movups xmm0, xmmword [esi + 0x124]
mov eax, dword [edi + 0x288]
movaps xmmword [ebp - 0x20], xmm0
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [eax + 0x60], xmm0
push 0
push dword [edi + 0x288]
lea ecx, [esi + 0x1c4]
call fcn.10046cd0
movss xmm7, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x2c]
test edx, edx
jne 0x1004fc3e
test ecx, ecx
je 0x1004fcef
movss xmm0, dword [esi + 0xf4]
movaps xmm2, xmm7
movss xmm1, dword [ebp - 0x48]
maxss xmm0, dword [esi + 0x114]
maxss xmm1, dword [esi + 0x118]
minss xmm2, dword [esi + 0x120]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [esi + 0xfc]
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x3c], xmm2
movss dword [ebp - 0x14], xmm2
minss xmm0, dword [esi + 0x11c]
movss dword [ebp - 0x18], xmm0
test edx, edx
je 0x1004fcc5
comiss xmm2, xmm1
jbe 0x1004fcc5
push 0xf
push ecx
mov ecx, dword [edi + 0x288]
lea eax, [ebp - 0x18]
mov dword [esp], 0
push edx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10045e30
movss xmm1, dword [ebp - 0x2c]
movss xmm2, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1004fcef
comiss xmm2, xmm1
jbe 0x1004fcef
push 0xf
push ecx
mov ecx, dword [edi + 0x288]
mov dword [esp], 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10045e30
cmp byte [ebp - 0x21], 0
jne 0x1004fdc1
mov edi, dword [esi + 0x1c]
movsx eax, byte [esi + 0x210]
lea eax, [edi + eax*8]
mov dword [ebp - 0x3c], eax
cmp edi, eax
ja 0x1004fdbe
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 xmm2, dword [eax + ecx + 8]
movaps xmm1, xmm3
jne 0x1004fd39
subss xmm2, dword [esi + 0xac]
cmp byte [eax + ecx + 0x55], 0xff
jne 0x1004fd48
addss xmm1, dword [esi + 0xb0]
maxss xmm2, dword [esi + 0x114]
movss xmm0, dword [esi + 0x64]
maxss xmm0, dword [esi + 0x118]
minss xmm1, dword [esi + 0x11c]
push 0xf
maxss xmm2, dword [eax + ecx + 0x20]
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x18]
push dword [edi]
movss dword [ebp - 0x1c], xmm0
minss xmm1, xmm3
movss xmm0, dword [esi + 0x68]
minss xmm0, dword [esi + 0x120]
push eax
lea eax, [ebp - 0x20]
movss dword [ebp - 0x20], xmm2
push eax
mov eax, dword [ebp - 0x28]
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x18], xmm1
mov ecx, dword [eax + 0x288]
call fcn.10045e30
add edi, 8
cmp edi, dword [ebp - 0x3c]
jbe 0x1004fd11
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1004fe23
movss xmm1, dword [ebp - 0x48]
comiss xmm1, dword [esi + 0x118]
jb 0x1004fe23
movss xmm0, dword [esi + 0x120]
comiss xmm0, xmm1
jbe 0x1004fe23
movss xmm0, dword [esi + 0x94]
push ecx
mov ecx, dword [edi + 0x288]
mov dword [esp], 0x3f800000
push eax
lea eax, [ebp - 0x40]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [esi + 0x90]
push eax
lea eax, [ebp - 0x4c]
movss dword [ebp - 0x3c], xmm1
push eax
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x48], xmm1
call fcn.10045c20
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x34], eax
jne 0x1004fe8b
movss xmm1, dword [ebp - 0x50]
comiss xmm1, dword [esi + 0x118]
jb 0x1004fe8b
movss xmm0, dword [esi + 0x120]
comiss xmm0, xmm1
jbe 0x1004fe8b
movss xmm0, dword [esi + 0x94]
lea eax, [ebp - 0x40]
push ecx
mov ecx, dword [edi + 0x288]
mov dword [esp], 0x3f800000
push dword [esi + 0x88]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [esi + 0x90]
push eax
lea eax, [ebp - 0x54]
movss dword [ebp - 0x3c], xmm1
push eax
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0x50], xmm1
call fcn.10045c20
movss xmm2, dword [0x1009a1b4]
mov edi, dword [ebp - 0x34]
cmp edi, dword [ebp - 0x58]
jne 0x1004fec3
xor edx, edx
cmp dword [esi + 0x54], edx
jle 0x1004fec3
xor edi, edi
movsx eax, byte [esi + 0x20f]
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 0x1004fea4
mov edi, dword [ebp - 0x34]
cmp edi, dword [ebp - 0x44]
jne 0x1004fffc
movss xmm1, dword [esi + 0x68]
xor edi, edi
mov edx, dword [ebp - 0x28]
movaps xmm0, xmm1
addss xmm0, xmm2
mov al, byte [esi + 0x213]
mov byte [esi + 0x21f], 1
maxss xmm0, dword [edx + 0x208]
minss xmm0, dword [edx + 0x210]
movss dword [esi + 0x138], xmm0
movss dword [esi + 0x118], xmm0
movss xmm0, dword [edx + 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 + 0x212], al
subss xmm1, dword [esi + 0xd8]
movss dword [edx + 0xd0], xmm1
movss dword [esi + 0x68], xmm1
subss xmm1, xmm0
movss dword [esi + 0x64], xmm1
cmp dword [esi + 0x54], edi
jle 0x1004ff81
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 0x1004ff60
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0xc]
movss xmm1, dword [eax + 0x20]
movss xmm2, dword [eax + 0x24]
movss xmm3, dword [eax + 0x28]
movss xmm4, dword [eax + 0x2c]
movups xmm0, xmmword [eax + 0x20]
mov eax, dword [edx + 0x288]
movups xmmword [edx + 0x234], xmm0
movss dword [eax + 0x60], xmm1
movss dword [eax + 0x64], xmm2
movss dword [eax + 0x68], xmm3
movss dword [eax + 0x6c], xmm4
mov eax, dword [edx + 0x288]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss dword [eax + ecx*8 - 0x10], xmm1
movss dword [eax + ecx*8 - 0xc], xmm2
movss dword [eax + ecx*8 - 8], xmm3
movss dword [eax + ecx*8 - 4], xmm4
lea ecx, [esi + 0x1c4]
mov eax, dword [esi + 0xc]
movzx eax, byte [eax + 0x57]
push eax
push dword [edx + 0x288]
call fcn.10046cd0
test byte [esi + 0x78], 1
mov byte [esi + 0x215], 0
jne 0x1005000c
inc dword [esi + 0x7c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1008a073
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret