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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x10200e40]
xor eax, esp
mov dword [esp + 0x54], eax
mov edx, dword [0x1020f198]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
mov esi, dword [edx + 0x3f8c]
mov dword [esp + 0x30], esi
cmp dword [edi + 0x48], 0xffffffff
je 0x1005689b
call fcn.10057120
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x5e24], 0
je 0x100568b9
push 0
mov edx, 0x101f4264
xor ecx, ecx
call fcn.10048eb0
mov edx, dword [esp + 0x14]
add esp, 4
mov eax, dword [edi + 0x54]
mov dword [esi + 0xfc], eax
movsx eax, word [edi + 0x1dc]
movss xmm1, dword [edi + 0x50]
movss xmm7, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x44]
inc eax
movss dword [esp + 0xc], xmm1
mov dword [esp + 0x34], eax
movsx eax, word [edi + 0x1da]
mov dword [esp + 0x3c], eax
movsx eax, word [edi + 0x4c]
movss dword [esp + 0x2c], xmm7
test eax, eax
jne 0x10056916
lea eax, [edi + 0x178]
mov dword [esp + 0x38], eax
lea ecx, [edi + 0x180]
lea eax, [edi + 0x174]
jmp 0x10056941
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x18c]
lea esi, [eax - 0xc]
lea esi, [esi + ecx*8]
mov dword [esp + 0x38], esi
lea esi, [eax - 4]
lea esi, [esi + ecx*8]
mov dword [esp + 8], esi
lea eax, [eax + ecx*8]
mov esi, dword [esp + 0x30]
add eax, 0xfffffff0
mov ecx, dword [esp + 8]
test byte [edi + 0x68], 1
je 0x10056965
cmp dword [edi + 0x44], 0
je 0x10056956
test dword [edi + 0x68], 0x10000
je 0x10056965
movaps xmm0, xmm7
subss xmm0, xmm1
addss xmm0, dword [eax]
movss dword [eax], xmm0
comiss xmm7, dword [edi + 0xf8]
movss xmm2, dword [0x101f4f54]
jb 0x10056df0
movss xmm0, dword [edi + 0x100]
comiss xmm0, xmm1
jb 0x10056df0
cmp word [edi + 0x1be], 0xffff
je 0x100569b1
movss xmm0, dword [edx + 0xe04]
comiss xmm0, xmm1
jb 0x100569b1
comiss xmm7, xmm0
jbe 0x100569b1
cmp dword [ecx], 0
jge 0x100569b1
mov eax, dword [edi + 0x44]
mov dword [ecx], eax
mov eax, dword [edi + 0x70]
lea edx, [edi + 4]
mov dword [esp + 0x1c], 0
cmp eax, 0x1000000
jne 0x100569dc
test byte [edx], 0x40
je 0x100569e0
mov ecx, dword [edi + 0x6c]
movaps xmm1, xmm2
and ecx, 1
add ecx, 0x2d
call fcn.10034770
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x74]
xor eax, eax
cmp ecx, 0x1000000
mov dword [esp + 0x28], eax
cmove ecx, eax
mov dword [esp + 8], ecx
cmp dword [edi + 0x44], eax
jle 0x10056a15
test byte [edx], 0x80
je 0x10056a15
test dword [edi + 0x68], 0x10000
je 0x10056a0e
mov eax, dword [edi + 0x78]
jmp 0x10056a11
mov eax, dword [edi + 0x7c]
mov dword [esp + 0x28], eax
mov ax, word [edi + 0x1e2]
shr ax, 0xf
xor al, 1
mov word [esp + 0x26], ax
mov eax, ecx
or eax, dword [esp + 0x28]
or eax, dword [esp + 0x1c]
jne 0x10056a44
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x34], eax
je 0x10056a44
cmp byte [esp + 0x26], 0
je 0x10056a84
test dword [edx], 0x100000
jne 0x10056a67
movups xmm0, xmmword [edi + 0x114]
mov eax, dword [esi + 0x270]
movaps xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [eax + 0x60], xmm0
mov ecx, dword [edi + 0x168]
push 0
push dword [esi + 0x270]
call fcn.10050a20
movss xmm7, dword [esp + 0x2c]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x10056a94
test ecx, ecx
je 0x10056b53
movss xmm0, dword [edi + 0xe4]
movaps xmm2, xmm7
movss xmm1, dword [esp + 0xc]
maxss xmm0, dword [edi + 0x104]
maxss xmm1, dword [edi + 0x108]
minss xmm2, dword [edi + 0x110]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [edi + 0xec]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x4c], xmm2
minss xmm0, dword [edi + 0x10c]
movss dword [esp + 0x48], xmm0
test eax, eax
je 0x10056b26
comiss xmm2, xmm1
jbe 0x10056b26
push 0
push ecx
mov ecx, dword [esi + 0x270]
mov dword [esp], 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1004ff10
movss xmm1, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x14]
mov eax, dword [esp + 8]
test eax, eax
je 0x10056b53
comiss xmm2, xmm1
jbe 0x10056b53
push 0
push ecx
mov ecx, dword [esi + 0x270]
mov dword [esp], 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1004ff10
cmp byte [esp + 0x26], 0
je 0x10056c2a
mov edx, dword [edi + 0x20]
movsx eax, word [edi + 0x1e2]
mov dword [esp + 8], edx
lea eax, [edx + eax*8]
mov dword [esp + 0x14], eax
cmp edx, eax
ja 0x10056c2a
nop dword [eax + eax]
movsx eax, word [edx + 4]
movss xmm0, dword [edi + 0x50]
maxss xmm0, dword [edi + 0x108]
imul ecx, eax, 0x70
mov eax, dword [edi + 0x10]
push 0
movss dword [esp + 0x48], xmm0
movss xmm0, dword [edi + 0x54]
minss xmm0, dword [edi + 0x110]
push ecx
movss xmm2, dword [ecx + eax + 8]
movss xmm1, dword [ecx + eax + 0xc]
maxss xmm2, dword [edi + 0xe4]
minss xmm1, dword [edi + 0xec]
mov dword [esp], 0
push dword [edx]
movss dword [esp + 0x58], xmm0
maxss xmm2, dword [edi + 0x104]
minss xmm1, dword [edi + 0x10c]
maxss xmm2, dword [ecx + eax + 0x20]
minss xmm1, dword [ecx + eax + 0xc]
mov ecx, dword [esi + 0x270]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x5c], xmm1
call fcn.1004ff10
mov edx, dword [esp + 8]
add edx, 8
mov dword [esp + 8], edx
cmp edx, dword [esp + 0x14]
jbe 0x10056b80
mov eax, dword [esp + 0x28]
movss xmm2, dword [0x101f4f0c]
test eax, eax
je 0x10056d10
movss xmm1, dword [esp + 0xc]
comiss xmm1, dword [edi + 0x108]
jb 0x10056d10
movss xmm0, dword [edi + 0x110]
comiss xmm0, xmm1
jbe 0x10056d10
movss xmm0, dword [edi + 0x84]
mov ecx, dword [esi + 0x270]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edi + 0x80]
mov dword [esp + 8], ecx
test eax, 0xff000000
je 0x10056d10
addss xmm1, xmm2
addss xmm0, xmm2
lea esi, [ecx + 0x54]
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x24], xmm1
call fcn.1004a040
movss xmm1, dword [esp + 0x14]
lea eax, [esp + 0x14]
addss xmm1, dword [0x101f4f0c]
push eax
mov ecx, esi
movss dword [esp + 0x18], xmm1
movss xmm1, dword [esp + 0x10]
movss dword [esp + 0x1c], xmm1
call fcn.1004a040
push ecx
mov ecx, dword [esp + 0xc]
mov dword [esp], 0x3f800000
push 0
push dword [esp + 0x30]
push dword [esi]
push dword [ecx + 0x5c]
call fcn.1004e1e0
movss xmm2, dword [0x101f4f0c]
mov dword [esi], 0
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x34], eax
jne 0x10056de8
movss xmm1, dword [esp + 0x2c]
comiss xmm1, dword [edi + 0x108]
jb 0x10056de8
movss xmm0, dword [edi + 0x110]
comiss xmm0, xmm1
jbe 0x10056de8
movss xmm0, dword [edi + 0x84]
mov ecx, dword [edi + 0x78]
mov eax, dword [esi + 0x270]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edi + 0x80]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
test ecx, 0xff000000
je 0x10056de8
addss xmm1, xmm2
addss xmm0, xmm2
lea esi, [eax + 0x54]
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x24], xmm1
call fcn.1004a040
movss xmm1, dword [esp + 0x14]
lea eax, [esp + 0x14]
addss xmm1, dword [0x101f4f0c]
movss xmm0, dword [esp + 0x2c]
mov ecx, esi
push eax
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm1
call fcn.1004a040
push ecx
mov ecx, dword [esp + 0x10]
mov dword [esp], 0x3f800000
push 0
push dword [esp + 0x10]
push dword [esi]
push dword [ecx + 0x5c]
call fcn.1004e1e0
mov dword [esi], 0
movss xmm2, dword [0x101f4f54]
mov esi, dword [esp + 0x34]
cmp esi, dword [esp + 0x3c]
jne 0x10056e14
xor edx, edx
cmp dword [edi + 0x40], edx
jle 0x10056e14
xor ecx, ecx
mov eax, dword [edi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov byte [eax + ecx - 6], 0
cmp edx, dword [edi + 0x40]
jl 0x10056e03
cmp esi, dword [esp + 0x10]
jne 0x10056f66
movss xmm1, dword [edi + 0x54]
xor esi, esi
mov edx, dword [esp + 0x30]
addss xmm1, xmm2
mov eax, dword [esp + 0x38]
maxss xmm1, dword [edx + 0x1f0]
mov byte [edi + 0x1f6], 1
movaps xmm0, xmm1
subss xmm0, dword [edi + 0xc8]
movss dword [eax], xmm0
minss xmm1, dword [edx + 0x1f8]
mov ax, word [edi + 0x1e8]
movss dword [edi + 0x128], xmm1
movss dword [edi + 0x108], xmm1
movss xmm0, dword [edx + 0x1f8]
movss xmm1, dword [edi + 0x54]
movss dword [edi + 0x130], xmm0
movss dword [edi + 0x110], xmm0
movaps xmm0, xmm1
addss xmm1, dword [edi + 0xe8]
subss xmm0, dword [edi + 0x50]
mov word [edi + 0x1e6], ax
subss xmm1, dword [edi + 0xc8]
movss dword [edx + 0xfc], xmm1
movss dword [edi + 0x54], xmm1
subss xmm1, xmm0
movss dword [edi + 0x50], xmm1
cmp dword [edi + 0x40], esi
jle 0x10056eeb
xor edx, edx
mov ecx, dword [edi + 0x10]
lea edx, [edx + 0x70]
inc esi
mov ax, word [ecx + edx - 0x10]
mov word [ecx + edx - 0x14], ax
mov eax, dword [edi + 0x128]
mov dword [ecx + edx - 0x4c], eax
cmp esi, dword [edi + 0x40]
jl 0x10056ec7
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0x10]
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 + 0x270]
movups xmmword [edx + 0x21c], 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 + 0x270]
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
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x168]
movzx eax, word [eax + 0x5c]
push eax
push dword [edx + 0x270]
call fcn.10050a20
test byte [edi + 0x68], 1
mov byte [edi + 0x1eb], 0
jne 0x10056f76
inc dword [edi + 0x6c]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.10109e3a
mov esp, ebp
pop ebp
ret