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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
xorps xmm0, xmm0
push ebx
mov ebx, ecx
comiss xmm0, dword [ebx + 0x1c]
jae 0x10013f2b
comiss xmm0, dword [ebx + 0x20]
jae 0x10013f2b
push esi
push edi
call fcn.100137cb
mov esi, eax
mov dword [ebp - 0x10], esi
mov ecx, dword [esi + 8]
mov edi, dword [esi]
mov dword [ebp - 0x14], edi
test ecx, ecx
je 0x1001391b
mov eax, dword [esi + 0x34]
cmp eax, dword [ebx + 0xc]
jge 0x10013960
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [esi + 8]
and dword [ecx], 0
jmp 0x1001391e
lea ecx, [esi + 8]
mov eax, dword [ebx + 0xc]
and dword [ebp - 0x28], 0
add eax, 0x1388
mov dword [esi + 0x34], eax
imul eax, eax, 0x14
push ecx
push 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], 2
push ecx
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
push edi
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0x10000
call dword [eax + 0x11c]
test eax, eax
js 0x10013f29
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10013979
mov eax, dword [esi + 0x38]
cmp eax, dword [ebx + 8]
jge 0x100139b8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi + 0xc], 0
mov eax, dword [ebx + 8]
and dword [ebp - 0x28], 0
add eax, 0x2710
push 2
pop ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
lea ecx, [esi + 0xc]
push ecx
mov dword [esi + 0x38], eax
lea ecx, [ebp - 0x38]
add eax, eax
mov dword [ebp - 0x2c], 0x10000
push 0
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x11c]
test eax, eax
js 0x10013f29
and dword [ebp - 8], 0
lea edx, [ebp - 8]
and dword [ebp - 0xc], 0
mov eax, dword [esi + 8]
push edx
push 0
push 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0xc]
push edx
push 0
push 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
and dword [ebp - 0x18], 0
cmp dword [ebx + 4], 0
jle 0x10013a3e
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + edi*4]
imul eax, dword [esi + 0x18], 0x14
push eax
push dword [esi + 0x20]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esi + 0xc]
add eax, eax
push eax
push dword [esi + 0x14]
push dword [ebp - 0xc]
call sub.msvcrt.dll_memcpy
imul eax, dword [esi + 0x18], 0x14
add esp, 0x18
mov edx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], edx
inc edi
mov ecx, dword [esi + 0xc]
lea eax, [eax + ecx*2]
mov dword [ebp - 0xc], eax
cmp edi, dword [ebx + 4]
jl 0x100139f2
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi + 0x18]
lea edx, [ebp - 4]
push edx
push 0
push 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x10013f29
movss xmm6, dword [ebx + 0x14]
movss xmm2, dword [0x100b7cd8]
movaps xmm3, xmm6
addss xmm3, dword [ebx + 0x1c]
movss xmm5, dword [ebx + 0x18]
movaps xmm0, xmm2
mov eax, dword [ebp - 4]
movaps xmm4, xmm5
addss xmm4, dword [ebx + 0x20]
movaps xmm1, xmm3
subss xmm1, xmm6
divss xmm0, xmm1
movss dword [eax], xmm0
movaps xmm0, xmm5
mov eax, dword [ebp - 4]
subss xmm0, xmm4
and dword [eax + 4], 0
mov eax, dword [ebp - 4]
divss xmm2, xmm0
and dword [eax + 8], 0
mov eax, dword [ebp - 4]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x10], 0
mov eax, dword [ebp - 4]
movaps xmm0, xmm3
movss dword [eax + 0x14], xmm2
addss xmm0, xmm6
mov eax, dword [ebp - 4]
subss xmm6, xmm3
and dword [eax + 0x18], 0
mov eax, dword [ebp - 4]
divss xmm0, xmm6
and dword [eax + 0x1c], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x20], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x24], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0x3f000000
mov eax, dword [ebp - 4]
and dword [eax + 0x2c], 0
mov eax, dword [ebp - 4]
movss dword [eax + 0x30], xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
mov eax, dword [ebp - 4]
subss xmm4, xmm5
divss xmm0, xmm4
movss dword [eax + 0x34], xmm0
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], 0x3f000000
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], 0x3f800000
mov eax, dword [esi + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0x2dc
xor esi, esi
lea eax, [ebp - 0x31c]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x31c]
push 0x10
pop eax
push ecx
mov dword [ebp - 0x320], eax
lea ecx, [ebp - 0x324]
mov dword [ebp - 0x324], eax
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0xf8]
mov eax, dword [edi]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x320]
push ecx
push edi
call dword [eax + 0xf4]
mov eax, dword [edi]
lea ecx, [ebp - 0x9c]
push ecx
push edi
call dword [eax + 0xf0]
mov eax, dword [edi]
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x98]
push ecx
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push edi
call dword [eax + 0xe8]
mov eax, dword [edi]
lea ecx, [ebp - 0x78]
push ecx
push 1
push esi
push edi
call dword [eax + 0xa0]
mov eax, dword [edi]
lea ecx, [ebp - 0x74]
push ecx
push 1
push esi
push edi
call dword [eax + 0xa8]
mov eax, dword [edi]
lea ecx, [ebp - 0x70]
push ecx
push edi
call dword [eax + 0xa4]
mov eax, dword [edi]
lea ecx, [ebp - 0x6c]
push ecx
push edi
call dword [eax + 0xac]
mov eax, dword [edi]
lea ecx, [ebp - 0x58]
push ecx
push 1
push esi
push edi
call dword [eax + 0x9c]
mov eax, dword [edi]
lea ecx, [ebp - 0x68]
push ecx
push edi
call dword [eax + 0xc4]
mov eax, dword [edi]
lea ecx, [ebp - 0x64]
push ecx
push edi
call dword [eax + 0xc8]
mov eax, dword [edi]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push edi
call dword [eax + 0xbc]
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push 1
push esi
push edi
call dword [eax + 0xb8]
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
push edi
call dword [eax + 0xb4]
mov edx, edi
mov ecx, ebx
call fcn.100137db
movss xmm0, dword [ebx + 0x14]
xor ecx, ecx
mov edx, esi
movss xmm4, dword [ebx + 0x18]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], esi
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 4], xmm4
mov dword [ebp - 0x18], ecx
cmp dword [ebx + 4], ecx
jle 0x10013db7
mov eax, dword [ebx + 0x10]
and dword [ebp - 0x3c], 0
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0
jle 0x10013d9e
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov esi, dword [eax + 8]
add esi, ecx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x10013cf0
cmp ecx, 0xffffffff
jne 0x10013ce5
mov edx, edi
mov ecx, ebx
call fcn.100137db
jmp 0x10013d70
push esi
push eax
call ecx
pop ecx
pop ecx
jmp 0x10013d70
movss xmm3, dword [esi]
movss xmm2, dword [esi + 8]
subss xmm3, xmm0
movss xmm1, dword [esi + 4]
subss xmm2, xmm0
movss xmm0, dword [esi + 0xc]
subss xmm1, xmm4
subss xmm0, xmm4
comiss xmm3, xmm2
jae 0x10013d78
comiss xmm1, xmm0
jae 0x10013d78
cvttss2si eax, xmm3
lea ecx, [ebp - 0x34]
push ecx
push 1
push edi
mov dword [ebp - 0x34], eax
cvttss2si eax, xmm1
mov dword [ebp - 0x30], eax
cvttss2si eax, xmm2
mov dword [ebp - 0x2c], eax
cvttss2si eax, xmm0
mov dword [ebp - 0x28], eax
mov eax, dword [edi]
call dword [eax + 0x7c]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x40]
push ecx
push 1
mov dword [ebp - 0x40], eax
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x10]
mov eax, dword [esi + 0x18]
add eax, dword [ebp - 0x24]
mov ecx, dword [edi]
push eax
mov eax, dword [esi + 0x1c]
add eax, dword [ebp - 0x20]
push eax
push dword [esi + 0x20]
push edi
call dword [ecx + 0x20]
movss xmm4, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
inc esi
movss xmm0, dword [ebp - 0x14]
add ecx, 0x30
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x10], ecx
cmp esi, dword [eax]
jl 0x10013cc6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
add esi, dword [eax + 0xc]
add edx, dword [eax + 0x18]
inc ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebx + 4]
jl 0x10013cab
mov eax, dword [edi]
lea ecx, [ebp - 0x31c]
push ecx
push dword [ebp - 0x324]
push edi
call dword [eax + 0x7c]
mov eax, dword [edi]
lea ecx, [ebp - 0x21c]
push ecx
push dword [ebp - 0x320]
push edi
call dword [eax + 0x78]
push dword [ebp - 0x9c]
mov eax, dword [edi]
push edi
call dword [eax + 0x74]
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x10013df9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x84]
mov eax, dword [edi]
lea ecx, [ebp - 0x94]
push ecx
push dword [ebp - 0x98]
push edi
call dword [eax + 0x64]
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x10013e22
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x80]
mov eax, dword [edi]
push dword [ebp - 0x7c]
push edi
call dword [eax + 0x68]
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x10013e3b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x78]
push ecx
xor esi, esi
xor ebx, ebx
inc esi
push esi
push ebx
push edi
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x10013e59
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x74]
push ecx
push esi
push ebx
push edi
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x10013e72
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x70]
mov eax, dword [edi]
push edi
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x10013e88
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x6c]
mov eax, dword [edi]
push edi
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x10013e9e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x68]
mov eax, dword [edi]
push edi
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x10013eb4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x58]
push ecx
push esi
push ebx
push edi
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x10013ecd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x64]
mov eax, dword [edi]
push edi
call dword [eax + 0x48]
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x48]
push dword [ebp - 0x60]
push edi
call dword [eax + 0x34]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x10013ef2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push esi
push ebx
push edi
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x10013f13
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x44]
mov eax, dword [edi]
push edi
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x10013f29
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
pop edi
pop esi
pop ebx
leave
ret