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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x10101040]
xor eax, esp
mov dword [esp + 0x54], eax
mov edx, dword [0x10103540]
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
mov edi, dword [edx + 0x4064]
mov dword [esp + 8], edi
cmp dword [esi + 0x48], 0xffffffff
je 0x1003f4fb
call fcn.1003fce0
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x5f08], 0
je 0x1003f519
push 0
mov edx, 0x100f8abc
xor ecx, ecx
call fcn.1001f7c0
mov edx, dword [esp + 0x14]
add esp, 4
mov eax, dword [esi + 0x54]
mov dword [edi + 0x12c], eax
mov ecx, dword [esi + 0x44]
movsx eax, word [esi + 0x1dc]
movss xmm1, dword [esi + 0x50]
movss xmm7, dword [esi + 0x54]
mov dword [esp + 0x24], eax
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
movsx eax, word [esi + 0x1da]
mov dword [esp + 0x3c], eax
movsx eax, word [esi + 0x4c]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x30], xmm7
test eax, eax
jne 0x1003f57c
lea eax, [esi + 0x178]
mov dword [esp + 0x38], eax
lea eax, [esi + 0x180]
mov dword [esp + 0xc], eax
lea eax, [esi + 0x174]
jmp 0x1003f5a6
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x18c]
lea edx, [eax - 0xc]
lea edx, [edx + ecx*8]
mov dword [esp + 0x38], edx
lea edx, [eax - 4]
lea edx, [edx + ecx*8]
lea eax, [eax + ecx*8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10]
add eax, 0xfffffff0
mov ecx, dword [esi + 0x44]
test byte [esi + 0x68], 1
je 0x1003f5c8
test ecx, ecx
je 0x1003f5b9
test dword [esi + 0x68], 0x10000
je 0x1003f5c8
movaps xmm0, xmm7
subss xmm0, xmm1
addss xmm0, dword [eax]
movss dword [eax], xmm0
comiss xmm7, dword [esi + 0xf8]
movss xmm2, dword [0x100f8f34]
jb 0x1003f986
movss xmm0, dword [esi + 0x100]
comiss xmm0, xmm1
jb 0x1003f986
cmp word [esi + 0x1be], 0xffff
je 0x1003f613
movss xmm0, dword [edx + 0xe0c]
comiss xmm0, xmm1
jb 0x1003f613
comiss xmm7, xmm0
jbe 0x1003f613
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x44]
mov dword [ecx], eax
mov eax, dword [esi + 0x70]
lea edx, [esi + 4]
mov dword [esp + 0xc], 0
cmp eax, 0x1000000
jne 0x1003f63e
test byte [edx], 0x40
je 0x1003f642
mov ecx, dword [esi + 0x6c]
movaps xmm1, xmm2
and ecx, 1
add ecx, 0x2f
call fcn.10009cd0
mov dword [esp + 0xc], eax
mov edi, dword [esi + 0x74]
xor eax, eax
cmp edi, 0x1000000
mov dword [esp + 0x10], eax
cmove edi, eax
cmp dword [esi + 0x44], eax
jle 0x1003f673
test byte [edx], 0x80
je 0x1003f673
test dword [esi + 0x68], 0x10000
je 0x1003f66c
mov eax, dword [esi + 0x78]
jmp 0x1003f66f
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x10], eax
mov cx, word [esi + 0x1e2]
mov eax, edi
or eax, dword [esp + 0x10]
shr cx, 0xf
xor cl, 1
or eax, dword [esp + 0xc]
mov word [esp + 0x22], cx
jne 0x1003f6a0
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x14], eax
je 0x1003f6a0
test cl, cl
je 0x1003f6e0
test dword [edx], 0x100000
mov ecx, dword [esp + 8]
jne 0x1003f6c7
movups xmm0, xmmword [esi + 0x114]
mov eax, dword [ecx + 0x2a4]
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [eax + 0x60], xmm0
push 0
push dword [ecx + 0x2a4]
mov ecx, dword [esi + 0x168]
call fcn.10037950
movss xmm7, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x1003f6f0
test edi, edi
je 0x1003f7b3
movss xmm0, dword [esi + 0xe4]
movaps xmm2, xmm7
movss xmm1, dword [esp + 0x28]
maxss xmm0, dword [esi + 0x104]
maxss xmm1, dword [esi + 0x108]
minss xmm2, dword [esi + 0x110]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0xec]
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x4c], xmm2
minss xmm0, dword [esi + 0x10c]
movss dword [esp + 0x48], xmm0
test eax, eax
je 0x1003f786
comiss xmm2, xmm1
jbe 0x1003f786
push 0
push ecx
mov dword [esp], 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x2a4]
call fcn.10036ff0
movss xmm1, dword [esp + 0xc]
movss xmm2, dword [esp + 0x18]
test edi, edi
je 0x1003f7b3
comiss xmm2, xmm1
jbe 0x1003f7b3
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0x50]
push edi
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x2a4]
call fcn.10036ff0
cmp byte [esp + 0x22], 0
je 0x1003f890
mov edi, dword [esi + 0x20]
movsx eax, word [esi + 0x1e2]
lea eax, [edi + eax*8]
mov dword [esp + 0x18], eax
cmp edi, eax
ja 0x1003f890
movsx eax, word [edi + 4]
movss xmm0, dword [esi + 0x50]
maxss xmm0, dword [esi + 0x108]
imul ecx, eax, 0x70
mov eax, dword [esi + 0x10]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x54]
minss xmm0, dword [esi + 0x110]
movss xmm2, dword [ecx + eax + 0xc]
movss xmm1, dword [ecx + eax + 8]
movaps xmm3, xmm2
maxss xmm1, dword [esi + 0xe4]
minss xmm3, dword [esi + 0xec]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [ecx + eax + 0x20]
maxss xmm1, dword [esi + 0x104]
minss xmm3, dword [esi + 0x10c]
comiss xmm1, xmm0
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x48], xmm3
jae 0x1003f853
movss dword [esp + 0x40], xmm0
comiss xmm2, xmm3
ja 0x1003f85e
movss dword [esp + 0x48], xmm2
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0x50]
push dword [edi]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x2a4]
call fcn.10036ff0
add edi, 8
cmp edi, dword [esp + 0x18]
jbe 0x1003f7d7
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1003f900
movss xmm1, dword [esp + 0x28]
comiss xmm1, dword [esi + 0x108]
jb 0x1003f900
movss xmm0, dword [esi + 0x110]
comiss xmm0, xmm1
mov edi, dword [esp + 8]
jbe 0x1003f904
movss xmm0, dword [esi + 0x84]
push ecx
mov ecx, dword [edi + 0x2a4]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esi + 0x80]
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x28], xmm1
push eax
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm1
call fcn.10036df0
jmp 0x1003f904
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
jne 0x1003fb2e
movss xmm1, dword [esp + 0x30]
comiss xmm1, dword [esi + 0x108]
jb 0x1003fb2e
movss xmm0, dword [esi + 0x110]
comiss xmm0, xmm1
jbe 0x1003fb2e
movss xmm0, dword [esi + 0x84]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [edi + 0x2a4]
mov dword [esp], 0x3f800000
push dword [esi + 0x78]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esi + 0x80]
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x28], xmm1
push eax
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
call fcn.10036df0
movss xmm2, dword [0x100f8f34]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x3c]
jne 0x1003f9b5
xor edx, edx
cmp dword [esi + 0x40], edx
jle 0x1003f9b5
xor ecx, ecx
nop dword [eax]
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov byte [eax + ecx - 6], 0
cmp edx, dword [esi + 0x40]
jl 0x1003f9a0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
jne 0x1003fb0d
movss xmm1, dword [esi + 0x54]
mov eax, dword [esp + 0x38]
addss xmm1, xmm2
maxss xmm1, dword [edi + 0x21c]
mov byte [esi + 0x1f5], 1
movaps xmm0, xmm1
subss xmm0, dword [esi + 0xc8]
movss dword [eax], xmm0
minss xmm1, dword [edi + 0x224]
mov ax, word [esi + 0x1e8]
movss dword [esi + 0x128], xmm1
movss dword [esi + 0x108], xmm1
movss xmm0, dword [edi + 0x224]
movss xmm1, dword [esi + 0x54]
movss dword [esi + 0x130], xmm0
movss dword [esi + 0x110], xmm0
movaps xmm0, xmm1
addss xmm1, dword [esi + 0xe8]
subss xmm0, dword [esi + 0x50]
mov word [esi + 0x1e6], ax
subss xmm1, dword [esi + 0xc8]
movss dword [edi + 0x12c], xmm1
xor edi, edi
movss dword [esi + 0x54], xmm1
subss xmm1, xmm0
movss dword [esi + 0x50], xmm1
cmp dword [esi + 0x40], edi
jle 0x1003fa84
xor edx, edx
mov ecx, dword [esi + 0x10]
lea edx, [edx + 0x70]
inc edi
mov ax, word [ecx + edx - 0x10]
mov word [ecx + edx - 0x14], ax
mov eax, dword [esi + 0x128]
mov dword [ecx + edx - 0x4c], eax
cmp edi, dword [esi + 0x40]
jl 0x1003fa64
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 8]
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 [edx + 0x2a4]
movss dword [esp + 0x40], xmm4
movups xmmword [edx + 0x248], 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 [edx + 0x2a4]
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 + 0x10]
mov ecx, dword [esi + 0x168]
movzx eax, word [eax + 0x5c]
push eax
push dword [edx + 0x2a4]
call fcn.10037950
test byte [esi + 0x68], 1
mov byte [esi + 0x1eb], 0
jne 0x1003fb1d
inc dword [esi + 0x6c]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.1006399c
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x100f8f34]
jmp 0x1003f98a