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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x84
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
mov esi, ecx
push edi
mov edi, eax
mov dword [esi + 0x340], 0
je 0x555a44
mov ax, word [ebx + 0x10]
mov ecx, dword [ebp + 0x14]
mov word [esi + 8], ax
mov eax, dword [ebp + 0x10]
push ecx
mov dword [esi + 4], ecx
push eax
mov ecx, 0x8d68e0
mov dword [esi], eax
call fcn.004013f0
movss xmm0, dword [eax + 0x40]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x80], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x84], edx
mov edx, dword [edi + 0xc]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 0x44]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x30]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0x48]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x34]
lea eax, [esi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
movss dword [esp + 0x38], xmm0
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
push 0x3f800000
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0xc]
push ebx
lea eax, [esp + 0x88]
push eax
mov ecx, eax
push ecx
push edx
or ecx, 0xffffffff
xor edx, edx
call fcn.00555a80
mov eax, dword [esi + 0x340]
test eax, eax
je 0x555a3f
lea ebx, [ebx]
mov edx, dword [esi + 0x340]
mov di, word [esi + 0x24]
lea ecx, [esi + 0x20]
dec edx
mov eax, edx
mov dword [ecx + 0x320], edx
mov edx, dword [ecx + eax*8]
mov dword [ecx], edx
mov eax, dword [ecx + eax*8 + 4]
mov dword [ecx + 4], eax
xor edx, edx
mov eax, ecx
call fcn.00555c10
movzx ecx, di
lea edx, [ecx + ecx*4]
shl edx, 4
mov eax, dword [edx + esi + 0x350]
lea edi, [edx + esi + 0x350]
mov dx, word [eax + 0x10]
cmp dx, word [esi + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], edi
je 0x555a4f
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x44]
xorps xmm6, xmm6
shr edx, 7
and edx, 1
movss dword [esp + 0x30], xmm6
movss dword [esp + 0x34], xmm6
movss dword [esp + 0x38], xmm6
mov dword [esp + 0x24], edx
je 0x555755
lea edx, [ecx + 0x20]
mov ebx, dword [edx]
mov dword [esp + 0x50], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x54], ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
add ecx, 0x30
mov dword [esp + 0x5c], edx
mov edx, dword [ecx]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 4]
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [esp + 0x50]
mov dword [esp + 0x44], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [esp + 0x54]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x60]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x58], ebx
subss xmm0, dword [esp + 0x58]
movss dword [esp + 0x68], xmm0
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x4c]
test cl, cl
mov dword [esp + 0x1c], 0
jbe 0x555a1b
jmp 0x555770
movsx edx, word [eax + 0x48]
movzx eax, word [esp + 0x1c]
mov ecx, dword [0x91a324]
add edx, eax
mov eax, dword [0x91a330]
lea edi, [ecx + edx*4]
xor ecx, ecx
mov cx, word [edi]
dec eax
mov dword [esp + 0x28], ecx
movzx ecx, cx
cmp ecx, eax
mov edx, ecx
cmovge edx, eax
test edx, edx
jge 0x5557a5
xor eax, eax
jmp 0x5557ab
cmp ecx, eax
jge 0x5557ab
mov eax, ecx
movzx eax, ax
lea edx, [eax + eax*4]
mov eax, dword [0x91a36c]
lea eax, [eax + edx*4]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x44]
test ebx, 0x60000000
jne 0x5559f7
mov ecx, ebx
shr ecx, 0xa
not ecx
test cl, 1
je 0x5559f7
test bl, 0x20
mov ecx, dword [ebp + 0x18]
movzx edx, byte [ecx + 0x14]
movss xmm3, dword [0x738b70]
movss xmm1, dword [0x7389e8]
cvtsi2ss xmm2, edx
mulss xmm2, xmm3
movaps xmm0, xmm1
subss xmm0, xmm2
movss dword [esp + 0x18], xmm0
je 0x55583b
mov al, byte [ecx + 0x15]
test al, al
je 0x5559f7
movzx eax, al
cvtsi2ss xmm4, eax
mulss xmm4, xmm3
movaps xmm2, xmm1
subss xmm2, xmm4
comiss xmm2, xmm0
ja 0x55583b
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm0
test bh, 2
je 0x555868
mov al, byte [ecx + 0x16]
test al, al
je 0x5559f7
movzx ecx, al
cvtsi2ss xmm2, ecx
mulss xmm2, xmm3
subss xmm1, xmm2
comiss xmm1, xmm0
ja 0x555868
movaps xmm0, xmm1
movss dword [esp + 0x18], xmm0
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x5559f7
mov cx, word [edi + 2]
mov eax, dword [0x91a320]
movzx ecx, cx
dec eax
cmp ecx, eax
mov edx, ecx
cmovge edx, eax
test edx, edx
jge 0x555891
xor eax, eax
jmp 0x555897
cmp ecx, eax
jge 0x555897
mov eax, ecx
mov ecx, dword [0x91a368]
movzx edi, ax
mov eax, dword [esp + 0x24]
shl edi, 4
add edi, ecx
test eax, eax
je 0x5558f4
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 4]
movss xmm2, dword [ecx + 0x14]
movss xmm0, dword [ecx + 0x18]
subss xmm0, dword [eax + 8]
movss xmm1, dword [ecx + 0x10]
subss xmm2, dword [eax + 4]
mulss xmm0, dword [esp + 0x38]
subss xmm1, dword [eax]
mulss xmm2, dword [esp + 0x34]
mulss xmm1, dword [esp + 0x30]
addss xmm0, xmm2
addss xmm0, xmm1
comiss xmm6, xmm0
jae 0x5559f7
test bl, bl
jns 0x5559cf
mov dx, word [esp + 0x28]
cmp dx, word [esi + 8]
jne 0x5559cf
mov eax, dword [edi + 4]
movss xmm3, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm5, dword [eax + 8]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
subss xmm4, dword [esi + 0x14]
subss xmm5, dword [esi + 0x18]
subss xmm3, dword [esi + 0x10]
lea edx, [eax + 0x20]
mov ebx, dword [edx]
mov dword [esp + 0x80], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x84], ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
add eax, 0x30
mov dword [esp + 0x8c], edx
mov edx, dword [eax]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 4]
movss xmm1, dword [esp + 0x70]
subss xmm1, dword [esp + 0x80]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 8]
movss xmm2, dword [esp + 0x74]
subss xmm2, dword [esp + 0x84]
mov eax, dword [eax + 0xc]
lea ecx, [esi + 0x10]
mov dword [esp + 0x78], edx
movss xmm0, dword [esp + 0x78]
mov dword [esp + 0x88], ebx
subss xmm0, dword [esp + 0x88]
mulss xmm0, xmm5
mulss xmm2, xmm4
addss xmm0, xmm2
mulss xmm1, xmm3
addss xmm0, xmm1
comiss xmm6, xmm0
mov dword [esp + 0x7c], eax
jb 0x5559cf
push ecx
mov ecx, edi
call fcn.0059cfa0
test eax, eax
je 0x5559f4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 8]
push ecx
push edx
mov edx, dword [edi + 4]
lea ecx, [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00555a80
xorps xmm6, xmm6
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
movzx dx, byte [eax + 0x4c]
inc ecx
cmp cx, dx
mov dword [esp + 0x1c], ecx
jb 0x555770
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov ecx, dword [eax + 4]
and dword [ecx + 0x44], 0x9fffffff
mov eax, dword [eax + 4]
or dword [eax + 0x44], 0x40000000
mov eax, dword [esi + 0x340]
test eax, eax
jne 0x555640
call fcn.00555b10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [ebp + 0x1c]
test eax, eax
mov dword [esi + 0xc], ecx
je 0x555a69
mov ecx, dword [ebp + 0x20]
push ecx
push eax
push esi
call fcn.00555b50
mov edx, dword [ebp + 0x24]
mov dword [edx], eax
call fcn.00555b10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x20