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

Disassembly:
sub esp, 0x60
mov eax, dword [0x1011b140]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
mov ebx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
mov edi, edx
mov esi, ecx
lea edx, [ebx + 8]
mov dword [esp + 0x20], edi
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], esi
call fcn.1005d490
mov edx, edi
lea ecx, [esp + 0x18]
push dword [eax + 4]
push dword [eax]
push ebx
call fcn.1005d580
mov eax, dword [esp + 0x94]
add esp, 0x10
cmp eax, 1
jne 0x1006c921
mov ecx, dword [esp + 0x78]
movaps xmm0, xmmword [0x10113480]
mov ebx, dword [esp + 0x80]
movups xmmword [esp + 0x2c], xmm0
mov edi, dword [ecx]
inc edi
neg edi
sbb edi, edi
mov eax, dword [ecx]
cmp edi, 0xffffffff
jne 0x1006c7c0
mov esi, eax
jmp 0x1006c7cc
mov esi, dword [esp + edi*4 + 0x2c]
cmp esi, eax
je 0x1006c874
lea ecx, [esp + 0x14]
call fcn.10047530
cmp esi, 3
jne 0x1006c7e9
movss xmm2, dword [ebx + 0xc]
lea ecx, [esp + 0x3c]
movss xmm1, dword [ebx]
jmp 0x1006c82e
cmp esi, 1
jne 0x1006c7f8
movss xmm1, dword [ebx]
lea ecx, [esp + 0x44]
jmp 0x1006c824
test esi, esi
jne 0x1006c811
movss xmm1, dword [ebx + 8]
lea ecx, [esp + 0x4c]
subss xmm1, dword [ebp]
movss xmm2, dword [ebx + 0xc]
jmp 0x1006c82e
cmp esi, 2
jne 0x1006c840
movss xmm1, dword [ebx + 8]
lea ecx, [esp + 0x54]
subss xmm1, dword [ebp]
movss xmm2, dword [ebx + 4]
subss xmm2, dword [ebp + 4]
call fcn.1005cf60
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
push ebp
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
call fcn.1005d470
add esp, 4
lea ecx, [esp + 0x5c]
push eax
mov eax, edx
push eax
call fcn.1005d760
mov ecx, dword [esp + 0x7c]
push eax
call fcn.1005d8b0
test al, al
jne 0x1006c8f5
mov ecx, dword [esp + 0x78]
inc edi
cmp edi, 4
jl 0x1006c7b5
mov ebx, dword [esp + 0x7c]
mov dword [ecx], 0xffffffff
mov eax, dword [esp + 0x20]
movss xmm0, dword [ebp]
movss xmm1, dword [ebx + 8]
addss xmm0, dword [eax]
call fcn.10072380
subss xmm0, dword [ebp]
movss xmm1, dword [ebx]
call fcn.10072390
movss xmm1, dword [ebx + 0xc]
movaps xmm3, xmm0
movss xmm0, dword [ebp + 4]
addss xmm0, dword [eax + 4]
call fcn.10072380
subss xmm0, dword [ebp + 4]
movss xmm1, dword [ebx + 4]
call fcn.10072390
mov edx, dword [esp + 0x1c]
movss dword [edx], xmm3
movss dword [edx + 4], xmm0
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100bd374
add esp, 0x60
ret
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [edx], esi
mov edx, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, edx
mov dword [edx + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100bd374
add esp, 0x60
ret
cmp eax, 2
je 0x1006c92e
test eax, eax
jne 0x1006c9cb
mov edx, dword [esp + 0x78]
movaps xmm0, xmmword [0x10113460]
mov edi, dword [esp + 0x80]
movups xmmword [esp + 0x2c], xmm0
mov edx, dword [edx]
lea eax, [edx + 1]
neg eax
sbb eax, eax
nop
cmp eax, 0xffffffff
jne 0x1006c959
mov esi, edx
jmp 0x1006c961
mov esi, dword [esp + eax*4 + 0x2c]
cmp esi, edx
je 0x1006c9bd
lea ecx, [ebx + 8]
test esi, esi
jne 0x1006ca19
movss xmm0, dword [edi]
subss xmm0, dword [ebx]
movaps xmm2, xmm0
cmp esi, 2
jne 0x1006ca35
movss xmm1, dword [edi + 4]
movss xmm3, dword [ebx + 4]
movss xmm2, dword [ebp]
subss xmm1, xmm3
comiss xmm2, xmm0
jbe 0x1006c9a1
test esi, esi
je 0x1006c9bd
cmp esi, 1
je 0x1006c9bd
movss xmm0, dword [ebp + 4]
comiss xmm0, xmm1
jbe 0x1006ca50
cmp esi, 2
je 0x1006c9bd
cmp esi, 3
jne 0x1006ca50
inc eax
cmp eax, 4
jl 0x1006c950
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x84], 2
mov eax, dword [esp + 0x78]
mov dword [eax], 0xffffffff
jne 0x1006c888
movss xmm2, dword [0x10113018]
lea ecx, [esp + 0x24]
movaps xmm1, xmm2
call fcn.1005cf60
push eax
mov edx, edi
mov ecx, esi
call fcn.1005d470
mov ecx, dword [esp + 0x70]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100bd374
add esp, 0x60
ret
movss xmm0, dword [ecx]
cmp esi, 1
jne 0x1006c970
subss xmm0, dword [edi + 8]
movss xmm1, dword [ecx + 4]
jmp 0x1006c985
movss xmm1, dword [ecx + 4]
movaps xmm0, xmm2
cmp esi, 3
jne 0x1006c985
movss xmm3, dword [edi + 0xc]
jmp 0x1006c98a
lea ecx, [esp + 0x24]
call fcn.10047530
test esi, esi
jne 0x1006ca98
movss xmm0, dword [edi]
subss xmm0, dword [ebp]
movss xmm3, dword [esp + 0x18]
movss xmm1, dword [ebx]
call fcn.10072390
movss xmm1, dword [ebx + 4]
movaps xmm2, xmm0
movaps xmm0, xmm3
call fcn.10072390
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
mov dword [eax], esi
movss dword [edx], xmm2
jmp 0x1006c8db
cmp esi, 1
jne 0x1006caa4
movss xmm0, dword [edi + 8]
jmp 0x1006ca66
movss xmm0, dword [esp + 0x14]
cmp esi, 2
jne 0x1006cabb
movss xmm3, dword [edi + 4]
subss xmm3, dword [ebp + 4]
jmp 0x1006ca6c
cmp esi, 3
jne 0x1006ca66
movss xmm3, dword [edi + 0xc]
jmp 0x1006ca6c