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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1cc
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x20], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x1c], edi
mov ecx, dword [edi + 4]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x3c], edx
mov esi, dword [ecx]
test esi, esi
jle 0x15aec21
add ecx, 4
cmp dword [ecx], edx
je 0x15aed00
inc eax
add ecx, 4
cmp eax, esi
jl 0x15aec11
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edi, dword [edi + 0x1c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
mov eax, dword [eax + 0x14]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [esp + 0x30], eax
cmp edi, eax
jae 0x15aee3b
movsd xmm5, qword [0x13b4c00]
mov ecx, 0x100
movsd xmm4, qword [0x13b4c08]
nop dword [eax + eax]
cmp word [edi + 0x10], cx
jne 0x15aee26
mov ecx, ebx
mov eax, esi
not ecx
not eax
and ecx, dword [edi + 0x20]
and eax, dword [edi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x15aee21
mov edx, dword [edi + 0xc]
mov ecx, ebx
mov eax, dword [edx + 0x164]
and ecx, dword [edx + 0x160]
and eax, esi
or ecx, eax
je 0x15aee21
mov eax, dword [edx + 0x14]
xorps xmm0, xmm0
mov esi, dword [edx + 0x1c]
xorps xmm3, xmm3
movlpd qword [esp + 0x10], xmm0
xorps xmm2, xmm2
mov ecx, dword [esp + 0x10]
lea eax, [eax + eax*4]
movsd qword [esp + 0x40], xmm3
lea ebx, [esi + eax*8]
movsd qword [esp + 0x48], xmm2
mov eax, dword [esp + 0x14]
cmp esi, ebx
jae 0x15aedd2
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
mov edx, 0x200
cmp word [esi + 0x10], dx
jne 0x15aed1a
mov edx, dword [esi + 0xc]
jmp 0x15aed56
xor ebx, ebx
xor esi, esi
bts ebx, eax
cmp eax, 0x20
cmovae esi, ebx
xor ebx, esi
cmp eax, 0x40
cmovae esi, ebx
jmp 0x15aec32
mov edx, dword [esp + 0x3c]
cmp dword [esi + 8], edx
jne 0x15aedb7
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x78]
mov byte [esp + 0x88], 0x45
mov dword [esp + 0x94], esi
mov dword [esp + 0x8c], 1
mov eax, dword [ecx]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x50]
push eax
push ecx
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x2c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.015af8f0
movsd xmm3, qword [esp + 0x74]
add esp, 0x14
addsd xmm3, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x68]
addsd xmm2, qword [esp + 0x48]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
or ecx, dword [esp + 0x70]
or eax, dword [esp + 0x74]
comisd xmm3, xmmword [edx + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
movsd qword [esp + 0x40], xmm3
movsd qword [esp + 0x48], xmm2
jae 0x15aedc2
add esi, 0x28
cmp esi, ebx
jb 0x15aecf0
movsd xmm5, qword [0x13b4c00]
movsd xmm4, qword [0x13b4c08]
cmp dword [ebp + 0x14], 0
je 0x15aedfa
comisd xmm2, xmm4
movaps xmm0, xmm5
movaps xmm1, xmm4
jbe 0x15aedf2
mulsd xmm1, xmm4
addsd xmm0, xmm5
comisd xmm2, xmm1
ja 0x15aede4
mulsd xmm0, xmm2
addsd xmm3, xmm0
mov edx, dword [ebp + 0x18]
movsd xmm0, qword [edx + 0x10]
comisd xmm0, xmm3
jbe 0x15aee21
movsd qword [edx + 0x10], xmm3
movsd qword [edx + 0x18], xmm2
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
mov dword [edx], 0x10000000
mov dword [edx + 8], edi
mov ecx, 0x100
mov ebx, dword [esp + 0x28]
add edi, 0x28
mov esi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x30]
jb 0x15aec70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret